# CVE-2026-53386: iio: adc: ti-ads1298: add bounds check to pga_settings index

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-07-19T11:59:33.318Z
- Modified: 2026-08-17T05:17:12.747Z
- Weaknesses: CWE-129
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 00ef7708fa6073a84f6898fdcdfe965d903b0378 before d5793975fc3b1780ba576812158ef22e3104e60e; from 00ef7708fa6073a84f6898fdcdfe965d903b0378 before d08d82d83ed45fd8c001a9df66ad7ebb86c9d6c6; from 00ef7708fa6073a84f6898fdcdfe965d903b0378 before abe0854e356b1bb814393ca884cb42b3eb12ce10; from 00ef7708fa6073a84f6898fdcdfe965d903b0378 before abd776ded3e256889610595290f6ca46cb6e91ab; from 00ef7708fa6073a84f6898fdcdfe965d903b0378 before 95e8a48d7a85d4226934020e57815a3316d3a14b; 6.9 (not affected: before 6.9; from 6.12.95 up to 6.12.*; from 6.18.37 up to 6.18.*; from 7.0.14 up to 7.0.*; from 7.1.2 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.9 before 6.12.95; from 6.13 before 6.18.37; from 6.19 before 7.0.14; from 7.1 before 7.1.2

## References

- <https://git.kernel.org/stable/c/d5793975fc3b1780ba576812158ef22e3104e60e> (patch)
- <https://git.kernel.org/stable/c/d08d82d83ed45fd8c001a9df66ad7ebb86c9d6c6> (patch)
- <https://git.kernel.org/stable/c/abe0854e356b1bb814393ca884cb42b3eb12ce10> (patch)
- <https://git.kernel.org/stable/c/abd776ded3e256889610595290f6ca46cb6e91ab> (patch)
- <https://git.kernel.org/stable/c/95e8a48d7a85d4226934020e57815a3316d3a14b> (patch)

## Sources

- CVE List: [CVE-2026-53386](https://www.cve.org/CVERecord?id=CVE-2026-53386), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-53386](https://nvd.nist.gov/vuln/detail/CVE-2026-53386), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-53386 · Whole record: https://cve.day/CVE-2026-53386.json · Rebuilt by cve.day 2026-11-25T22:59:28.689Z
