CVE-2026-23298

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

State
Published
Severity
Not scored
Published
Mar 25, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9f2d3eae88d26c29d96e42983b755940d9169cd9 to before ca07d3c6eef14d34e6fdeefe55058db045be29dcAffected
  • 9f2d3eae88d26c29d96e42983b755940d9169cd9 to before e7bb6e0606b5f233531aaaad9542d69fbb792115Affected
  • 9f2d3eae88d26c29d96e42983b755940d9169cd9 to before ab6f075492d37368b4c7b0df7f7fdc2b666887fcAffected
  • 9f2d3eae88d26c29d96e42983b755940d9169cd9 to before 13b646eec3ba1131180803f5aaf1fee23540ad8fAffected
  • 9f2d3eae88d26c29d96e42983b755940d9169cd9 to before bd85f21a6219aeae4389d700c54f1799f4b814e0Affected
  • 9f2d3eae88d26c29d96e42983b755940d9169cd9 to before aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588Affected
  • 9f2d3eae88d26c29d96e42983b755940d9169cd9 to before c7bc62be6c1a60bb21301692009590b1ffda91d9Affected
  • 9f2d3eae88d26c29d96e42983b755940d9169cd9 to before 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7Affected
LinuxLinux
  • 4.19Affected
  • before 4.19Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.77 through 6.12.*Not affected
  • 6.18.17 through 6.18.*Not affected
  • 6.19.7 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.