CVE-2026-98205
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: Input: evdev - zero absinfo before partial copy in EVIOCSABS The EVIOCSABS handler copies at most the user supplied ioctl size into an uninitialized on-stack struct input_absinfo: if (copy_from_user(&abs, p, min_t(size_t, size, sizeof(struct input_absinfo)))) The size comes from _IOC_SIZE() of the ioctl command and is therefore fully controlled by userspace. A short size leaves the trailing part of the structure holding whatever was on the kernel stack, and the whole structure is then stored into the device: dev->absinfo[t] = abs; EVIOCGABS hands that back to userspace, disclosing the stale stack bytes. Only the resolution field is currently cleared, which covers the legacy struct layout but not an arbitrarily short size. Zero the structure before the copy so any part not supplied by the caller reads back as zero. The existing resolution fixup is kept, since it also handles a size that partially overlaps that field.
View original CVE JSON
{
"id": "CVE-2026-98205",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-06T09:18:06.547",
"lastModified": "2026-10-19T10:18:21.170",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: evdev - zero absinfo before partial copy in EVIOCSABS\n\nThe EVIOCSABS handler copies at most the user supplied ioctl size into\nan uninitialized on-stack struct input_absinfo:\n\n\tif (copy_from_user(&abs, p, min_t(size_t,\n\t\t\tsize, sizeof(struct input_absinfo))))\n\nThe size comes from _IOC_SIZE() of the ioctl command and is therefore\nfully controlled by userspace. A short size leaves the trailing part of\nthe structure holding whatever was on the kernel stack, and the whole\nstructure is then stored into the device:\n\n\tdev->absinfo[t] = abs;\n\nEVIOCGABS hands that back to userspace, disclosing the stale stack\nbytes. Only the resolution field is currently cleared, which covers the\nlegacy struct layout but not an arbitrarily short size.\n\nZero the structure before the copy so any part not supplied by the\ncaller reads back as zero. The existing resolution fixup is kept, since\nit also handles a size that partially overlaps that field."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/input/evdev.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "448cd1664a573e69f54bfd32f3bb7220212b6cf5",
"lessThan": "c0aebb57b73c7d06ad21731099afe119b113c403",
"versionType": "git",
"status": "affected"
},
{
"version": "448cd1664a573e69f54bfd32f3bb7220212b6cf5",
"lessThan": "89b6ffa4bc10c436fa9aecc73be105124cd58a35",
"versionType": "git",
"status": "affected"
},
{
"version": "448cd1664a573e69f54bfd32f3bb7220212b6cf5",
"lessThan": "e834e134a32b6a5c600fa539bb49146f617743ab",
"versionType": "git",
"status": "affected"
},
{
"version": "448cd1664a573e69f54bfd32f3bb7220212b6cf5",
"lessThan": "af5f7130cbf39e6e12336d0b7a5f6e76e4e1526b",
"versionType": "git",
"status": "affected"
},
{
"version": "448cd1664a573e69f54bfd32f3bb7220212b6cf5",
"lessThan": "30b853a3d71f16bd0aa66b604bc37dd1254a19b3",
"versionType": "git",
"status": "affected"
},
{
"version": "448cd1664a573e69f54bfd32f3bb7220212b6cf5",
"lessThan": "71e5619db11dd6429101bd967230d0321ec5ea26",
"versionType": "git",
"status": "affected"
},
{
"version": "448cd1664a573e69f54bfd32f3bb7220212b6cf5",
"lessThan": "3dfe48d5307a1ba22c58231d04257737015569ca",
"versionType": "git",
"status": "affected"
},
{
"version": "448cd1664a573e69f54bfd32f3bb7220212b6cf5",
"lessThan": "8b852965b8eaf910c314dc346967ed82c8d4f235",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/input/evdev.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "2.6.36",
"status": "affected"
},
{
"version": "0",
"lessThan": "2.6.36",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.10.271",
"lessThanOrEqual": "5.10.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.222",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.189",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.158",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.112",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.54",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.8",
"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/30b853a3d71f16bd0aa66b604bc37dd1254a19b3",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3dfe48d5307a1ba22c58231d04257737015569ca",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/71e5619db11dd6429101bd967230d0321ec5ea26",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/89b6ffa4bc10c436fa9aecc73be105124cd58a35",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8b852965b8eaf910c314dc346967ed82c8d4f235",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/af5f7130cbf39e6e12336d0b7a5f6e76e4e1526b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/c0aebb57b73c7d06ad21731099afe119b113c403",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e834e134a32b6a5c600fa539bb49146f617743ab",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}