UBUNTU-CVE-2026-98835: Low severity ubuntu/linux-hwe-edge vulnerability
In the Linux kernel, the following vulnerability has been resolved: iio: accel: kionix-kx022a: Fix array boundary check The driver performs a sanity check for an array size, when converting a register value to an array index. The check incorrectly accepts the sizeof(array) as a last index, when last valid index should be sizeof(array) - 1. Fix the check by bailing out when index >= sizeof(array).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the iio: accel: kionix-kx022a driver, bail out when the array index is greater than or equal to sizeof(array), so sizeof(array) is not accepted as a valid index.