CVE-2022-49772

published 1 May 2025 · updated 7 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.9.334, Kernel 4.14.300, Kernel 4.19.267 and 10 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel<4.9.334, >=4.10 <4.14.300, >=4.15 <4.19.267, >=4.20 <5.4.225, >=5.11 <5.15.80, >=5.16 <6.0.10, >=5.5 <5.10.156, =6.1, >=738d9edcfd44f154924692e54109fb439fcf8bdd <02b94885b2fdf1808b1874e009bfb90753f8f4db, >=738d9edcfd44f154924692e54109fb439fcf8bdd <a80369c8ca50bc885d14386087a834659ec54a54, >=738d9edcfd44f154924692e54109fb439fcf8bdd <ad72c3c3f6eb81d2cb189ec71e888316adada5df, >=738d9edcfd44f154924692e54109fb439fcf8bdd <c43991065f36f7628cd124e037b8750c4617a7a7, >=738d9edcfd44f154924692e54109fb439fcf8bdd <e7dc436aea80308a9268e6d2d85f910ff107de9b, =4.15, >=738d9edcfd44f154924692e54109fb439fcf8bdd <00f5f1bbf815a39e9eecb468d12ca55d3360eb104.9.334, 4.14.300, 4.19.267, 5.4.225, 5.15.80, 6.0.10, 5.10.156, 02b94885b2fdf1808b1874e009bfb90753f8f4db, a80369c8ca50bc885d14386087a834659ec54a54, ad72c3c3f6eb81d2cb189ec71e888316adada5df, c43991065f36f7628cd124e037b8750c4617a7a7, e7dc436aea80308a9268e6d2d85f910ff107de9b, 00f5f1bbf815a39e9eecb468d12ca55d3360eb10
linux-kernel: Kernel>=4.15.0 <4.19.267, >=4.20.0 <5.4.225, >=5.11.0 <5.15.80, >=5.16.0 <6.0.10, >=5.5.0 <5.10.1564.19.267, 5.4.225, 5.15.80, 6.0.10, 5.10.156

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49772 severity on Zeptric[![CVE-2022-49772](https://zeptric.io/badge/cve/CVE-2022-49772.svg)](https://zeptric.io/cve/CVE-2022-49772)