VYPR
Unrated severityNVD Advisory· Published May 1, 2025· Updated Dec 23, 2025

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

CVE-2022-49772

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

136

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.