Input: evdev - zero absinfo before partial copy in EVIOCSABS (Linux Linux)

CVE-2026-98205
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 448cd1664a573e69f54bfd32f3bb7220212b6cf5 < c0aebb57b73c7d06ad21731099afe119b113c403 ; affected 448cd1664a573e69f54bfd32f3bb7220212b6cf5 < 89b6ffa4bc10c436fa9aecc73be105124cd58a35 ; affected 448cd1664a573e69f54bfd32f3bb7220212b6cf5 < e834e134a32b6a5c600fa539bb49146f617743ab ; affected 448cd1664a573e69f54bfd32f3bb7220212b6cf5 < af5f7130cbf39e6e12336d0b7a5f6e76e4e1526b ; affected 448cd1664a573e69f54bfd32f3bb7220212b6cf5 < 30b853a3d71f16bd0aa66b604bc37dd1254a19b3 ; affected 448cd1664a573e69f54bfd32f3bb7220212b6cf5 < 71e5619db11dd6429101bd967230d0321ec5ea26
Linux · Linuxaffected 2.6.36 ; unaffected 0 < 2.6.36 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD