CVE-2026-98835: iio: accel: kionix-kx022a: Fix array boundary check
iio: accel: kionix-kx022a: Fix array boundary check
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.160 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.113 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.56 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.2.10
Event History
Frequently Asked Questions
Which systems are affected?
Systems running the Linux kernel with the kionix-kx022a IIO accelerometer driver are relevant. The issue is in the driver's conversion of a register value into an array index.
What condition triggers the flaw?
The driver must encounter a register value that converts to an index equal to the array size. The prior boundary check accepted that value even though the highest valid index is one less than the array size.
How is the issue addressed?
The fix rejects values where the calculated index is greater than or equal to the array size, preventing the out-of-bounds array access.