CVE-2026-23307

In the Linux kernel, the following vulnerability has been resolved: can: ems_usb: ems_usb_read_bulk_callback(): check the proper length of a message When looking at the data in a USB urb, the actual_length is the size of the buffer passed to the driver, not the transfer_buffer_length which is set by the driver as the max size of the buffer. When parsing the messages in ems_usb_read_bulk_callback() properly check the size both at the beginning of parsing the message to make sure it is big enough for the expected structure, and at the end of the message to make sure we don't overflow past the end of the buffer for the next message.
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.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*

History

28 May 2026, 14:28

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
CWE NVD-CWE-noinfo
References () https://git.kernel.org/stable/c/1818974e1b5ef200e27f144c8cb8a246420bb54d - () https://git.kernel.org/stable/c/1818974e1b5ef200e27f144c8cb8a246420bb54d - Patch
References () https://git.kernel.org/stable/c/18f75b9cbdc3703f15965425ab69dee509b07785 - () https://git.kernel.org/stable/c/18f75b9cbdc3703f15965425ab69dee509b07785 - Patch
References () https://git.kernel.org/stable/c/1cf469026d4a2308eaa91d04dca4a900d07a5c2e - () https://git.kernel.org/stable/c/1cf469026d4a2308eaa91d04dca4a900d07a5c2e - Patch
References () https://git.kernel.org/stable/c/2833e13e2b099546abf5d40a483b4eb04ddd1f7b - () https://git.kernel.org/stable/c/2833e13e2b099546abf5d40a483b4eb04ddd1f7b - Patch
References () https://git.kernel.org/stable/c/38a01c9700b0dcafe97dfa9dc7531bf4a245deff - () https://git.kernel.org/stable/c/38a01c9700b0dcafe97dfa9dc7531bf4a245deff - Patch
References () https://git.kernel.org/stable/c/aed172a2e2330131f0977d2acd3ec8883f413ec1 - () https://git.kernel.org/stable/c/aed172a2e2330131f0977d2acd3ec8883f413ec1 - Patch
References () https://git.kernel.org/stable/c/c703bbf8e9b4947e111c88d2ed09236a6772a471 - () https://git.kernel.org/stable/c/c703bbf8e9b4947e111c88d2ed09236a6772a471 - Patch
References () https://git.kernel.org/stable/c/f10177e6c4575aedaea580ce67d792fab7a2235e - () https://git.kernel.org/stable/c/f10177e6c4575aedaea580ce67d792fab7a2235e - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*

18 Apr 2026, 09:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/aed172a2e2330131f0977d2acd3ec8883f413ec1 -
  • () https://git.kernel.org/stable/c/f10177e6c4575aedaea580ce67d792fab7a2235e -
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: can: ems_usb: ems_usb_read_bulk_callback(): comprobar la longitud adecuada de un mensaje Al examinar los datos en un urb USB, la actual_length es el tamaño del búfer pasado al controlador, no la transfer_buffer_length que es establecida por el controlador como el tamaño máximo del búfer. Al analizar los mensajes en ems_usb_read_bulk_callback(), comprobar correctamente el tamaño tanto al principio del análisis del mensaje para asegurarse de que sea lo suficientemente grande para la estructura esperada, como al final del mensaje para asegurarse de que no desbordemos más allá del final del búfer para el siguiente mensaje.

25 Mar 2026, 11:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-25 11:16

Updated : 2026-05-28 14:28


NVD link : CVE-2026-23307

Mitre link : CVE-2026-23307

CVE.ORG link : CVE-2026-23307


JSON object : View

Products Affected

linux

  • linux_kernel