Linux
iio: adc: ad7173: fix channels index for syscalib_mode
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 031bdc8aee01b7b298159eee541844d8bff4467d, < 2def1a8691eb43654da0ae0d2fdb3722e20262a5
- >= 031bdc8aee01b7b298159eee541844d8bff4467d, < 0eb8d7b25397330beab8ee62c681975b79f37223
Fixed in 2def1a8691eb43654da0ae0d2fdb3722e20262a5, 0eb8d7b25397330beab8ee62c681975b79f37223
- 6.14
Fixed in 0, 6.16.4, 6.17
Mitigation
Upgrade Linux to 2def1a8691eb43654da0ae0d2fdb3722e20262a5 or 0eb8d7b25397330beab8ee62c681975b79f37223 or later.
Upgrade Linux to 0 or 6.16.4 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.