A vulnerability in the Linux kernel's AD7173 ADC driver involved an incorrect channel index used for the syscalib_mode attribute, leading to potential out-of-bounds memory access. This flaw was due to confusion between the address field (0-based index) and the channels field, which may not align depending on device tree configuration. The issue has been fixed by correcting the channel index lookup.