iio: accel: kionix-kx022a: Fix array boundary check
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 87746be179dca4d94d73d5a323a39a87bb2e90fc, Kernel 0e65412aee4f651d2c9785f542a13e4b44002a75, Kernel 22d377178de281d21ddf908d03a8e9fde3339d9f and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7c1d1677b3227c6b18ac999f2b84778baa280b8f <87746be179dca4d94d73d5a323a39a87bb2e90fc, >=7c1d1677b3227c6b18ac999f2b84778baa280b8f <0e65412aee4f651d2c9785f542a13e4b44002a75, >=7c1d1677b3227c6b18ac999f2b84778baa280b8f <22d377178de281d21ddf908d03a8e9fde3339d9f, >=7c1d1677b3227c6b18ac999f2b84778baa280b8f <4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d, >=7c1d1677b3227c6b18ac999f2b84778baa280b8f <714d8f0b1c616a6a82be87ccb72271b6092773d1, =6.2 | 87746be179dca4d94d73d5a323a39a87bb2e90fc, 0e65412aee4f651d2c9785f542a13e4b44002a75, 22d377178de281d21ddf908d03a8e9fde3339d9f, 4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d, 714d8f0b1c616a6a82be87ccb72271b6092773d1 |
| linux-kernel: Kernel | >=6.19.0 <7.2.10, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, >=6.13.0 <6.18.56 | 7.2.10, 6.6.160, 6.12.113, 6.18.56 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket