CVE-2024-56532
Alsa us122l Soft Lockup Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: us122l: Use snd_card_free_when_closed() at disconnection The USB disconnect callback is supposed to be short and not too-long waiting. OTOH, the current code uses snd_card_free() at disconnection, but this waits for the close of all used fds, hence it can take long. It eventually blocks the upper layer USB ioctls, which may trigger a soft lockup. An easy workaround is to replace snd_card_free() with snd_card_free_when_closed(). This variant returns immediately while the release of resources is done asynchronously by the card device release at the last close. The loop of us122l->mmap_count check is dropped as well. The check is useless for the asynchronous operation with *_when_closed().
INFO
Published Date :
Dec. 27, 2024, 2:15 p.m.
Last Modified :
Dec. 27, 2024, 2:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the affected packages.
- Update the affected kernel package.
Public PoC/Exploit Available at Github
CVE-2024-56532 has a 1 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2024-56532
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-56532
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-2024-56532
weaknesses.
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).
None
JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-56532
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-56532
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
Dec. 27, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ALSA: us122l: Use snd_card_free_when_closed() at disconnection The USB disconnect callback is supposed to be short and not too-long waiting. OTOH, the current code uses snd_card_free() at disconnection, but this waits for the close of all used fds, hence it can take long. It eventually blocks the upper layer USB ioctls, which may trigger a soft lockup. An easy workaround is to replace snd_card_free() with snd_card_free_when_closed(). This variant returns immediately while the release of resources is done asynchronously by the card device release at the last close. The loop of us122l->mmap_count check is dropped as well. The check is useless for the asynchronous operation with *_when_closed(). Added Reference https://git.kernel.org/stable/c/020cbc4d7414f0962004213e2b7bc5cc607e9ec7 Added Reference https://git.kernel.org/stable/c/2938dd2648522336133c151dd67bb9bf01cbd390 Added Reference https://git.kernel.org/stable/c/75f418b249d84021865eaa59515d3ed9b75ce4d6 Added Reference https://git.kernel.org/stable/c/9a48bd2184b142c92a4e17eac074c61fcf975bc9 Added Reference https://git.kernel.org/stable/c/9b27924dc8d7f8a8c35e521287d4ccb9a006e597 Added Reference https://git.kernel.org/stable/c/9d5c530e4d70f64b1114f2cc29ac690ba7ac4a38 Added Reference https://git.kernel.org/stable/c/b7df09bb348016943f56b09dcaafe221e3f73947 Added Reference https://git.kernel.org/stable/c/bc778ad3e495333eebda36fe91d5b2c93109cc16 Added Reference https://git.kernel.org/stable/c/bf0aa35a7cb8602cccf2387712114e836f65c154