CVE-2026-64014

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: Entrada: usbtouchscreen - limitar NEXIO data_len/x_len al tamaño del búfer URB nexio_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. Ambos 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. Un 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. Solucione todo esto limitando data_len a la capacidad data[] del búfer y x_len a data_len.

13 Oct 2026, 14:46

Type Values Removed Values Added
CWE CWE-125
First Time Linux
Linux linux Kernel
CPE cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
References () https://git.kernel.org/stable/c/0ca809ea8e0355299266c46e5f1755040aa8dcf3 - () https://git.kernel.org/stable/c/0ca809ea8e0355299266c46e5f1755040aa8dcf3 - Patch
References () https://git.kernel.org/stable/c/103d2de9f505f56da173e43f12dba62f92620278 - () https://git.kernel.org/stable/c/103d2de9f505f56da173e43f12dba62f92620278 - Patch
References () https://git.kernel.org/stable/c/2905281cbda52ec9df540113b35b835feb5fafd3 - () https://git.kernel.org/stable/c/2905281cbda52ec9df540113b35b835feb5fafd3 - Patch
References () https://git.kernel.org/stable/c/45c829e5eb3b974282bae50b7cca2cc891f74f0b - () https://git.kernel.org/stable/c/45c829e5eb3b974282bae50b7cca2cc891f74f0b - Patch
References () https://git.kernel.org/stable/c/7585b6aa55d8ac85ad22f522e1059f93507727b6 - () https://git.kernel.org/stable/c/7585b6aa55d8ac85ad22f522e1059f93507727b6 - Patch
References () https://git.kernel.org/stable/c/95f47331dfde243f93e679ce70bd0c24b37c683d - () https://git.kernel.org/stable/c/95f47331dfde243f93e679ce70bd0c24b37c683d - Patch
References () https://git.kernel.org/stable/c/d883312061ccde8c536595998aaf687ec070077c - () https://git.kernel.org/stable/c/d883312061ccde8c536595998aaf687ec070077c - Patch
References () https://git.kernel.org/stable/c/e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb - () https://git.kernel.org/stable/c/e7cdcb266ba06d8480809b78ab8bb2bf8ff51ccb - Patch

Information

Published : 2026-07-19 16:17

Updated : 2026-10-24 20:10


NVD link : CVE-2026-64014

Mitre link : CVE-2026-64014

CVE.ORG link : CVE-2026-64014


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read