# CVE-2026-23298: can: ucan: Fix infinite loop from zero-length messages

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **CWE:** CWE-835
- **Published:** 2026-03-25T10:26:54.830Z
- **Modified:** 2026-11-05T22:18:12.747Z

## Who should check

- Anyone running Linux \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< ca07d3c6eef14d34e6fdeefe55058db045be29dc; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< e7bb6e0606b5f233531aaaad9542d69fbb792115; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< ab6f075492d37368b4c7b0df7f7fdc2b666887fc; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< 13b646eec3ba1131180803f5aaf1fee23540ad8f; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< bd85f21a6219aeae4389d700c54f1799f4b814e0; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< c7bc62be6c1a60bb21301692009590b1ffda91d9; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7
- Anyone running Linux 4.19

## 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.

## Affected and fixed versions

- Linux: \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< ca07d3c6eef14d34e6fdeefe55058db045be29dc; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< e7bb6e0606b5f233531aaaad9542d69fbb792115; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< ab6f075492d37368b4c7b0df7f7fdc2b666887fc; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< 13b646eec3ba1131180803f5aaf1fee23540ad8f; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< bd85f21a6219aeae4389d700c54f1799f4b814e0; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< c7bc62be6c1a60bb21301692009590b1ffda91d9; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23298. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23298.md
Affected: Linux >= 9f2d3eae88d26c29d96e42983b755940d9169cd9, < ca07d3c6eef14d34e6fdeefe55058db045be29dc; >= 9f2d3eae88d26c29d96e42983b755940d9169cd9, < e7bb6e0606b5f233531aaaad9542d69fbb792115; >= 9f2d3eae88d26c29d96e42983b755940d9169cd9, < ab6f075492d37368b4c7b0df7f7fdc2b666887fc; >= 9f2d3eae88d26c29d96e429…
Fixed in: Linux 13b646eec3ba1131180803f5aaf1fee23540ad8f, Linux 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23298 being exploited?

There is no confirmed exploitation: CVE-2026-23298 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-23298?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23298?

Linux \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< ca07d3c6eef14d34e6fdeefe55058db045be29dc; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< e7bb6e0606b5f233531aaaad9542d69fbb792115; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< ab6f075492d37368b4c7b0df7f7fdc2b666887fc; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< 13b646eec3ba1131180803f5aaf1fee23540ad8f; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< bd85f21a6219aeae4389d700c54f1799f4b814e0; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< c7bc62be6c1a60bb21301692009590b1ffda91d9; \>= 9f2d3eae88d26c29d96e42983b755940d9169cd9, \< 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7; Linux 4.19.

### Is there a fix for CVE-2026-23298?

Yes. Fixed in Linux 13b646eec3ba1131180803f5aaf1fee23540ad8f, Linux 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7. Upgrade Linux to 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7 or later.

### How do I check if I'm affected by CVE-2026-23298?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ca07d3c6eef14d34e6fdeefe55058db045be29dc>
- patch: <https://git.kernel.org/stable/c/e7bb6e0606b5f233531aaaad9542d69fbb792115>
- patch: <https://git.kernel.org/stable/c/ab6f075492d37368b4c7b0df7f7fdc2b666887fc>
- patch: <https://git.kernel.org/stable/c/13b646eec3ba1131180803f5aaf1fee23540ad8f>
- patch: <https://git.kernel.org/stable/c/bd85f21a6219aeae4389d700c54f1799f4b814e0>
- patch: <https://git.kernel.org/stable/c/aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588>
- patch: <https://git.kernel.org/stable/c/c7bc62be6c1a60bb21301692009590b1ffda91d9>
- patch: <https://git.kernel.org/stable/c/1e446fd0582ad8be9f6dafb115fc2e7245f9bea7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23298>

HTML: <https://flawdb.com/CVE-2026-23298> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23298>
