CVE-2022-49772
ALSA USB Audio NULL Pointer Dereference
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.
INFO
Published Date :
May 1, 2025, 3:16 p.m.
Last Modified :
May 2, 2025, 1:53 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-49772
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-49772
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-49772
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 01, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/00f5f1bbf815a39e9eecb468d12ca55d3360eb10 Added Reference https://git.kernel.org/stable/c/02b94885b2fdf1808b1874e009bfb90753f8f4db Added Reference https://git.kernel.org/stable/c/368a01e5064c13946d032ab1d65ba95020a39cc5 Added Reference https://git.kernel.org/stable/c/872c9314769e89d8bda74ff3ac584756a45ee752 Added Reference https://git.kernel.org/stable/c/a80369c8ca50bc885d14386087a834659ec54a54 Added Reference https://git.kernel.org/stable/c/ad72c3c3f6eb81d2cb189ec71e888316adada5df Added Reference https://git.kernel.org/stable/c/c43991065f36f7628cd124e037b8750c4617a7a7 Added Reference https://git.kernel.org/stable/c/e7dc436aea80308a9268e6d2d85f910ff107de9b
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-49772
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-49772
weaknesses.