Linux · Linux Kernel · CVE-2024-38600
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The issue is related to a deadlock in the ALSA component of the Linux kernel, specifically in the `snd card disconnect()` function. This occurs when a process waits for power up at `snd power ref and wait()` in `snd ctl info()` or read/write() inside `card->controls rwsem`, and the system gets disconnected meanwhile, causing the driver to try to delete a kctl via `snd ctl remove*()`. The fix involves waking up sleepers before processing the driver disconnect callbacks but right after setting the `card->shutdown` flag. This change allows the code to flow again without deadlocks.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.