# CVE-2025-39786: iio: adc: ad7173: fix channels index for syscalib_mode

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-09-11T16:56:35.706Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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

iio: adc: ad7173: fix channels index for syscalib_mode

Fix the index used to look up the channel when accessing the
syscalib_mode attribute. The address field is a 0-based index (same
as scan_index) that it used to access the channel in the
ad7173_channels array throughout the driver. The channels field, on
the other hand, may not match the address field depending on the
channel configuration specified in the device tree and could result
in an out-of-bounds access.

(As written by CVE List.)

## Affected

- Linux Linux: from 031bdc8aee01b7b298159eee541844d8bff4467d before 2def1a8691eb43654da0ae0d2fdb3722e20262a5; from 031bdc8aee01b7b298159eee541844d8bff4467d before 0eb8d7b25397330beab8ee62c681975b79f37223; 6.14 (not affected: before 6.14; from 6.16.4 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.14 before 6.16.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/2def1a8691eb43654da0ae0d2fdb3722e20262a5> (patch)
- <https://git.kernel.org/stable/c/0eb8d7b25397330beab8ee62c681975b79f37223> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-39786 · Whole record: https://cve.day/CVE-2025-39786.json · Rebuilt by cve.day 2026-11-25T22:59:04.566Z
