CVE-2022-49772

ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()

published May 1, 2025

CVSS
—
EPSS
0%
Percentile
9.7
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()

snd_usbmidi_output_open() has a check of the NULL port with

snd_BUG_ON(). snd_BUG_ON() was used as this shouldn't have happened,

but in reality, the NULL port may be seen when the device gives an

invalid endpoint setup at the descriptor, hence the driver skips the

allocation. That is, the check itself is valid and snd_BUG_ON()

should be dropped from there. Otherwise it's confusing as if it were

a real bug, as recently syzbot stumbled on it.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00202 · 9.7th percentile
Published
2025-05-01T14:09Z
EPSS history
Timeline
  • 01 MAY 14:09Z
    ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
    cvelistv5