← CVE Intelligence

CVE-2026-53386

iio: adc: ti-ads1298: add bounds check to pga_settings index PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1298: add bounds check to pga_settings index ads1298_pga_settings has 7 elements but ADS1298_MASK_CH_PGA can yield values 0-7. If it yields a value >= 7, this causes an out-of-bounds array access. Add a bounds check and return -EINVAL if the index is out of range. Note that the remaining value b111 is reserved so should not be seen in a correctly functioning system.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 00ef7708fa6073a84f6898fdcdfe965d903b0378 before d5793975fc3b1780ba576812158ef22e3104e60e; affected 00ef7708fa6073a84f6898fdcdfe965d903b0378 before d08d82d83ed45fd8c001a9df66ad7ebb86c9d6c6; affected 00ef7708fa6073a84f6898fdcdfe965d903b0378 before abe0854e356b1bb814393ca884cb42b3eb12ce10; affected 00ef7708fa6073a84f6898fdcdfe965d903b0378 before abd776ded3e256889610595290f6ca46cb6e91ab; affected 00ef7708fa6073a84f6898fdcdfe965d903b0378 before 95e8a48d7a85d4226934020e57815a3316d3a14b
Linux / Linuxaffected 6.9; unaffected 0 before 6.9; unaffected 6.12.95 through 6.12.*; unaffected 6.18.37 through 6.18.*; unaffected 7.0.14 through 7.0.*; unaffected 7.1.2 through 7.1.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References