CVE-2024-56531

ALSA: caiaq: Use snd_card_free_when_closed() at disconnection

MEDIUM
5.5
CVSS Score
Published: December 27, 2024 at 02:11 PM UTC
Updated: August 5, 2026 at 12:05 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: 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. This patch also splits the code to the disconnect and the free phases; the former is called immediately at the USB disconnect callback while the latter is called from the card destructor.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.22 ≤ v < 4.19.3252.6.22 ≤ v < 5.10.2312.6.22 ≤ v < 5.15.1742.6.22 ≤ v < 5.4.2872.6.22 ≤ v < 6.1.1202.6.22 ≤ v < 6.11.112.6.22 ≤ v < 6.12.22.6.22 ≤ v < 6.132.6.22 ≤ v < 6.6.644.20 ≤ v < 5.4.2875.11 ≤ v < 5.15.1745.16 ≤ v < 6.1.1205.5 ≤ v < 5.10.2316.12 ≤ v < 6.12.26.2 ≤ v < 6.6.646.7 ≤ v < 6.11.112.6.22523f1dce37434a9a6623bf46e7893e2b4b10ac3c
Vendor states this is fixed in 237f3faf0177bdde728fa3106d730d806436aa4d (fixed)
Vendor states this is fixed in 3993edf44d3df7b6e8c753eac6ac8783473fcbab (fixed)
Vendor states this is fixed in 4507a8b9b30344c5ddd8219945f446d47e966a6d (fixed)
Vendor states this is fixed in 4dd821dcbfcecf7af6a08370b0b217cde2818acf (fixed)
Vendor states this is fixed in a3f9314752dbb6f6aa1f0f2b4c58243bda800738 (fixed)
Vendor states this is fixed in b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c (fixed)
Vendor states this is fixed in cadf1d8e9ddcd74584ec961aeac14ac549b261d8 (fixed)
Vendor states this is fixed in dd0de8cb708951cebf727aa045e8242ba651bb52 (fixed)
Vendor states this is fixed in ebad462eec93b0f701dfe4de98990e7355283801 (fixed)
Vendor states this is fixed in 2.6.22 (unaffected)
Vendor states this is fixed in 4.19.325 (unaffected)
Vendor states this is fixed in 5.10.231 (unaffected)
Vendor states this is fixed in 5.15.174 (unaffected)
Vendor states this is fixed in 5.4.287 (unaffected)
Vendor states this is fixed in 6.1.120 (unaffected)
Vendor states this is fixed in 6.11.11 (unaffected)
Vendor states this is fixed in 6.12.2 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.64 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/237f3faf0177bdde728fa3106d730d806436aa4d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3993edf44d3df7b6e8c753eac6ac8783473fcbab
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4507a8b9b30344c5ddd8219945f446d47e966a6d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4dd821dcbfcecf7af6a08370b0b217cde2818acf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a3f9314752dbb6f6aa1f0f2b4c58243bda800738
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cadf1d8e9ddcd74584ec961aeac14ac549b261d8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dd0de8cb708951cebf727aa045e8242ba651bb52

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card