# CVE-2025-40338: ASoC: Intel: avs: Do not share the name pointer between components

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-12-09T04:09:54.753Z
- Modified: 2026-10-30T13:18:16.697Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f1b3b320bd6519b16e3480f74f2926d106e3bcba before 0e1440e0d8b2394adfc3f1ac0710e6419600d5c1; from f1b3b320bd6519b16e3480f74f2926d106e3bcba before 0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1; from f1b3b320bd6519b16e3480f74f2926d106e3bcba before a80a82f567f7c6276d96409377d4691ea30d18a2; from f1b3b320bd6519b16e3480f74f2926d106e3bcba before 128bf29c992988f8b4f3829227339908fde5ec86; from f1b3b320bd6519b16e3480f74f2926d106e3bcba before 4dee5c1cc439b0d5ef87f741518268ad6a95b23d; 5.19 (not affected: before 5.19; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/0e1440e0d8b2394adfc3f1ac0710e6419600d5c1>
- <https://git.kernel.org/stable/c/0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1>
- <https://git.kernel.org/stable/c/a80a82f567f7c6276d96409377d4691ea30d18a2>
- <https://git.kernel.org/stable/c/128bf29c992988f8b4f3829227339908fde5ec86>
- <https://git.kernel.org/stable/c/4dee5c1cc439b0d5ef87f741518268ad6a95b23d>

## Sources

- CVE List: [CVE-2025-40338](https://www.cve.org/CVERecord?id=CVE-2025-40338), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-40338](https://nvd.nist.gov/vuln/detail/CVE-2025-40338), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-40338 · Whole record: https://cve.day/CVE-2025-40338.json · Rebuilt by cve.day 2026-11-25T22:59:08.475Z
