All reports
Medium

kernel: ALSA: usb-audio: Bound MIDI endpoint descriptor scans

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-52963

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-21

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Bound MIDI endpoint descriptor scans snd_usbmidi_get_ms_info() validates the internal MIDIStreaming endpoint descriptor size before using baAssocJackID[], but the descriptor walker can still return a class-specific endpoint descriptor whose bLength exceeds the remaining bytes in the endpoint-extra scan. That leaves later flexible-array reads bounded by bLength, but not by the remaining bytes in the endpoint-extra scan. Stop walking when bLength is zero or extends past the remaining endpoint-extra scan.

A flaw was found in the Linux kernel's Advanced Linux Sound Architecture (ALSA) USB audio driver. The driver's handling of MIDI (Musical Instrument Digital Interface) endpoint descriptors did not properly bound scans, allowing it to read beyond the intended memory buffer. This out-of-bounds read could potentially lead to information disclosure or cause system instability.