Linux Kernel
CVE-2024-38388
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain local low-privilege user access
-
DeliveryConfirm Cirrus Logic CS DSP audio hardware present
-
ExploitTrigger amp driver module unload via rmmod or hotplug
-
InstallALSA controls remain registered with stale private_data pointer
-
C2Interact with orphaned controls via ALSA userspace API
-
ExecuteDereference freed kernel memory
-
ImpactAchieve kernel memory corruption enabling privilege escalation or crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
|
| Exploitation Conditions | Exploitation requires all of the following: (1) local access with at least low-privilege user permissions on the target system (PR:L per CVSS vector); (2) the target system must be physically equipped with Cirrus Logic CS DSP audio hardware (e.g., CS35L41 amplifier), as the vulnerable code path is only present when this driver is loaded - systems without this hardware are unaffected regardless of kernel version; (3) the amplifier driver module must be unloaded or removed (e.g., via explicit rmmod, hardware hotplug removal, or driver rebind) while ALSA controls remain registered; (4) the attacker must then interact with the now-orphaned ALSA controls before the freed memory is sanitized or reallocated. Remote exploitation is not possible - attack vector is strictly local (AV:L). No network-facing interface is involved in the vulnerable code path. The hardware prerequisite is the primary real-world limiting factor beyond the local access requirement. |
| Impact | The CVSS 7.8 (High) vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects a scenario where a local attacker successfully leverages the stale pointer to achieve kernel memory corruption, potentially yielding privilege escalation or a system crash. EPSS at 0.22% (12th percentile) signals very low real-world exploitation probability, consistent with the absence of a CISA KEV listing and no known public exploit code - these signals converge to indicate threat actor interest has not materialized. The primary limiting factor is hardware specificity: exploitation requires a system equipped with a Cirrus Logic CS DSP amplifier (e.g., CS35L41), found in select laptops and embedded audio platforms, narrowing the realistic attack surface considerably relative to the kernel's ubiquitous deployment footprint. CVSS AC:L is justified in that - once the hardware prerequisite is satisfied - triggering the bug does not require complex timing or a race condition; unloading the driver deterministically orphans the controls. Overall, this is a genuine high-severity flaw on affected hardware, but with very low real-world risk priority for most organizations given the hardware dependency and negligible exploitation interest to date. |
| Exploit ScenarioDerived | A local user with low privileges on a Linux laptop or workstation equipped with a Cirrus Logic CS35L41 amplifier chip unloads or induces unloading of the HDA CS DSP amp driver module (e.g., via rmmod or a hardware hotplug event). The ALSA sound controls remain registered with the kernel soundcard while their backing private_data memory is freed. The attacker then reads or writes these orphaned controls through standard ALSA userspace interfaces (/dev/snd, alsamixer, or direct ioctl), dereferencing the stale pointer and triggering a use-after-free that can produce a kernel oops, heap corruption, or - with careful heap grooming - arbitrary code execution in kernel context. No public exploit code is referenced in available intelligence. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 04, 2026
Stale pointer dereference in the Linux kernel's ALSA HDA Cirrus Logic DSP (CS DSP) audio driver allows a local low-privileged attacker to trigger kernel memory corruption by accessing orphaned ALSA sound controls after the amp driver is unloaded. The flaw originates in hda_cs_dsp_control_remove() failing to call snd_ctl_remove(), leaving ALSA controls registered with the soundcard while their backing memory is freed - exposing a dangling private_data pointer accessible via standard ALSA interfaces. No public exploit code has been identified and EPSS scores this at 0.22% (12th percentile), though the CVSS 7.8 score accurately reflects the potential for full kernel compromise if exploitation succeeds on hardware-eligible systems.
Earlier versions of this analysis (1)
Use-after-free and memory leak in the Linux kernel ALSA HDA CS DSP audio control subsystem allows a local low-privileged attacker to trigger segfaults or exploit stale pointer dereferences. The original hda_cs_dsp_control_remove() function freed the internal tracking structure for CS DSP audio controls without removing the ALSA controls themselves from the soundcard, leaving dangling references accessible to subsequent callers. With CVSS 7.8 (AV:L/AC:L/PR:L) and EPSS at just 0.22%, this is a credible kernel memory corruption path on affected hardware but carries low real-world exploitation probability; no public exploit exists and it is not listed in CISA KEV.
RemediationAI
Apply the upstream kernel stable-branch patches confirmed at https://git.kernel.org/stable/c/172811e3a557d8681a5e2d0f871dc04a2d17eb13, https://git.kernel.org/stable/c/191dc1b2ff0fb35e7aff15a53224837637df8bff, https://git.kernel.org/stable/c/3291486af5636540980ea55bae985f3eaa5b0740, and https://git.kernel.org/stable/c/6e359be4975006ff72818e79dad8fe48293f2eb2. Exact patched kernel release version numbers per distribution are not independently confirmed from available data - monitor your Linux distributor's security advisories (Ubuntu USN, Red Hat RHSA, SUSE SA, Debian DSA) for packaged kernel updates incorporating these commits. As a compensating control where patching is delayed, administrators can prevent dynamic unloading of the CS DSP HDA driver module by adding it to /etc/modprobe.d/ with 'install snd-hda-codec-cs8409 /bin/true' or using systemd module configuration to block rmmod - this eliminates the primary trigger path (driver unload while controls persist) at the cost of preventing dynamic audio driver management and requiring a reboot to change audio configuration. This workaround does not eliminate the underlying memory management flaw.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the Advanced Linux Sound Architecture (ALSA) High Definition Audio (HDA) subsystem, specifically in the Cirrus Logic CS DSP control driver (sound/pci/hda/cs_dsp_ctl.c). The function hda_cs_dsp_control_remove() was responsible for cleaning up CS DSP controls when the amplifier driver was removed or unloaded. CWE-401 (Missing Release of Memory after Effective Lifetime) is the root cause classification, but the practical impact extends beyond a simple memory leak: the function freed the internal tracking data structure without calling snd_ctl_remove() to unregister the ALSA control from the soundcard. This left the ALSA control still registered and userspace-accessible, with its kcontrol->private_data pointer referencing freed memory. The fix introduces the control private_free callback - a standard ALSA lifecycle hook that ensures cleanup runs regardless of how the control is eventually destroyed, atomically coupling data lifetime to control lifetime and eliminating the window between driver unload and stale control access.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local access with low privileges required to trigger driver unload and stale control access; successful kernel memory corruption yields full confidentiality, integrity, and availability impact.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
5DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup
Use the control private_free callback to free the associated data block. This ensures that the memory won't leak, whatever way the control gets destroyed.
The original implementation didn't actually remove the ALSA controls in hda_cs_dsp_control_remove(). It only freed the internal tracking structure. This meant it was possible to remove/unload the amp driver while leaving its ALSA controls still present in the soundcard. Obviously attempting to access them could cause segfaults or at least dereferencing stale pointers.
Executive ViewAI
A critical memory corruption vulnerability in the Linux kernel's Cirrus Logic audio driver (CVE-2024-38388) creates kernel compromise risk for organizations operating multi-user or shared Linux systems. No public exploit code has been identified at time of analysis, with exploitation likelihood rated minimal (EPSS 0.22%). Affected organizations should prioritize applying available kernel updates within the next week to eliminate this attack vector.
Patch available per vendor advisory.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB