CVE-2024-56533: ALSA: usx2y: Use snd_card_free_when_closed() at disconnection
In the Linux kernel, the following vulnerability has been resolved:
ALSA: usx2y: Use sndcardfreewhenclosed() at disconnection
The USB disconnect callback is supposed to be short and not too-long waiting. OTOH, the current code uses sndcardfree() 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 sndcardfree() with sndcardfreewhenclosed(). This variant returns immediately while the release of resources is done asynchronously by the card device release at the last close.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56533?
The severity of CVE-2024-56533 is currently classified as moderate.
How do I fix CVE-2024-56533?
To fix CVE-2024-56533, upgrade to Linux kernel versions 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.15-1.
Which versions of Linux are affected by CVE-2024-56533?
CVE-2024-56533 affects Linux kernel versions up to 5.10.226-1.
Is CVE-2024-56533 exploitable?
Yes, CVE-2024-56533 is exploitable under certain conditions related to USB device disconnection.
What component of Linux does CVE-2024-56533 affect?
CVE-2024-56533 affects the ALSA (Advanced Linux Sound Architecture) subsystem within the Linux kernel.