CVE-2025-40344 ASoC: Intel: avs: Disable periods-elapsed work when closing PCM
A race condition in the Intel AVSoC audio driver allows a use-after-free, potentially enabling local attackers to execute code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-40344?
CVE-2025-40344 is a high-severity use after free vulnerability in Linux, published on 9 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ASoC: Intel: avs: Disable periods-elapsed work when closing PCM
avs_dai_fe_shutdown() handles the shutdown procedure for HOST HDAudio stream while period-elapsed work services its IRQs. As the former frees the DAI's private context, these two operations shall be synchronized to avoid slab-use-after-free or worse errors.
Which versions are affected by CVE-2025-40344?
How do I fix CVE-2025-40344?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-40344 being exploited?
There is no known exploitation of CVE-2025-40344 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-40344, DEBIAN-CVE-2025-40344, GHSA-vmpf-g72p-rp7j, ROOT-OS-DEBIAN-13-CVE-2025-40344, ROOT-OS-UBUNTU-2404-CVE-2025-40344, UBUNTU-CVE-2025-40344.