CVE-2024-38600
ALSA: Fix deadlocks with kctl removals at disconnection
Mitigation
- Upgrade Linux to 87988a534d8e12f2e6fc01fe63e6c1925dc5307c or later.
Who should check
- Anyone running Linux >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < ff80185e7b7b547a0911fcfc8aefc61c3e8304d7; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < c2fb439f4f1425a961d20bec818fed2c2d9ef70a; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 2f103287ef7960854808930499d1181bd0145d68; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 88ce3fe255d58a93624b467af036dc3519f309c7; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 6b55e879e7bd023a03888fc6c8339edf82f576f4; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 87988a534d8e12f2e6fc01fe63e6c1925dc5307c
- Anyone running Linux 5.14
Vulnerability facts
- Affected
- Linux >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < ff80185e7b7b547a0911fcfc8aefc61c3e8304d7; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < c2fb439f4f1425a961d20bec818fed2c2d9ef70a; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 2f103287ef7960854808930499d1181bd0145d68; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 88ce3fe255d58a93624b467af036dc3519f309c7; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 6b55e879e7bd023a03888fc6c8339edf82f576f4; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 87988a534d8e12f2e6fc01fe63e6c1925dc5307c; Linux 5.14
- Fixed in
- Linux 2f103287ef7960854808930499d1181bd0145d68, Linux 88ce3fe255d58a93624b467af036dc3519f309c7, Linux 6b55e879e7bd023a03888fc6c8339edf82f576f4, Linux 87988a534d8e12f2e6fc01fe63e6c1925dc5307c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-667
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: Fix deadlocks with kctl removals at disconnection In snd_card_disconnect(), we set card->shutdown flag at the beginning, call callbacks and do sync for card->power_ref_sleep waiters at the end. The callback may delete a kctl element, and this can lead to a deadlock when the device was in the suspended state. Namely: * A process waits for the power up at snd_power_ref_and_wait() in snd_ctl_info() or read/write() inside card->controls_rwsem. * The system gets disconnected meanwhile, and the driver tries to delete a kctl via snd_ctl_remove*(); it tries to take card->controls_rwsem again, but this is already locked by the above. Since the sleeper isn't woken up, this deadlocks. An easy fix is to wake up sleepers before processing the driver disconnect callbacks but right after setting the card->shutdown flag. Then all sleepers will abort immediately, and the code flows again. So, basically this patch moves the wait_event() call at the right timing. While we're at it, just to be sure, call wait_event_all() instead of wait_event(), although we don't use exclusive events on this queue for now.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < ff80185e7b7b547a0911fcfc8aefc61c3e8304d7; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < c2fb439f4f1425a961d20bec818fed2c2d9ef70a; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 2f103287ef7960854808930499d1181bd0145d68; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 88ce3fe255d58a93624b467af036dc3519f309c7; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 6b55e879e7bd023a03888fc6c8339edf82f576f4; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 87988a534d8e12f2e6fc01fe63e6c1925dc5307c | — | cvelist |
| Linux | 5.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-38600. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-38600.md Affected: Linux >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < ff80185e7b7b547a0911fcfc8aefc61c3e8304d7; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < c2fb439f4f1425a961d20bec818fed2c2d9ef70a; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 2f103287ef7960854808930499d1181bd0145d68; >= e94fdbd7b25d87e64688bb1… Fixed in: Linux 2f103287ef7960854808930499d1181bd0145d68, Linux 88ce3fe255d58a93624b467af036dc3519f309c7, Linux 6b55e879e7bd023a03888fc6c8339edf82f576f4, Linux 87988a534d8e12f2e6fc01fe63e6c1925dc5307c Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/ff80185e7b7b547a0911fcfc8aefc61c3e8304d7
- https://git.kernel.org/stable/c/c2fb439f4f1425a961d20bec818fed2c2d9ef70a
- https://git.kernel.org/stable/c/2f103287ef7960854808930499d1181bd0145d68
- https://git.kernel.org/stable/c/88ce3fe255d58a93624b467af036dc3519f309c7
- https://git.kernel.org/stable/c/6b55e879e7bd023a03888fc6c8339edf82f576f4
- https://git.kernel.org/stable/c/87988a534d8e12f2e6fc01fe63e6c1925dc5307c
FAQ
Is CVE-2024-38600 being exploited?
There is no confirmed exploitation: CVE-2024-38600 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-38600?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-38600?
Linux >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < ff80185e7b7b547a0911fcfc8aefc61c3e8304d7; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < c2fb439f4f1425a961d20bec818fed2c2d9ef70a; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 2f103287ef7960854808930499d1181bd0145d68; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 88ce3fe255d58a93624b467af036dc3519f309c7; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 6b55e879e7bd023a03888fc6c8339edf82f576f4; >= e94fdbd7b25d87e64688bb109e2c550217a4c879, < 87988a534d8e12f2e6fc01fe63e6c1925dc5307c; Linux 5.14.
Is there a fix for CVE-2024-38600?
Yes. Fixed in Linux 2f103287ef7960854808930499d1181bd0145d68, Linux 88ce3fe255d58a93624b467af036dc3519f309c7, Linux 6b55e879e7bd023a03888fc6c8339edf82f576f4, Linux 87988a534d8e12f2e6fc01fe63e6c1925dc5307c. Upgrade Linux to 87988a534d8e12f2e6fc01fe63e6c1925dc5307c or later.
How do I check if I'm affected by CVE-2024-38600?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.