
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-38605 affects the Linux kernel's ALSA (Advanced Linux Sound Architecture) core component. The vulnerability was discovered in May 2024 and involves a NULL module pointer assignment issue during sound card initialization. The bug was introduced by commit 81033c6b584b which added a warning for NULL module pointers but incorrectly wrapped the module assignment code (Kernel Git).
The vulnerability occurs when the sound core is built-in (CONFIG_SND=y) while a driver is built as a module (e.g., CONFIG_SND_USB_AUDIO=m). In this configuration, the passed module pointer is ignored even if it's non-NULL, and card->module remains NULL. This leads to missing module reference counting during device open/close operations. The CVSS v3.1 base score is 8.8 HIGH (ASEC, CISA-ADP).
The vulnerability can result in a race condition with code execution after module removal, potentially leading to system instability or crashes. The missing module reference up/down operations during device open/close could cause memory corruption or system instability (Kernel Git).
The vulnerability requires local access and specific kernel configuration conditions to be exploitable. It primarily affects systems where the sound core is built into the kernel while sound drivers are built as modules (ASEC).
The issue has been fixed by moving the assignment of card->module outside the ifdef MODULE block while keeping the WARN_ON() check within it. The fix has been backported to multiple kernel versions including 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.8.12, 6.9.3, and 6.10-rc1 (ASEC).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."