CVE-2022-49772

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49772
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49772.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49772
Downstream
Related
Published
2025-05-01T15:16:00Z
Modified
2025-08-09T20:01:25Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

ALSA: usb-audio: Drop sndBUGON() from sndusbmidioutput_open()

sndusbmidioutputopen() has a check of the NULL port with sndBUGON(). sndBUGON() 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 sndBUG_ON() should be dropped from there. Otherwise it's confusing as if it were a real bug, as recently syzbot stumbled on it.

References

Affected packages