{"id":"CVE-2026-98835","summary":"iio: accel: kionix-kx022a: Fix array boundary check","details":"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 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 \u003e= sizeof(array).","modified":"2026-10-19T02:46:48.802626943Z","published":"2026-10-18T15:49:48.676Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98835.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0e65412aee4f651d2c9785f542a13e4b44002a75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22d377178de281d21ddf908d03a8e9fde3339d9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/87746be179dca4d94d73d5a323a39a87bb2e90fc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98835.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98835"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7c1d1677b3227c6b18ac999f2b84778baa280b8f"},{"fixed":"87746be179dca4d94d73d5a323a39a87bb2e90fc"},{"fixed":"4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d"},{"fixed":"22d377178de281d21ddf908d03a8e9fde3339d9f"},{"fixed":"0e65412aee4f651d2c9785f542a13e4b44002a75"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98835.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98835.json"}}],"schema_version":"1.9.0"}