{"schema_version":"1.9.0","id":"CVE-2025-38070","published":"2025-06-18T09:33:47.351Z","modified":"2026-08-12T03:51:43.755812126Z","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","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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.14.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38070.json"}}],"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"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38070.json"}}