{"id":"CVE-2026-23298","summary":"can: ucan: Fix infinite loop from zero-length messages","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: ucan: Fix infinite loop from zero-length messages\n\nIf a broken ucan device gets a message with the message length field set\nto 0, then the driver will loop for forever in\nucan_read_bulk_callback(), hanging the system.  If the length is 0, just\nskip the message and go on to the next one.\n\nThis has been fixed in the kvaser_usb driver in the past in commit\n0c73772cd2b8 (\"can: kvaser_usb: leaf: Fix potential infinite loop in\ncommand parsers\"), so there must be some broken devices out there like\nthis somewhere.","modified":"2026-04-02T13:12:20.530336Z","published":"2026-03-25T10:26:54.830Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23298.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/13b646eec3ba1131180803f5aaf1fee23540ad8f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1e446fd0582ad8be9f6dafb115fc2e7245f9bea7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ab6f075492d37368b4c7b0df7f7fdc2b666887fc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd85f21a6219aeae4389d700c54f1799f4b814e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7bc62be6c1a60bb21301692009590b1ffda91d9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23298.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23298"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9f2d3eae88d26c29d96e42983b755940d9169cd9"},{"fixed":"ab6f075492d37368b4c7b0df7f7fdc2b666887fc"},{"fixed":"13b646eec3ba1131180803f5aaf1fee23540ad8f"},{"fixed":"bd85f21a6219aeae4389d700c54f1799f4b814e0"},{"fixed":"aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588"},{"fixed":"c7bc62be6c1a60bb21301692009590b1ffda91d9"},{"fixed":"1e446fd0582ad8be9f6dafb115fc2e7245f9bea7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23298.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"6.1.167"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.130"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.77"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23298.json"}}],"schema_version":"1.7.5"}