Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-53386

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 00ef7708fa6073a84f6898fdcdfe965d903b0378 to < d5793975fc3b1780ba576812158ef22e3104e60eaffected
  • 00ef7708fa6073a84f6898fdcdfe965d903b0378 to < d08d82d83ed45fd8c001a9df66ad7ebb86c9d6c6affected
  • 00ef7708fa6073a84f6898fdcdfe965d903b0378 to < abe0854e356b1bb814393ca884cb42b3eb12ce10affected
  • 00ef7708fa6073a84f6898fdcdfe965d903b0378 to < abd776ded3e256889610595290f6ca46cb6e91abaffected
  • 00ef7708fa6073a84f6898fdcdfe965d903b0378 to < 95e8a48d7a85d4226934020e57815a3316d3a14baffected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 6.12.95 to ≤ 6.12.*unaffected
  • 6.18.37 to ≤ 6.18.*unaffected
  • 7.0.14 to ≤ 7.0.*unaffected
  • 7.1.2 to ≤ 7.1.*unaffected
  • 7.2 to ≤ *unaffected

References