CVE-2025-40162
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-12

Last updated on: 2025-11-12

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: amd/sdw_utils: avoid NULL deref when devm_kasprintf() fails devm_kasprintf() may return NULL on memory allocation failure, but the debug message prints cpus->dai_name before checking it. Move the dev_dbg() call after the NULL check to prevent potential NULL pointer dereference.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-12
Last Modified
2025-11-12
Generated
2026-05-07
AI Q&A
2025-11-13
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a potential NULL pointer dereference in the Linux kernel's ASoC amd/sdw_utils component. Specifically, the function devm_kasprintf() may return NULL if memory allocation fails, but the code attempts to print a debug message using cpus->dai_name before checking if the pointer is NULL. This can lead to a NULL pointer dereference, which is a type of error that can cause the system to crash or behave unexpectedly. The fix involves moving the debug message call after the NULL check to prevent this issue.


How can this vulnerability impact me? :

This vulnerability can cause a NULL pointer dereference in the Linux kernel, potentially leading to system crashes or instability. If exploited or triggered, it may result in denial of service or unexpected behavior in systems using the affected component.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart