# CVE-2025-38025: iio: adc: ad7606: check for NULL before calling sw_mode_config()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-06-18T09:28:31.302Z
- Modified: 2026-06-17T09:15:54.413Z
- Weaknesses: CWE-476
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.13 before 6.14.8; 6.15

## References

- <https://git.kernel.org/stable/c/c28ad63aa55eaadad2b1793b90bfbe7296cc03ba> (patch)
- <https://git.kernel.org/stable/c/5257d80e22bf27009d6742e4c174f42cfe54e425> (patch)

## Sources

- CVE List: [CVE-2025-38025](https://www.cve.org/CVERecord?id=CVE-2025-38025), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38025](https://nvd.nist.gov/vuln/detail/CVE-2025-38025), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38025 · Whole record: https://cve.day/CVE-2025-38025.json · Rebuilt by cve.day 2026-11-25T22:58:59.344Z
