PT-2024-36834 · Linux+7 · Linux Kernel+7
Published
2024-12-27
·
Updated
2025-10-03
·
CVE-2024-56531
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A vulnerability in the Linux kernel has been resolved, specifically in the ALSA: caiaq section. The issue occurred during USB disconnection, where the current code used
snd card free() at disconnection, causing a potential soft lockup due to waiting for the close of all used file descriptors. The USB disconnect callback is supposed to be short and not too-long waiting, but the use of snd card free() could take long and block upper layer USB ioctls. An easy workaround is to replace snd card free() with snd card free when closed(), which returns immediately while the release of resources is done asynchronously by the card device release at the last close.Recommendations
As a temporary workaround, consider replacing
snd card free() with snd card free when closed() to prevent soft lockups during USB disconnection.
Apply the patch that splits the code to the disconnect and the free phases, allowing the former to be called immediately at the USB disconnect callback while the latter is called from the card destructor.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu