{"id":"CVE-2026-64014","aliases":["CVE-2026-64014"],"related":[],"kind":"vulnerability","state":"published","title":"Input: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nEntrada: usbtouchscreen - limitar NEXIO data_len/x_len al tamaño del búfer URB\n\nnexio_read_data() extrae data_len y x_len de una cabecera __be16 empaquetada en el paquete de interrupción del dispositivo y luego recorre packet  ->  data[0..x_len) y packet  ->  data[x_len..data_len) comparando cada byte con un umbral.\n\nAmbos campos son de 16 bits en el cable (máx. 65535). Los ajustes existentes recortan como máximo 0x100 / 0x80, por lo que el límite del bucle aún puede alcanzar aproximadamente 0xfeff. El búfer de transferencia URB para NEXIO es de rept_size (1024) bytes de usb_alloc_coherent(), con los primeros 7 ocupados por la cabecera empaquetada - por lo que packet  ->  data[] tiene 1017 bytes válidos. Las devoluciones de llamada de read_data() no reciben urb  ->  actual_length, y nada más limita el recorrido.\n\nUn dispositivo que miente sobre su longitud puede obtener una lectura fuera de límites de ~64 KiB más allá de la asignación DMA coherente. El primer índice cuyo byte excede NEXIO_THRESHOLD aterriza en begin_x / begin_y y de ahí a las coordenadas táctiles reportadas, por lo que el contenido adyacente de la memoria del kernel se filtra al espacio de usuario como eventos ABS_X / ABS_Y. Lo suficientemente lejos, la lectura también puede alcanzar una página no mapeada y causar un fallo.\n\nSolucione todo esto limitando data_len a la capacidad data[] del búfer y x_len a data_len.","source":"nvd"}],"published":"2026-07-19T14:56:27.995Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"5197424cdcccd2b0b1922babb93969b2515c43ce","fixed":"45c829e5eb3b974282bae50b7cca2cc891f74f0b","status":"affected"},{"type":"git","introduced":"5197424cdcccd2b0b1922babb93969b2515c43ce","fixed":"e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb","status":"affected"},{"type":"git","introduced":"5197424cdcccd2b0b1922babb93969b2515c43ce","fixed":"95f47331dfde243f93e679ce70bd0c24b37c683d","status":"affected"},{"type":"git","introduced":"5197424cdcccd2b0b1922babb93969b2515c43ce","fixed":"d883312061ccde8c536595998aaf687ec070077c","status":"affected"},{"type":"git","introduced":"5197424cdcccd2b0b1922babb93969b2515c43ce","fixed":"103d2de9f505f56da173e43f12dba62f92620278","status":"affected"},{"type":"git","introduced":"5197424cdcccd2b0b1922babb93969b2515c43ce","fixed":"0ca809ea8e0355299266c46e5f1755040aa8dcf3","status":"affected"},{"type":"git","introduced":"5197424cdcccd2b0b1922babb93969b2515c43ce","fixed":"7585b6aa55d8ac85ad22f522e1059f93507727b6","status":"affected"},{"type":"git","introduced":"5197424cdcccd2b0b1922babb93969b2515c43ce","fixed":"2905281cbda52ec9df540113b35b835feb5fafd3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.34","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.34","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.93","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.35","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.12","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.34","fixed":"5.10.259"},{"status":"affected","introduced":"5.11","fixed":"5.15.210"},{"status":"affected","introduced":"5.16","fixed":"6.1.176"},{"status":"affected","introduced":"6.2","fixed":"6.6.143"},{"status":"affected","introduced":"6.7","fixed":"6.12.93"},{"status":"affected","introduced":"6.13","fixed":"6.18.35"},{"status":"affected","introduced":"6.19","fixed":"7.0.12"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/45c829e5eb3b974282bae50b7cca2cc891f74f0b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95f47331dfde243f93e679ce70bd0c24b37c683d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d883312061ccde8c536595998aaf687ec070077c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/103d2de9f505f56da173e43f12dba62f92620278","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ca809ea8e0355299266c46e5f1755040aa8dcf3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7585b6aa55d8ac85ad22f522e1059f93507727b6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2905281cbda52ec9df540113b35b835feb5fafd3","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64014","url":"https://www.cve.org/CVERecord?id=CVE-2026-64014","licence":"CVE Terms of Use","modified":"2026-07-19T14:56:27.995Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64014","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64014","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.925Z","epss":{"score":0.00126,"percentile":0.02442,"date":"2026-12-01T12:00:22.000Z"}}