CVE-2022-49772
ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 738d9edcfd44f154924692e54109fb439fcf8bdd – < c43991065f36f7628cd124e037b8750c4617a7a7
- affected 738d9edcfd44f154924692e54109fb439fcf8bdd – < e7dc436aea80308a9268e6d2d85f910ff107de9b
- affected 738d9edcfd44f154924692e54109fb439fcf8bdd – < a80369c8ca50bc885d14386087a834659ec54a54
- affected 738d9edcfd44f154924692e54109fb439fcf8bdd – < 02b94885b2fdf1808b1874e009bfb90753f8f4db
- affected 738d9edcfd44f154924692e54109fb439fcf8bdd – < 00f5f1bbf815a39e9eecb468d12ca55d3360eb10
- affected 738d9edcfd44f154924692e54109fb439fcf8bdd – < ad72c3c3f6eb81d2cb189ec71e888316adada5df
- affected 4.15
- unaffected < 4.15
- unaffected 4.19.267 – ≤ 4.19.*
- unaffected 5.4.225 – ≤ 5.4.*
- unaffected 5.10.156 – ≤ 5.10.*
- unaffected 5.15.80 – ≤ 5.15.*
- unaffected 6.0.10 – ≤ 6.0.*
- unaffected 6.1 – ≤ *
References (6)
- https://git.kernel.org/stable/c/c43991065f36f7628cd124e037b8750c4617a7a7 (opens in a new tab)
- https://git.kernel.org/stable/c/e7dc436aea80308a9268e6d2d85f910ff107de9b (opens in a new tab)
- https://git.kernel.org/stable/c/a80369c8ca50bc885d14386087a834659ec54a54 (opens in a new tab)
- https://git.kernel.org/stable/c/02b94885b2fdf1808b1874e009bfb90753f8f4db (opens in a new tab)
- https://git.kernel.org/stable/c/00f5f1bbf815a39e9eecb468d12ca55d3360eb10 (opens in a new tab)
- https://git.kernel.org/stable/c/ad72c3c3f6eb81d2cb189ec71e888316adada5df (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-49772)Record last updated .