CVE-2026-23298

can: ucan: Fix infinite loop from zero-length messages

No CVSS score yet EPSS 0.15%

Published 25 Mar 2026 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2026-23298

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23298 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.15%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.30% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 9f2d3eae88d26c29d96e42983b755940d9169cd9, before ca07d3c6eef14d34e6fdeefe55058db045be29dc
affected from 9f2d3eae88d26c29d96e42983b755940d9169cd9, before e7bb6e0606b5f233531aaaad9542d69fbb792115
affected from 9f2d3eae88d26c29d96e42983b755940d9169cd9, before ab6f075492d37368b4c7b0df7f7fdc2b666887fc
affected from 9f2d3eae88d26c29d96e42983b755940d9169cd9, before 13b646eec3ba1131180803f5aaf1fee23540ad8f
affected from 9f2d3eae88d26c29d96e42983b755940d9169cd9, before bd85f21a6219aeae4389d700c54f1799f4b814e0
affected from 9f2d3eae88d26c29d96e42983b755940d9169cd9, before aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588
affected from 9f2d3eae88d26c29d96e42983b755940d9169cd9, before c7bc62be6c1a60bb21301692009590b1ffda91d9
affected from 9f2d3eae88d26c29d96e42983b755940d9169cd9, before 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7
Other versions: unaffected
Linux
affected 4.19
unaffected before 4.19
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.167 up to and including 6.1.*
unaffected from 6.6.130 up to and including 6.6.*
unaffected from 6.12.77 up to and including 6.12.*
unaffected from 6.18.17 up to and including 6.18.*
unaffected from 6.19.7 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23298 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23298

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-23298
trivy image --scanners vuln IMAGE | grep CVE-2026-23298

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-23298 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.