CVE-2025-38070Published Jun 18, 2025 · Jun 18Updated Oct 28
ASoC: sma1307: Add NULL check in sma1307_setting_loaded()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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
From the CVE record · Linux
The Linux kernel's ASoC sma1307 code could dereference a NULL pointer when an allocation fails in sma1307_setting_loaded(). The input does not specify an attack path or whether network access, authentication, or user interaction is needed.
Engineers running the Linux kernel with the ASoC sma1307 component should check their versions; affected versions are not specified.