CVE-2026-23298

In the Linux kernel, the following vulnerability has been resolved: can: ucan: Fix infinite loop from zero-length messages If a broken ucan device gets a message with the message length field set to 0, then the driver will loop for forever in ucan_read_bulk_callback(), hanging the system. If the length is 0, just skip the message and go on to the next one. This has been fixed in the kvaser_usb driver in the past in commit 0c73772cd2b8 ("can: kvaser_usb: leaf: Fix potential infinite loop in command parsers"), so there must be some broken devices out there like this somewhere.
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

29 May 2026, 14:27

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Linux linux Kernel
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:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/13b646eec3ba1131180803f5aaf1fee23540ad8f - () https://git.kernel.org/stable/c/13b646eec3ba1131180803f5aaf1fee23540ad8f - Patch
References () https://git.kernel.org/stable/c/1e446fd0582ad8be9f6dafb115fc2e7245f9bea7 - () https://git.kernel.org/stable/c/1e446fd0582ad8be9f6dafb115fc2e7245f9bea7 - Patch
References () https://git.kernel.org/stable/c/aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588 - () https://git.kernel.org/stable/c/aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588 - Patch
References () https://git.kernel.org/stable/c/ab6f075492d37368b4c7b0df7f7fdc2b666887fc - () https://git.kernel.org/stable/c/ab6f075492d37368b4c7b0df7f7fdc2b666887fc - Patch
References () https://git.kernel.org/stable/c/bd85f21a6219aeae4389d700c54f1799f4b814e0 - () https://git.kernel.org/stable/c/bd85f21a6219aeae4389d700c54f1799f4b814e0 - Patch
References () https://git.kernel.org/stable/c/c7bc62be6c1a60bb21301692009590b1ffda91d9 - () https://git.kernel.org/stable/c/c7bc62be6c1a60bb21301692009590b1ffda91d9 - Patch
References () https://git.kernel.org/stable/c/ca07d3c6eef14d34e6fdeefe55058db045be29dc - () https://git.kernel.org/stable/c/ca07d3c6eef14d34e6fdeefe55058db045be29dc - Patch
References () https://git.kernel.org/stable/c/e7bb6e0606b5f233531aaaad9542d69fbb792115 - () https://git.kernel.org/stable/c/e7bb6e0606b5f233531aaaad9542d69fbb792115 - Patch
CWE CWE-835

18 Apr 2026, 09:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/ca07d3c6eef14d34e6fdeefe55058db045be29dc -
  • () https://git.kernel.org/stable/c/e7bb6e0606b5f233531aaaad9542d69fbb792115 -
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: can: ucan: Corrección de bucle infinito por mensajes de longitud cero Si un dispositivo ucan defectuoso recibe un mensaje con el campo de longitud del mensaje establecido en 0, entonces el controlador entrará en un bucle infinito en ucan_read_bulk_callback(), colgando el sistema. Si la longitud es 0, simplemente omita el mensaje y pase al siguiente. Esto ha sido corregido en el controlador kvaser_usb en el pasado en el commit 0c73772cd2b8 ('can: kvaser_usb: leaf: Corrección de posible bucle infinito en los analizadores de comandos'), así que debe haber algunos dispositivos defectuosos por ahí como este en algún lugar.

25 Mar 2026, 11:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-25 11:16

Updated : 2026-05-29 14:27


NVD link : CVE-2026-23298

Mitre link : CVE-2026-23298

CVE.ORG link : CVE-2026-23298


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')