# CVE-2025-38070: ASoC: sma1307: Add NULL check in sma1307_setting_loaded()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-06-18T09:33:47.351Z
- Modified: 2026-06-17T09:15:59.717Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 576c57e6b4c1d734bcb7cc33dde9a99a9383b520 before f8434b8ba437d3f6cbcd9ffe8405bd16ed28fc5c; from 576c57e6b4c1d734bcb7cc33dde9a99a9383b520 before 0ec6bd16705fe21d6429d6b8f7981eae2142bba8; 6.13 (not affected: before 6.13; from 6.14.9 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.13 before 6.14.9

## References

- <https://git.kernel.org/stable/c/f8434b8ba437d3f6cbcd9ffe8405bd16ed28fc5c> (patch)
- <https://git.kernel.org/stable/c/0ec6bd16705fe21d6429d6b8f7981eae2142bba8> (patch)

## Sources

- CVE List: [CVE-2025-38070](https://www.cve.org/CVERecord?id=CVE-2025-38070), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38070](https://nvd.nist.gov/vuln/detail/CVE-2025-38070), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38070 · Whole record: https://cve.day/CVE-2025-38070.json · Rebuilt by cve.day 2026-11-25T22:58:59.370Z
