CVE-2022-49772 Details
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.
A vulnerability in the Linux kernel's ALSA USB audio subsystem has been addressed. The issue arose in the 'snd_usbmidi_output_open()' function, which improperly used 'snd_BUG_ON()' to check for a NULL port. While this check was intended to catch a potential bug, it created confusion by suggesting a real error, especially after a recent encounter with 'syzbot'. The NULL port can occur when a device provides an invalid endpoint setup in the descriptor, leading the driver to skip allocation. The vulnerability has been resolved by removing the misleading 'snd_BUG_ON()' usage.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/00f5f1bbf815a39e9eecb468d12ca55d3360eb10 | kernel.org | Patch |
| https://git.kernel.org/stable/c/02b94885b2fdf1808b1874e009bfb90753f8f4db | kernel.org | Patch |
| https://git.kernel.org/stable/c/a80369c8ca50bc885d14386087a834659ec54a54 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ad72c3c3f6eb81d2cb189ec71e888316adada5df | kernel.org | Patch |
| https://git.kernel.org/stable/c/c43991065f36f7628cd124e037b8750c4617a7a7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e7dc436aea80308a9268e6d2d85f910ff107de9b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 4.9.334 >= 4.10, < 4.14.300 >= 4.15, < 4.19.267 >= 4.20, < 5.4.225 >= 5.5, < 5.10.156 >= 5.11, < 5.15.80 >= 5.16, < 6.0.10 6.1 rc1 6.1 rc2 6.1 rc3 6.1 rc4 6.1 rc5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 23, 2025 | CVE Modified | kernel.org |
| Nov 7, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |