{"id":"CVE-2026-64014","summary":"Input: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size\n\nnexio_read_data() pulls data_len and x_len from a packed __be16 header\nin the device's interrupt packet and then walks packet-\u003edata[0..x_len)\nand packet-\u003edata[x_len..data_len) comparing each byte against a\nthreshold.\n\nBoth fields are 16-bit on the wire (max 65535).  The existing\nadjustments shave at most 0x100 / 0x80 off, so the loop bound can still\nreach roughly 0xfeff.  The URB transfer buffer for NEXIO is rept_size\n(1024) bytes from usb_alloc_coherent(), with the first 7 occupied by the\npacked header — so packet-\u003edata[] has 1017 valid bytes.  read_data()\ncallbacks are not given urb-\u003eactual_length, and nothing else bounds the\nwalk.\n\nA device that lies about its length can get a ~64 KiB out-of-bounds read\npast the coherent DMA allocation.  The first index whose byte exceeds\nNEXIO_THRESHOLD lands in begin_x / begin_y and from there into the\nreported touch coordinates, so adjacent kernel memory contents leak to\nuserspace as ABS_X / ABS_Y events.  Far enough out, the read can also\nhit an unmapped page and fault.\n\nFix this all by clamping data_len to the buffer's data[] capacity and\nx_len to data_len.","modified":"2026-07-21T03:47:46.301276269Z","published":"2026-07-19T14:56:27.995Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64014.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ca809ea8e0355299266c46e5f1755040aa8dcf3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/103d2de9f505f56da173e43f12dba62f92620278"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2905281cbda52ec9df540113b35b835feb5fafd3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/45c829e5eb3b974282bae50b7cca2cc891f74f0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7585b6aa55d8ac85ad22f522e1059f93507727b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95f47331dfde243f93e679ce70bd0c24b37c683d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d883312061ccde8c536595998aaf687ec070077c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64014.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64014"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5197424cdcccd2b0b1922babb93969b2515c43ce"},{"fixed":"45c829e5eb3b974282bae50b7cca2cc891f74f0b"},{"fixed":"e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb"},{"fixed":"95f47331dfde243f93e679ce70bd0c24b37c683d"},{"fixed":"d883312061ccde8c536595998aaf687ec070077c"},{"fixed":"103d2de9f505f56da173e43f12dba62f92620278"},{"fixed":"0ca809ea8e0355299266c46e5f1755040aa8dcf3"},{"fixed":"7585b6aa55d8ac85ad22f522e1059f93507727b6"},{"fixed":"2905281cbda52ec9df540113b35b835feb5fafd3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64014.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.34"},{"fixed":"5.10.259"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.210"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.176"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.143"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.93"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.35"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64014.json"}}],"schema_version":"1.7.5"}