CVE-2025-38025

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38025
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38025.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38025
Downstream
Published
2025-06-18T09:28:31Z
Modified
2025-10-16T01:04:25.058804Z
Summary
iio: adc: ad7606: check for NULL before calling sw_mode_config()
Details

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

iio: adc: ad7606: check for NULL before calling swmodeconfig()

Check that the swmodeconfig function pointer is not NULL before calling it. Not all buses define this callback, which resulted in a NULL pointer dereference.

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
e571c1902116a376c96e59639820662d7d6a13da
Fixed
c28ad63aa55eaadad2b1793b90bfbe7296cc03ba
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e571c1902116a376c96e59639820662d7d6a13da
Fixed
5257d80e22bf27009d6742e4c174f42cfe54e425

Affected versions

v6.*

v6.12
v6.12-rc2
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.15-rc1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.8