CVE-2025-39786

iio: adc: ad7173: fix channels index for syscalib_mode

State
Published
Severity
7.8 High
Published
Sep 11, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 031bdc8aee01b7b298159eee541844d8bff4467d to before 2def1a8691eb43654da0ae0d2fdb3722e20262a5Affected
  • 031bdc8aee01b7b298159eee541844d8bff4467d to before 0eb8d7b25397330beab8ee62c681975b79f37223Affected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.16.4 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.