Local kernel compromise via stale ALSA controls
Published Jun 21, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux ALSA HDA control path allows local users to read or write kernel memory and crash the system. hda_cs_dsp_control_remove() frees its tracking structures without removing their ALSA controls, leaving callbacks that dereference reclaimed data or unloaded module code. Access to /dev/snd/controlC* through an audio-group or active session is sufficient after the amplifier driver has been unbound; no race or victim interaction is required.
Summary
What happened
Use-after-free in the Linux ALSA HDA control path allows local users to read or write kernel memory and crash the system. hda_cs_dsp_control_remove() frees its tracking structures without removing their ALSA controls, leaving callbacks that dereference reclaimed data or unloaded module code. Access to /dev/snd/controlC* through an audio-group or active session is sufficient after the amplifier driver has been unbound; no race or victim interaction is required.
The record
- CVE
- CVE-2024-38388
- Published
- Jun 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3233b978af23f11b4ad4f7f11a9a64bd05702b1f <172811e3a557d8681a5e2d0f871dc04a2d17eb13
- Affected versionversion=3233b978af23f11b4ad4f7f11a9a64bd05702b1f <191dc1b2ff0fb35e7aff15a53224837637df8bff
- Affected versionversion=3233b978af23f11b4ad4f7f11a9a64bd05702b1f <3291486af5636540980ea55bae985f3eaa5b0740
- Affected versionversion=3233b978af23f11b4ad4f7f11a9a64bd05702b1f <6e359be4975006ff72818e79dad8fe48293f2eb2
- Affected versionversion=6.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo