Input: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size
Summary
| CVE | CVE-2026-64014 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-19 16:17:41 UTC |
| Updated | 2026-07-19 16:17:41 UTC |
| 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. |
Risk And Classification
EPSS: 0.001760000 probability, percentile 0.073880000 (date 2026-07-20)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 5197424cdcccd2b0b1922babb93969b2515c43ce 45c829e5eb3b974282bae50b7cca2cc891f74f0b git | Not specified |
| CNA | Linux | Linux | affected 5197424cdcccd2b0b1922babb93969b2515c43ce e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb git | Not specified |
| CNA | Linux | Linux | affected 5197424cdcccd2b0b1922babb93969b2515c43ce 95f47331dfde243f93e679ce70bd0c24b37c683d git | Not specified |
| CNA | Linux | Linux | affected 5197424cdcccd2b0b1922babb93969b2515c43ce d883312061ccde8c536595998aaf687ec070077c git | Not specified |
| CNA | Linux | Linux | affected 5197424cdcccd2b0b1922babb93969b2515c43ce 103d2de9f505f56da173e43f12dba62f92620278 git | Not specified |
| CNA | Linux | Linux | affected 5197424cdcccd2b0b1922babb93969b2515c43ce 0ca809ea8e0355299266c46e5f1755040aa8dcf3 git | Not specified |
| CNA | Linux | Linux | affected 5197424cdcccd2b0b1922babb93969b2515c43ce 7585b6aa55d8ac85ad22f522e1059f93507727b6 git | Not specified |
| CNA | Linux | Linux | affected 5197424cdcccd2b0b1922babb93969b2515c43ce 2905281cbda52ec9df540113b35b835feb5fafd3 git | Not specified |
| CNA | Linux | Linux | affected 2.6.34 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.34 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.259 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.210 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.176 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.143 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.93 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.35 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.12 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/2905281cbda52ec9df540113b35b835feb5fafd3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/45c829e5eb3b974282bae50b7cca2cc891f74f0b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0ca809ea8e0355299266c46e5f1755040aa8dcf3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7585b6aa55d8ac85ad22f522e1059f93507727b6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/95f47331dfde243f93e679ce70bd0c24b37c683d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/103d2de9f505f56da173e43f12dba62f92620278 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d883312061ccde8c536595998aaf687ec070077c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.