What’s Vulnerable › Vulnerabilities
CVE-2025-40338: ASoC: Intel: avs: Do not share the name pointer between components
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-09 · updated 2026-10-30
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: avs: Do not share the name pointer between components By sharing 'name' directly, tearing down components may lead to use-after-free errors. Duplicate the name to avoid that. At the same time, update the order of operations - since commit cee28113db17 ("ASoC: dmaengine_pcm: Allow passing component name via config") the framework does not override component->name if set before invoking the initializer.
Affected products
- Linux: 5.19 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1
- https://git.kernel.org/stable/c/0e1440e0d8b2394adfc3f1ac0710e6419600d5c1
- https://git.kernel.org/stable/c/128bf29c992988f8b4f3829227339908fde5ec86
- https://git.kernel.org/stable/c/4dee5c1cc439b0d5ef87f741518268ad6a95b23d
- https://git.kernel.org/stable/c/a80a82f567f7c6276d96409377d4691ea30d18a2
Get alerted when CVE-2025-40338 or the next vulnerability affects your stack