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
linux: linux kernel
References5
- git.kernel.org/stable/c/95e8a48d7a85d4226934020e57815a3316d3a14b Patch
- git.kernel.org/stable/c/abd776ded3e256889610595290f6ca46cb6e91ab Patch
- git.kernel.org/stable/c/abe0854e356b1bb814393ca884cb42b3eb12ce10 Patch
- git.kernel.org/stable/c/d08d82d83ed45fd8c001a9df66ad7ebb86c9d6c6 Patch
- git.kernel.org/stable/c/d5793975fc3b1780ba576812158ef22e3104e60e Patch
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 7 · as of 14 November 2026
- CWE
- CWE-129
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.