Input: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size (Linux Linux)

CVE-2026-64014
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: Input: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size nexio_read_data() pulls data_len and x_len from a packed __be16 header in the device's interrupt packet and then walks packet->data[0..x_len) and packet->data[x_len..data_len) comparing each byte against a threshold. Both fields are 16-bit on the wire (max 65535). The existing adjustments shave at most 0x100 / 0x80 off, so the loop bound can still reach roughly 0xfeff. The URB transfer buffer for NEXIO is rept_size (1024) bytes from usb_alloc_coherent(), with the first 7 occupied by the packed header — so packet->data[] has 1017 valid bytes. read_data() callbacks are not given urb->actual_length, and nothing else bounds the walk. A device that lies about its length can get a ~64 KiB out-of-bounds read past the coherent DMA allocation. The first index whose byte exceeds NEXIO_THRESHOLD lands in begin_x / begin_y and from there into the reported touch coordinates, so adjacent kernel memory contents leak to userspace as ABS_X / ABS_Y events. Far enough out, the read can also hit an unmapped page and fault. Fix this all by clamping data_len to the buffer's data[] capacity and x_len to data_len.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5197424cdcccd2b0b1922babb93969b2515c43ce < 45c829e5eb3b974282bae50b7cca2cc891f74f0b ; affected 5197424cdcccd2b0b1922babb93969b2515c43ce < e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb ; affected 5197424cdcccd2b0b1922babb93969b2515c43ce < 95f47331dfde243f93e679ce70bd0c24b37c683d ; affected 5197424cdcccd2b0b1922babb93969b2515c43ce < d883312061ccde8c536595998aaf687ec070077c ; affected 5197424cdcccd2b0b1922babb93969b2515c43ce < 103d2de9f505f56da173e43f12dba62f92620278 ; affected 5197424cdcccd2b0b1922babb93969b2515c43ce < 0ca809ea8e0355299266c46e5f1755040aa8dcf3
Linux · Linuxaffected 2.6.34 ; unaffected 0 < 2.6.34 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 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