ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b9d43bcd061956c8144bcb453d07d13236b6ab28 · < 98e8e67395cc6d0cdf3a771f86ea42d0ee6e59dd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
There may be a bad USB audio device with a USB ID of (0x04fa, 0x4201) and the number of it's interfaces less than 4, an out-of-bounds read bug occurs when parsing the interface descriptor for this device.
Fix this by checking the number of interfaces.
From the CVE record · Linux
The Linux kernel’s ALSA USB audio driver can read out of bounds while parsing an interface descriptor. This occurs when a USB audio device has ID 0x04fa:0x4201 and fewer than four interfaces; the device must be connected and parsed.
Engineers running Linux kernels with ALSA USB audio support should check whether their kernel includes the fix; affected versions are not specified.