CVE-2025-38070 ASoC: sma1307: Add NULL check in sma1307_setting_loaded()
A missing NULL check in the Linux kernel's sma1307 audio driver can cause a system crash, requiring a kernel patch.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38070?
CVE-2025-38070 is a medium-severity vulnerability in Linux kernel, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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
Weakness: CWE-476
Which versions are affected by CVE-2025-38070?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38070?
Apply the vendor's patch.
Is CVE-2025-38070 being exploited?
There is no known exploitation of CVE-2025-38070 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-38070, ECHO-6850-362a-ae0f, GHSA-6255-h7jq-7xch, ROOT-OS-UBUNTU-2204-CVE-2025-38070, ROOT-OS-UBUNTU-2404-CVE-2025-38070, UBUNTU-CVE-2025-38070.