CVE-2022-49772
Last modified
CVE-2022-49772 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| 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 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49772?
How severe is CVE-2022-49772?
How do I fix CVE-2022-49772?
Are you affected by CVE-2022-49772?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
