Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2024-38605
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.94-1

Fixed

bullseye

linux: 5.10.221-1

Fixed

sid

linux: 6.8.12-1

Fixed

trixie

linux: 6.8.12-1

Fixed

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-hwe-6.17
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-7.0
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management