MTIby Motiontic
Colour theme
VulnerabilityCVE-2025-40162WID-SEC-W-2025-2579:CVE-2025-40162

ASoC: amd/sdw_utils: avoid NULL deref when devm_kasprintf() fails

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)