{"id":"CVE-2025-38070","summary":"ASoC: sma1307: Add NULL check in sma1307_setting_loaded()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: sma1307: Add NULL check in sma1307_setting_loaded()\n\nAll varibale allocated by kzalloc and devm_kzalloc could be NULL.\nMultiple pointer checks and their cleanup are added.\n\nThis issue is found by our static analysis tool","modified":"2026-04-02T12:47:46.776512Z","published":"2025-06-18T09:33:47.351Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38070.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ec6bd16705fe21d6429d6b8f7981eae2142bba8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8434b8ba437d3f6cbcd9ffe8405bd16ed28fc5c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38070.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38070"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"576c57e6b4c1d734bcb7cc33dde9a99a9383b520"},{"fixed":"f8434b8ba437d3f6cbcd9ffe8405bd16ed28fc5c"},{"fixed":"0ec6bd16705fe21d6429d6b8f7981eae2142bba8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38070.json"}}],"schema_version":"1.7.5"}