Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-49772

medium

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…

Vendor / product: Linux — linux kernel

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
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-05-01 15:16
Modified: 2026-11-05 20:17
NVD status: Modified
Last synced 1 week ago
Verified against the source API 2026-11-05 20:22 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

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

Weakness classification (CWE)

NVD-CWE-noinfo

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/00f5f1bbf815a39e9eecb468d12ca55d3360eb10
Patch / mitigation: https://git.kernel.org/stable/c/02b94885b2fdf1808b1874e009bfb90753f8f4db
Patch / mitigation: https://git.kernel.org/stable/c/a80369c8ca50bc885d14386087a834659ec54a54
Patch / mitigation: https://git.kernel.org/stable/c/ad72c3c3f6eb81d2cb189ec71e888316adada5df
Patch / mitigation: https://git.kernel.org/stable/c/c43991065f36f7628cd124e037b8750c4617a7a7
Patch / mitigation: https://git.kernel.org/stable/c/e7dc436aea80308a9268e6d2d85f910ff107de9b

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 20:22 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs