{"id":"CVE-2025-40338","state":"PUBLISHED","title":"ASoC: Intel: avs: Do not share the name pointer between components","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: Intel: avs: Do not share the name pointer between components\n\nBy sharing 'name' directly, tearing down components may lead to\nuse-after-free errors. Duplicate the name to avoid that.\n\nAt the same time, update the order of operations - since commit\ncee28113db17 (\"ASoC: dmaengine_pcm: Allow passing component name via\nconfig\") the framework does not override component->name if set before\ninvoking the initializer.","publishedAt":"2025-12-09T04:09:54.753Z","updatedAt":"2026-10-30T12:23:04.192Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"0e1440e0d8b2394adfc3f1ac0710e6419600d5c1","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"a80a82f567f7c6276d96409377d4691ea30d18a2","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"128bf29c992988f8b4f3829227339908fde5ec86","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"4dee5c1cc439b0d5ef87f741518268ad6a95b23d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/avs/pcm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.8","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/avs/pcm.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-30T12:40:04.423Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/40xxx/CVE-2025-40338.json","commit":"db8103c5921aac81d5d90efcf3745980dafabf49","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40338","state":"PUBLISHED","datePublished":"2025-12-09T04:09:54.753Z","dateUpdated":"2026-10-30T12:23:04.192Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T07:20:57.186Z"},"containers":{"cna":{"title":"ASoC: Intel: avs: Do not share the name pointer between components","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: Intel: avs: Do not share the name pointer between components\n\nBy sharing 'name' directly, tearing down components may lead to\nuse-after-free errors. Duplicate the name to avoid that.\n\nAt the same time, update the order of operations - since commit\ncee28113db17 (\"ASoC: dmaengine_pcm: Allow passing component name via\nconfig\") the framework does not override component->name if set before\ninvoking the initializer."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"0e1440e0d8b2394adfc3f1ac0710e6419600d5c1","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"a80a82f567f7c6276d96409377d4691ea30d18a2","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"128bf29c992988f8b4f3829227339908fde5ec86","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","status":"affected","lessThan":"4dee5c1cc439b0d5ef87f741518268ad6a95b23d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/avs/pcm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.8","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/avs/pcm.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/0e1440e0d8b2394adfc3f1ac0710e6419600d5c1"},{"url":"https://git.kernel.org/stable/c/0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1"},{"url":"https://git.kernel.org/stable/c/a80a82f567f7c6276d96409377d4691ea30d18a2"},{"url":"https://git.kernel.org/stable/c/128bf29c992988f8b4f3829227339908fde5ec86"},{"url":"https://git.kernel.org/stable/c/4dee5c1cc439b0d5ef87f741518268ad6a95b23d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:23:04.192Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.17.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}