U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-49772 Detail

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

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Hyperlink Resource
https://git.kernel.org/stable/c/00f5f1bbf815a39e9eecb468d12ca55d3360eb10
https://git.kernel.org/stable/c/02b94885b2fdf1808b1874e009bfb90753f8f4db
https://git.kernel.org/stable/c/368a01e5064c13946d032ab1d65ba95020a39cc5
https://git.kernel.org/stable/c/872c9314769e89d8bda74ff3ac584756a45ee752
https://git.kernel.org/stable/c/a80369c8ca50bc885d14386087a834659ec54a54
https://git.kernel.org/stable/c/ad72c3c3f6eb81d2cb189ec71e888316adada5df
https://git.kernel.org/stable/c/c43991065f36f7628cd124e037b8750c4617a7a7
https://git.kernel.org/stable/c/e7dc436aea80308a9268e6d2d85f910ff107de9b

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-49772
NVD Published Date:
05/01/2025
NVD Last Modified:
05/02/2025
Source:
kernel.org