CVE-2026-74499

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
06/11/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ALSA: usb-audio: fix OOB write in snd_usbmidi_akai_output()<br /> <br /> snd_usbmidi_akai_output() computes its fill-loop bound<br /> <br /> buf_end = ep-&gt;max_transfer - MAX_AKAI_SYSEX_LEN - 1;<br /> <br /> as a signed int, so a small device-advertised bulk-OUT max_transfer<br /> makes buf_end negative. The loop guard then compares the u32<br /> urb-&gt;transfer_buffer_length against that negative int: the usual<br /> arithmetic conversion turns buf_end into a large unsigned value, so the<br /> guard stays true and each iteration keeps appending SysEx framing and<br /> payload bytes past the end of the URB transfer buffer, which is only<br /> max_transfer bytes long.<br /> <br /> A USB device that advertises a tiny bulk-OUT endpoint can therefore<br /> trigger an attacker-length- and content-controlled heap out-of-bounds<br /> write when a process writes to the created /dev/snd/midiC*D* node.<br /> <br /> Return early when there is no room for even one SysEx, so the loop is<br /> never entered with a bound that would wrap. The loop is the last<br /> statement of the function, so bailing out is equivalent to it not<br /> running.<br /> <br /> Discovered by XBOW, triaged by Baul Lee

Impact