← CVE Intelligence

CVE-2025-39786

iio: adc: ad7173: fix channels index for syscalib_mode PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 031bdc8aee01b7b298159eee541844d8bff4467d before 2def1a8691eb43654da0ae0d2fdb3722e20262a5; affected 031bdc8aee01b7b298159eee541844d8bff4467d before 0eb8d7b25397330beab8ee62c681975b79f37223
Linux / Linuxaffected 6.14; unaffected 0 before 6.14; unaffected 6.16.4 through 6.16.*; unaffected 6.17 through *

CWE

No CWE identifiers supplied.

References