CVE Catalog

CVE-2025-40344

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel, in the ASoC Intel avs driver, a use-after-free vulnerability was found when closing a PCM stream. The avs_dai_fe_shutdown() function frees the DAI private context while the period-elapsed work may still be active, potentially leading to memory errors.

Risk Assessment

The risk is the possibility of a use-after-free error, which could lead to system crash, arbitrary code execution, or information disclosure.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix, which disables the period-elapsed work before freeing the DAI context.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS