Kernel memory corruption via unsynchronized PCM shutdown
Published Dec 9, 2025 · Updated Aug 5, 2026
Use-after-free in the Intel AVS ASoC driver in Linux allows local users to corrupt kernel memory by racing PCM shutdown with IRQ work. The avs_dai_fe_shutdown() path frees the DAI private context without first disabling and synchronizing pending period_elapsed_work, which later dereferences that freed allocation. Access to an ALSA PCM device on a machine with an Intel cAVS DSP controller is required; successful races can disclose or overwrite kernel memory or crash the system.
Summary
What happened
Use-after-free in the Intel AVS ASoC driver in Linux allows local users to corrupt kernel memory by racing PCM shutdown with IRQ work. The avs_dai_fe_shutdown() path frees the DAI private context without first disabling and synchronizing pending period_elapsed_work, which later dereferences that freed allocation. Access to an ALSA PCM device on a machine with an Intel cAVS DSP controller is required; successful races can disclose or overwrite kernel memory or crash the system.
The record
- CVE
- CVE-2025-40344
- Published
- Dec 9, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 9, 2025CVE 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=0dbb186c3510cad4e9f443e801bf2e6ab5770c00 <845f716dc5f354c719f6fda35048b6c2eca99331
- Affected versionversion=0dbb186c3510cad4e9f443e801bf2e6ab5770c00 <b41fca4aa60be896ba8a81b57aac5dcc6eee66c0
- Affected versionversion=0dbb186c3510cad4e9f443e801bf2e6ab5770c00 <ca6d2b7aca778afbf8c0c4b330d10cb228c14052
- Affected versionversion=31087af37d6b1586b76d4acf3e0c1634a4617ba6
- Affected versionversion=6.11.9 <6.12
- Affected versionversion=6.12
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