# CVE-2026-64014: Input: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T14:56:27.995Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-125
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5197424cdcccd2b0b1922babb93969b2515c43ce before 45c829e5eb3b974282bae50b7cca2cc891f74f0b; from 5197424cdcccd2b0b1922babb93969b2515c43ce before e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb; from 5197424cdcccd2b0b1922babb93969b2515c43ce before 95f47331dfde243f93e679ce70bd0c24b37c683d; from 5197424cdcccd2b0b1922babb93969b2515c43ce before d883312061ccde8c536595998aaf687ec070077c; from 5197424cdcccd2b0b1922babb93969b2515c43ce before 103d2de9f505f56da173e43f12dba62f92620278; from 5197424cdcccd2b0b1922babb93969b2515c43ce before 0ca809ea8e0355299266c46e5f1755040aa8dcf3; from 5197424cdcccd2b0b1922babb93969b2515c43ce before 7585b6aa55d8ac85ad22f522e1059f93507727b6; from 5197424cdcccd2b0b1922babb93969b2515c43ce before 2905281cbda52ec9df540113b35b835feb5fafd3; 2.6.34 (not affected: before 2.6.34; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.34 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/45c829e5eb3b974282bae50b7cca2cc891f74f0b> (patch)
- <https://git.kernel.org/stable/c/e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb> (patch)
- <https://git.kernel.org/stable/c/95f47331dfde243f93e679ce70bd0c24b37c683d> (patch)
- <https://git.kernel.org/stable/c/d883312061ccde8c536595998aaf687ec070077c> (patch)
- <https://git.kernel.org/stable/c/103d2de9f505f56da173e43f12dba62f92620278> (patch)
- <https://git.kernel.org/stable/c/0ca809ea8e0355299266c46e5f1755040aa8dcf3> (patch)
- <https://git.kernel.org/stable/c/7585b6aa55d8ac85ad22f522e1059f93507727b6> (patch)
- <https://git.kernel.org/stable/c/2905281cbda52ec9df540113b35b835feb5fafd3> (patch)

## Sources

- CVE List: [CVE-2026-64014](https://www.cve.org/CVERecord?id=CVE-2026-64014), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-64014](https://nvd.nist.gov/vuln/detail/CVE-2026-64014), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-64014 · Whole record: https://cve.day/CVE-2026-64014.json · Rebuilt by cve.day 2026-11-25T22:59:28.925Z
