iio: accel: kionix-kx022a: Fix array boundary check
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.113, 6.18.56, 7.2.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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).
Timeline
- CVE published
- Record last updated
Affected versions
- Linux 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 Linux
6.2
- KernelLinux
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