CVE-2025-40162
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
12/11/2025
Last modified:
12/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ASoC: amd/sdw_utils: avoid NULL deref when devm_kasprintf() fails<br />
<br />
devm_kasprintf() may return NULL on memory allocation failure,<br />
but the debug message prints cpus->dai_name before checking it.<br />
Move the dev_dbg() call after the NULL check to prevent potential<br />
NULL pointer dereference.



