CVEvulnerability

CVE-2022-49772

5.5 MEDIUM Published 2025-05-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-05-01
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Affected configurations

• linux linux kernel (< 4.9.334) • linux linux kernel (>= 4.10 < 4.14.300) • linux linux kernel (>= 4.15 < 4.19.267) • linux linux kernel (>= 4.20 < 5.4.225) • linux linux kernel (>= 5.5 < 5.10.156) • linux linux kernel (>= 5.11 < 5.15.80) • linux linux kernel (>= 5.16 < 6.0.10) • linux linux kernel 6.1

References