{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40338","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T07:20:57.186Z","datePublished":"2025-12-09T04:09:54.753Z","dateUpdated":"2026-10-30T12:23:04.192Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-10-30T12:23:04.192Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/avs/pcm.c"],"versions":[{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","lessThan":"0e1440e0d8b2394adfc3f1ac0710e6419600d5c1","status":"affected","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","lessThan":"0a187ea7a5b4e78b9be1f9c1507cff04f3ae4ab1","status":"affected","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","lessThan":"a80a82f567f7c6276d96409377d4691ea30d18a2","status":"affected","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","lessThan":"128bf29c992988f8b4f3829227339908fde5ec86","status":"affected","versionType":"git"},{"version":"f1b3b320bd6519b16e3480f74f2926d106e3bcba","lessThan":"4dee5c1cc439b0d5ef87f741518268ad6a95b23d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/intel/avs/pcm.c"],"versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.8","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"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"}]}]}],"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"}],"title":"ASoC: Intel: avs: Do not share the name pointer between components","x_generator":{"engine":"bippy-1.2.0"}}}}