{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40162","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T07:20:57.176Z","datePublished":"2025-11-12T10:26:22.883Z","dateUpdated":"2026-05-11T21:43:56.425Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:43:56.425Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: amd/sdw_utils: avoid NULL deref when devm_kasprintf() fails\n\ndevm_kasprintf() may return NULL on memory allocation failure,\nbut the debug message prints cpus->dai_name before checking it.\nMove the dev_dbg() call after the NULL check to prevent potential\nNULL pointer dereference."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/amd/acp/acp-sdw-sof-mach.c"],"versions":[{"version":"cb8ea62e6402067ba092d4c1d66a9440513a572b","lessThan":"095d692e5997ece300c89f10d903d5230090e6a0","status":"affected","versionType":"git"},{"version":"cb8ea62e6402067ba092d4c1d66a9440513a572b","lessThan":"a1cccbd19676fc36854535a7118ba2c27d0b84b3","status":"affected","versionType":"git"},{"version":"cb8ea62e6402067ba092d4c1d66a9440513a572b","lessThan":"5726b68473f7153a7f6294185e5998b7e2a230a2","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/amd/acp/acp-sdw-sof-mach.c"],"versions":[{"version":"6.12","status":"affected"},{"version":"0","lessThan":"6.12","status":"unaffected","versionType":"semver"},{"version":"6.12.55","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.5","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":"6.12","versionEndExcluding":"6.12.55"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.17.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/095d692e5997ece300c89f10d903d5230090e6a0"},{"url":"https://git.kernel.org/stable/c/a1cccbd19676fc36854535a7118ba2c27d0b84b3"},{"url":"https://git.kernel.org/stable/c/5726b68473f7153a7f6294185e5998b7e2a230a2"}],"title":"ASoC: amd/sdw_utils: avoid NULL deref when devm_kasprintf() fails","x_generator":{"engine":"bippy-1.2.0"}}}}