CVEvulnerability
CVE-2026-98835
- Status
- Received
- Published
- 2026-10-18
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Description
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).
References
- https://git.kernel.org/stable/c/0e65412aee4f651d2c9785f542a13e4b44002a75 git.kernel.org
- https://git.kernel.org/stable/c/22d377178de281d21ddf908d03a8e9fde3339d9f git.kernel.org
- https://git.kernel.org/stable/c/4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d git.kernel.org
- https://git.kernel.org/stable/c/714d8f0b1c616a6a82be87ccb72271b6092773d1 git.kernel.org
- https://git.kernel.org/stable/c/87746be179dca4d94d73d5a323a39a87bb2e90fc git.kernel.org