CVE-2025-38025
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7606: check for NULL before calling sw_mode_config() Check that the sw_mode_config function pointer is not NULL before calling it. Not all buses define this callback, which resulted in a NULL pointer dereference.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e571c1902116a376c96e59639820662d7d6a13da before c28ad63aa55eaadad2b1793b90bfbe7296cc03ba, from e571c1902116a376c96e59639820662d7d6a13da before 5257d80e22bf27009d6742e4c174f42cfe54e425, 6.13
Not affected: before 6.13, from 6.14.8 up to 6.14.*, from 6.15 up to *
CVE List
linux linux_kernelfrom 6.13 before 6.14.8, 6.15NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7606: check for NULL before calling sw_mode_config() Check that the sw_mode_config function pointer is not NULL before calling it. Not all buses define this callback, which resulted in a NULL pointer dereference.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iio: adc: ad7606: comprobar si el puntero a la función sw_mode_config() es nulo. Compruebe que el puntero a la función sw_mode_config no sea nulo antes de llamarlo. No todos los buses definen esta función, lo que provocaba una desreferencia del puntero nulo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38025 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38025 changed 2026-06-17Public domain