CVE-2025-40338

Source
https://cve.org/CVERecord?id=CVE-2025-40338
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40338.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40338
Downstream
BELL (1)
DEBIAN (1)
ECHO (1)
openSUSE (1)
ROOT (4)
SUSE (11)
UBUNTU (1)
Related
Published
2025-12-09T04:09:54Z
Modified
2026-10-22T02:47:46Z
Summary
ASoC: Intel: avs: Do not share the name pointer between components
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40338.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f1b3b320bd6519b16e3480f74f2926d106e3bcba
Fixed
0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1
Fixed
a80a82f567f7c6276d96409377d4691ea30d18a2
Fixed
128bf29c992988f8b4f3829227339908fde5ec86
Fixed
4dee5c1cc439b0d5ef87f741518268ad6a95b23d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40338.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.6.160
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.114
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40338.json"