CVE-2025-40338 Details
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.
A use-after-free vulnerability has been addressed in the Linux kernel's ASoC Intel AVS component. The issue arose from directly sharing the 'name' pointer between components, which could lead to use-after-free errors when tearing down components. The vulnerability affects the ASoC framework, specifically in how component names are handled. The problem has been resolved by duplicating the name to prevent such errors. Additionally, the order of operations has been updated, as the framework previously did not override component names set before initialization, allowing for potential inconsistencies.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/128bf29c992988f8b4f3829227339908fde5ec86 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4dee5c1cc439b0d5ef87f741518268ad6a95b23d | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 9, 2025 | New CVE Received | kernel.org |
Volerion