CVE-2025-38070

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38070
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38070.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38070
Downstream
Published
2025-06-18T09:33:47Z
Modified
2025-10-16T01:30:50.519879Z
Summary
ASoC: sma1307: Add NULL check in sma1307_setting_loaded()
Details

In the Linux kernel, the following vulnerability has been resolved:

ASoC: sma1307: Add NULL check in sma1307settingloaded()

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

References

Affected packages

Git / 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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
576c57e6b4c1d734bcb7cc33dde9a99a9383b520
Fixed
0ec6bd16705fe21d6429d6b8f7981eae2142bba8

Affected versions

v6.*

v6.12
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.14.1
v6.14.2
v6.14.3
v6.14.4
v6.14.5
v6.14.6
v6.14.7
v6.14.8

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.9