ASoC: Intel: avs: Do not share the name pointer between components
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.
CVE-2025-40338
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2025-40338
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "f1b3b320bd6519b16e3480f74f2926d106e3bcba",
"lessThan": "0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1",
"versionType": "git"
},
{
"status": "affected",
"version": "f1b3b320bd6519b16e3480f74f2926d106e3bcba",
"lessThan": "a80a82f567f7c6276d96409377d4691ea30d18a2",
"versionType": "git"
},
{
"status": "affected",
"version": "f1b3b320bd6519b16e3480f74f2926d106e3bcba",
"lessThan": "128bf29c992988f8b4f3829227339908fde5ec86",
"versionType": "git"
},
{
"status": "affected",
"version": "f1b3b320bd6519b16e3480f74f2926d106e3bcba",
"lessThan": "4dee5c1cc439b0d5ef87f741518268ad6a95b23d",
"versionType": "git"
}
],
"programFiles": [
"sound/soc/intel/avs/pcm.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.19"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.19",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.17.8",
"versionType": "semver",
"lessThanOrEqual": "6.17.*"
},
{
"status": "unaffected",
"version": "6.18",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"sound/soc/intel/avs/pcm.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2025-40338
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46051 · Revision 1
- Added to Heist Feed
- Publisher date