# CVE-2026-98835: iio: accel: kionix-kx022a: Fix array boundary check

- Severity: not scored yet
- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-18T15:49:48.676Z
- Modified: 2026-10-21T13:21:48.627Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 7c1d1677b3227c6b18ac999f2b84778baa280b8f before 714d8f0b1c616a6a82be87ccb72271b6092773d1; from 7c1d1677b3227c6b18ac999f2b84778baa280b8f before 87746be179dca4d94d73d5a323a39a87bb2e90fc; from 7c1d1677b3227c6b18ac999f2b84778baa280b8f before 4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d; from 7c1d1677b3227c6b18ac999f2b84778baa280b8f before 22d377178de281d21ddf908d03a8e9fde3339d9f; from 7c1d1677b3227c6b18ac999f2b84778baa280b8f before 0e65412aee4f651d2c9785f542a13e4b44002a75; 6.2 (not affected: before 6.2; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/714d8f0b1c616a6a82be87ccb72271b6092773d1>
- <https://git.kernel.org/stable/c/87746be179dca4d94d73d5a323a39a87bb2e90fc>
- <https://git.kernel.org/stable/c/4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d>
- <https://git.kernel.org/stable/c/22d377178de281d21ddf908d03a8e9fde3339d9f>
- <https://git.kernel.org/stable/c/0e65412aee4f651d2c9785f542a13e4b44002a75>

## Sources

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

---

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