CVE-2022-49772: ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
Vulnerability summary
CVE-2022-49772 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 7Timeline
- 01-05-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.19% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Ubuntu114 products
- linuxAll versions (No fix recorded) | < 4.15.0-206.217 | < 5.4.0-144.161 | < 5.15.0-67.74
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1151.164 | < 5.4.0-1097.105 | < 5.15.0-1031.35
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 738d9edcfd44f154924692e54109fb439fcf8bdd, < c43991065f36f7628cd124e037b8750c4617a7a7 | ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd, < e7dc436aea80308a9268e6d2d85f910ff107de9b | ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd, < a80369c8ca50bc885d14386087a834659ec54a54 | ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd, < 02b94885b2fdf1808b1874e009bfb90753f8f4db | ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd, < 00f5f1bbf815a39e9eecb468d12ca55d3360eb10 | ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd, < ad72c3c3f6eb81d2cb189ec71e888316adada5df | 4.15
- 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
Debian1 product
- linux< 6.0.10-1
3 vendors · 117 products