can: ucan: Fix infinite loop from zero-length messages (Linux Linux)

CVE-2026-23298
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-835 — Boucle dont la condition de sortie est inatteignable (boucle infinie)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 9f2d3eae88d26c29d96e42983b755940d9169cd9 < ca07d3c6eef14d34e6fdeefe55058db045be29dc ; affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 < e7bb6e0606b5f233531aaaad9542d69fbb792115 ; affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 < ab6f075492d37368b4c7b0df7f7fdc2b666887fc ; affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 < 13b646eec3ba1131180803f5aaf1fee23540ad8f ; affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 < bd85f21a6219aeae4389d700c54f1799f4b814e0 ; affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 < aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD