CVE Catalog

CVE-2025-38070

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Summary

In the Linux kernel, the ASoC sma1307 component lacks a NULL check in sma1307_setting_loaded(). Pointers allocated by kzalloc and devm_kzalloc can be NULL, potentially leading to a NULL dereference.

Risk Assessment

The missing NULL check can cause a kernel crash (oops) under low memory or allocation failures, leading to denial of service on systems with the sma1307 codec. The issue was found by a static analysis tool.

Recommendation

Update the Linux kernel to a version containing the fix that adds NULL checks and proper cleanup. Recommended for systems using the sma1307 codec.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ASoC: sma1307: Add NULL check in sma1307_setting_loaded() All varibale allocated by kzalloc and devm_kzalloc could be NULL. Multiple pointer checks and their cleanup are added. This issue is found by our static analysis tool

Vulnerability data from NVD (NIST) · CISA KEV · EPSS