CVE-2026-23298
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23298 is an infinite loop vulnerability in the Linux kernel's ucan (USB CAN) driver that allows a local attacker to hang the system by connecting a malformed USB device. The flaw exists in the ucan_read_bulk_callback() function, which fails to handle messages with a zero-length field, causing an infinite loop that renders the system unresponsive. It affects multiple Linux kernel stable branches from 4.19 up to (but not including) the patched versions. It was published on March 25, 2026, and carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Feedly).

Technical details

The root cause is classified under CWE-606 (Unchecked Input for Loop Condition) and CWE-835 (Loop with Unreachable Exit Condition / Infinite Loop). When the ucan driver's ucan_read_bulk_callback() processes a USB bulk transfer, it iterates over messages using the message length field to advance through the buffer. If a malformed or broken ucan device sends a message with a length of 0, the loop never advances and runs indefinitely, hanging the kernel. The fix adds a check to skip zero-length messages and continue to the next one — analogous to a prior fix applied to the kvaser_usb driver in commit 0c73772cd2b8. Exploitation requires local access and the ability to connect or emulate a malicious USB CAN device (Red Hat CVE).

Impact

Successful exploitation results in a complete denial of service: the system hangs indefinitely due to the infinite loop in the kernel driver, requiring a hard reboot to recover. There is no confidentiality or integrity impact — only availability is affected. The scope is limited to the local system running the vulnerable kernel with ucan driver support enabled (Red Hat CVE).

Mitigation and workarounds

Update the Linux kernel to a patched stable version. Fixed versions include: 5.10.253, 5.15.203, 6.1.167, 6.6.130, 6.12.77, 6.18.17, 6.19.7, and 7.0-rc3. Patches are available via the upstream kernel git repository across multiple stable branches (Red Hat CVE). As a workaround where immediate patching is not possible, restrict physical USB port access and disable the ucan kernel module (modprobe -r ucan) on systems that do not require USB CAN device support. SUSE and Debian have also issued distribution-specific security updates addressing this CVE (SUSE Advisory, Debian DSA).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management