{"id":"CVE-2025-40162","published":"2025-11-12T10:26:22Z","modified":"2026-05-11T21:43:56Z","title":"ASoC: amd/sdw_utils: avoid NULL deref when devm_kasprintf() fails","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00197,"percentile":0.09314,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/095d692e5997ece300c89f10d903d5230090e6a0","tags":[]},{"url":"https://git.kernel.org/stable/c/a1cccbd19676fc36854535a7118ba2c27d0b84b3","tags":[]},{"url":"https://git.kernel.org/stable/c/5726b68473f7153a7f6294185e5998b7e2a230a2","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= cb8ea62e6402067ba092d4c1d66a9440513a572b, < 095d692e5997ece300c89f10d903d5230090e6a0",">= cb8ea62e6402067ba092d4c1d66a9440513a572b, < a1cccbd19676fc36854535a7118ba2c27d0b84b3",">= cb8ea62e6402067ba092d4c1d66a9440513a572b, < 5726b68473f7153a7f6294185e5998b7e2a230a2"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"euvd":{"id":"EUVD-2025-124921","exploited":false,"provenance":"source"}}