CVE-2026-98835
Full vulnerability record from the local CVENow database.
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).
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:37.730000
Last modified
2026-10-21 13:21:48.627000
View original CVE JSON
{
"id": "CVE-2026-98835",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:17:37.730",
"lastModified": "2026-10-21T13:21:48.627",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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 >= sizeof(array)."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/iio/accel/kionix-kx022a.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "7c1d1677b3227c6b18ac999f2b84778baa280b8f",
"lessThan": "714d8f0b1c616a6a82be87ccb72271b6092773d1",
"versionType": "git",
"status": "affected"
},
{
"version": "7c1d1677b3227c6b18ac999f2b84778baa280b8f",
"lessThan": "87746be179dca4d94d73d5a323a39a87bb2e90fc",
"versionType": "git",
"status": "affected"
},
{
"version": "7c1d1677b3227c6b18ac999f2b84778baa280b8f",
"lessThan": "4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d",
"versionType": "git",
"status": "affected"
},
{
"version": "7c1d1677b3227c6b18ac999f2b84778baa280b8f",
"lessThan": "22d377178de281d21ddf908d03a8e9fde3339d9f",
"versionType": "git",
"status": "affected"
},
{
"version": "7c1d1677b3227c6b18ac999f2b84778baa280b8f",
"lessThan": "0e65412aee4f651d2c9785f542a13e4b44002a75",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/iio/accel/kionix-kx022a.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.2",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.2",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.113",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.56",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.10",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/0e65412aee4f651d2c9785f542a13e4b44002a75",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/22d377178de281d21ddf908d03a8e9fde3339d9f",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4c73c1859fa64509aae7e23a6dbd2d5c8a64c05d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/714d8f0b1c616a6a82be87ccb72271b6092773d1",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/87746be179dca4d94d73d5a323a39a87bb2e90fc",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}