iio: accel: kionix-kx022a: Fix array boundary check (Linux Linux)

CVE-2026-98835
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 714d8f0b1c616a6a82be87ccb72271b6092773d1 ; affected 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 87746be179dca4d94d73d5a323a39a87bb2e90fc ; affected 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d ; affected 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 22d377178de281d21ddf908d03a8e9fde3339d9f ; affected 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 0e65412aee4f651d2c9785f542a13e4b44002a75
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.113 ≤ 6.12.* ; unaffected 6.18.56 ≤ 6.18.* ; unaffected 7.2.10 ≤ 7.2.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD