{"id":"CVE-2026-98835","title":"iio: accel: kionix-kx022a: Fix array boundary check","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: kionix-kx022a: Fix array boundary check\n\nThe driver performs a sanity check for an array size, when converting a\nregister value to an array index. The check…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 87746be179dca4d94d73d5a323a39a87bb2e90fc","Linux >= 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d","Linux >= 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 22d377178de281d21ddf908d03a8e9fde3339d9f","Linux >= 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 0e65412aee4f651d2c9785f542a13e4b44002a75","Linux 6.2"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:49:48.676Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98835","references":[{"url":"https://git.kernel.org/stable/c/87746be179dca4d94d73d5a323a39a87bb2e90fc"},{"url":"https://git.kernel.org/stable/c/4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d"},{"url":"https://git.kernel.org/stable/c/22d377178de281d21ddf908d03a8e9fde3339d9f"},{"url":"https://git.kernel.org/stable/c/0e65412aee4f651d2c9785f542a13e4b44002a75"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.469Z","slug":"CVE-2026-98835","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: kionix-kx022a: Fix array boundary check\n\nThe driver performs a sanity check for an array size, when converting a\nregister value to an array index. The check incorrectly accepts the\nsizeof(array) as a last index, when last valid index should be\nsizeof(array) - 1.\n\nFix the check by bailing out when index >= sizeof(array).\n\n## Affected\n\n- `Linux >= 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 87746be179dca4d94d73d5a323a39a87bb2e90fc`\n- `Linux >= 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d`\n- `Linux >= 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 22d377178de281d21ddf908d03a8e9fde3339d9f`\n- `Linux >= 7c1d1677b3227c6b18ac999f2b84778baa280b8f < 0e65412aee4f651d2c9785f542a13e4b44002a75`\n- `Linux 6.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}