Shellfeed logo Shellfeed

CVE-2026-98835 · UNKNOWN

Summary: iio: accel: kionix-kx022a: Fix array boundary check

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 6.1).

Details

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 packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [7c1d1677b3227c6b18ac999f2b84778baa280b8f – 714d8f0b1c616a6a82be87ccb72271b6092773d1]
  • Linux Kernel [6.2.0 – 6.6.160] [6.7.0 – 6.12.113] [6.13.0 – 6.18.56] [6.19.0 – 7.2.10]

References