{"id":"CVE-2026-64014","state":"PUBLISHED","title":"Input: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size","description":"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->data[0..x_len)\nand packet->data[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->data[] has 1017 valid bytes.  read_data()\ncallbacks are not given urb->actual_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.","publishedAt":"2026-07-19T14:56:27.995Z","updatedAt":"2026-07-19T14:56:27.995Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"45c829e5eb3b974282bae50b7cca2cc891f74f0b","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"95f47331dfde243f93e679ce70bd0c24b37c683d","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"d883312061ccde8c536595998aaf687ec070077c","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"103d2de9f505f56da173e43f12dba62f92620278","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"0ca809ea8e0355299266c46e5f1755040aa8dcf3","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"7585b6aa55d8ac85ad22f522e1059f93507727b6","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"2905281cbda52ec9df540113b35b835feb5fafd3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/touchscreen/usbtouchscreen.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.34","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.34","versionType":"semver"},{"version":"5.10.259","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.210","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.93","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.35","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.12","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/touchscreen/usbtouchscreen.c"]}],"references":["https://git.kernel.org/stable/c/45c829e5eb3b974282bae50b7cca2cc891f74f0b","https://git.kernel.org/stable/c/e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb","https://git.kernel.org/stable/c/95f47331dfde243f93e679ce70bd0c24b37c683d","https://git.kernel.org/stable/c/d883312061ccde8c536595998aaf687ec070077c","https://git.kernel.org/stable/c/103d2de9f505f56da173e43f12dba62f92620278","https://git.kernel.org/stable/c/0ca809ea8e0355299266c46e5f1755040aa8dcf3","https://git.kernel.org/stable/c/7585b6aa55d8ac85ad22f522e1059f93507727b6","https://git.kernel.org/stable/c/2905281cbda52ec9df540113b35b835feb5fafd3"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64014.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64014","state":"PUBLISHED","datePublished":"2026-07-19T14:56:27.995Z","dateUpdated":"2026-07-19T14:56:27.995Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T07:54:57.027Z"},"containers":{"cna":{"title":"Input: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size","descriptions":[{"lang":"en","value":"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->data[0..x_len)\nand packet->data[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->data[] has 1017 valid bytes.  read_data()\ncallbacks are not given urb->actual_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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"45c829e5eb3b974282bae50b7cca2cc891f74f0b","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"95f47331dfde243f93e679ce70bd0c24b37c683d","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"d883312061ccde8c536595998aaf687ec070077c","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"103d2de9f505f56da173e43f12dba62f92620278","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"0ca809ea8e0355299266c46e5f1755040aa8dcf3","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"7585b6aa55d8ac85ad22f522e1059f93507727b6","versionType":"git"},{"version":"5197424cdcccd2b0b1922babb93969b2515c43ce","status":"affected","lessThan":"2905281cbda52ec9df540113b35b835feb5fafd3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/touchscreen/usbtouchscreen.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.34","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.34","versionType":"semver"},{"version":"5.10.259","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.210","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.93","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.35","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.12","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/touchscreen/usbtouchscreen.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/45c829e5eb3b974282bae50b7cca2cc891f74f0b"},{"url":"https://git.kernel.org/stable/c/e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb"},{"url":"https://git.kernel.org/stable/c/95f47331dfde243f93e679ce70bd0c24b37c683d"},{"url":"https://git.kernel.org/stable/c/d883312061ccde8c536595998aaf687ec070077c"},{"url":"https://git.kernel.org/stable/c/103d2de9f505f56da173e43f12dba62f92620278"},{"url":"https://git.kernel.org/stable/c/0ca809ea8e0355299266c46e5f1755040aa8dcf3"},{"url":"https://git.kernel.org/stable/c/7585b6aa55d8ac85ad22f522e1059f93507727b6"},{"url":"https://git.kernel.org/stable/c/2905281cbda52ec9df540113b35b835feb5fafd3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-07-19T14:56:27.995Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"5.10.259"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"5.15.210"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.1.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.6.143"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.12.93"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"6.18.35"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"7.0.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.34","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}