CVE-2024-56531CWE-667

CVE-2024-56531

High · published December 27, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
12.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00224 · 12.3th percentile
Weakness
CWE-667 · Improper Locking
Published
2024-12-27T19:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.22, < 4.19.3254.19.325
linux/linux_kernel≥ 4.20, < 5.4.2875.4.287
linux/linux_kernel≥ 5.5, < 5.10.2315.10.231
linux/linux_kernel≥ 5.11, < 5.15.1745.15.174
linux/linux_kernel≥ 5.16, < 6.1.1206.1.120
linux/linux_kernel≥ 6.2, < 6.6.646.6.64
linux/linux_kernel≥ 6.7, < 6.11.116.11.11
linux/linux_kernel≥ 6.12, < 6.12.26.12.2
References (11)
EPSS history
Timeline
  • 27 DEC 14:11Z
    ALSA: caiaq: Use snd_card_free_when_closed() at disconnection
    cvelistv5