# CVE-2022-49772: ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()

Status: published. Published: 2025-05-01. Updated: 2026-11-05.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd; < c43991065f36f7628cd124e037b8750c4617a7a7 (affected, git); ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd; < e7dc436aea80308a9268e6d2d85f910ff107de9b (affected, git); ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd; < a80369c8ca50bc885d14386087a834659ec54a54 (affected, git); ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd; < 02b94885b2fdf1808b1874e009bfb90753f8f4db (affected, git); ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd; < 00f5f1bbf815a39e9eecb468d12ca55d3360eb10 (affected, git); ≥ 738d9edcfd44f154924692e54109fb439fcf8bdd; < ad72c3c3f6eb81d2cb189ec71e888316adada5df (affected, git). Source: CNA: Linux
- Linux / Linux: 4.15 (affected); ≥ 0; < 4.15 (unaffected, semver); ≥ 4.19.267; ≤ 4.19.* (unaffected, semver); ≥ 5.4.225; ≤ 5.4.* (unaffected, semver); ≥ 5.10.156; ≤ 5.10.* (unaffected, semver); ≥ 5.15.80; ≤ 5.15.* (unaffected, semver); ≥ 6.0.10; ≤ 6.0.* (unaffected, semver); ≥ 6.1; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.20% as of 2026-11-05; percentile 10.29%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/c43991065f36f7628cd124e037b8750c4617a7a7 (CNA: Linux)

- https://git.kernel.org/stable/c/e7dc436aea80308a9268e6d2d85f910ff107de9b (CNA: Linux)

- https://git.kernel.org/stable/c/a80369c8ca50bc885d14386087a834659ec54a54 (CNA: Linux)

- https://git.kernel.org/stable/c/02b94885b2fdf1808b1874e009bfb90753f8f4db (CNA: Linux)

- https://git.kernel.org/stable/c/00f5f1bbf815a39e9eecb468d12ca55d3360eb10 (CNA: Linux)

- https://git.kernel.org/stable/c/ad72c3c3f6eb81d2cb189ec71e888316adada5df (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2022-49772; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2022-49772; retrieved 2026-11-05; source updated Not reported

Revision: e52aa6ab6266efbe4ead023131b9259ebd2c46d164873ad5f23f765571b37aca

Canonical: https://y2.dev/cve/CVE-2022-49772

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.