{"api_version":"1","generated_at":"2026-04-19T01:14:03+00:00","cve":"CVE-2026-23298","urls":{"html":"https://cve.report/CVE-2026-23298","api":"https://cve.report/api/cve/CVE-2026-23298.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-23298","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-23298"},"summary":{"title":"can: ucan: Fix infinite loop from zero-length messages","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-03-25 11:16:25","updated_at":"2026-04-18 09:16:17"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ab6f075492d37368b4c7b0df7f7fdc2b666887fc","name":"https://git.kernel.org/stable/c/ab6f075492d37368b4c7b0df7f7fdc2b666887fc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/13b646eec3ba1131180803f5aaf1fee23540ad8f","name":"https://git.kernel.org/stable/c/13b646eec3ba1131180803f5aaf1fee23540ad8f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e7bb6e0606b5f233531aaaad9542d69fbb792115","name":"https://git.kernel.org/stable/c/e7bb6e0606b5f233531aaaad9542d69fbb792115","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588","name":"https://git.kernel.org/stable/c/aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ca07d3c6eef14d34e6fdeefe55058db045be29dc","name":"https://git.kernel.org/stable/c/ca07d3c6eef14d34e6fdeefe55058db045be29dc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1e446fd0582ad8be9f6dafb115fc2e7245f9bea7","name":"https://git.kernel.org/stable/c/1e446fd0582ad8be9f6dafb115fc2e7245f9bea7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bd85f21a6219aeae4389d700c54f1799f4b814e0","name":"https://git.kernel.org/stable/c/bd85f21a6219aeae4389d700c54f1799f4b814e0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c7bc62be6c1a60bb21301692009590b1ffda91d9","name":"https://git.kernel.org/stable/c/c7bc62be6c1a60bb21301692009590b1ffda91d9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-23298","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23298","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 ca07d3c6eef14d34e6fdeefe55058db045be29dc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 e7bb6e0606b5f233531aaaad9542d69fbb792115 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 ab6f075492d37368b4c7b0df7f7fdc2b666887fc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 13b646eec3ba1131180803f5aaf1fee23540ad8f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 bd85f21a6219aeae4389d700c54f1799f4b814e0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 c7bc62be6c1a60bb21301692009590b1ffda91d9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9f2d3eae88d26c29d96e42983b755940d9169cd9 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.253 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.203 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.167 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.130 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.77 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.17 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.7 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"23298","cve":"CVE-2026-23298","epss":"0.000320000","percentile":"0.090980000","score_date":"2026-04-18","updated_at":"2026-04-19 00:10:43"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/can/usb/ucan.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ca07d3c6eef14d34e6fdeefe55058db045be29dc","status":"affected","version":"9f2d3eae88d26c29d96e42983b755940d9169cd9","versionType":"git"},{"lessThan":"e7bb6e0606b5f233531aaaad9542d69fbb792115","status":"affected","version":"9f2d3eae88d26c29d96e42983b755940d9169cd9","versionType":"git"},{"lessThan":"ab6f075492d37368b4c7b0df7f7fdc2b666887fc","status":"affected","version":"9f2d3eae88d26c29d96e42983b755940d9169cd9","versionType":"git"},{"lessThan":"13b646eec3ba1131180803f5aaf1fee23540ad8f","status":"affected","version":"9f2d3eae88d26c29d96e42983b755940d9169cd9","versionType":"git"},{"lessThan":"bd85f21a6219aeae4389d700c54f1799f4b814e0","status":"affected","version":"9f2d3eae88d26c29d96e42983b755940d9169cd9","versionType":"git"},{"lessThan":"aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588","status":"affected","version":"9f2d3eae88d26c29d96e42983b755940d9169cd9","versionType":"git"},{"lessThan":"c7bc62be6c1a60bb21301692009590b1ffda91d9","status":"affected","version":"9f2d3eae88d26c29d96e42983b755940d9169cd9","versionType":"git"},{"lessThan":"1e446fd0582ad8be9f6dafb115fc2e7245f9bea7","status":"affected","version":"9f2d3eae88d26c29d96e42983b755940d9169cd9","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/can/usb/ucan.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.19"},{"lessThan":"4.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.253","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.203","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.167","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.130","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.77","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.17","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.253","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.203","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.167","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.130","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.77","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.17","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.7","versionStartIncluding":"4.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"4.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-04-18T08:57:46.166Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ca07d3c6eef14d34e6fdeefe55058db045be29dc"},{"url":"https://git.kernel.org/stable/c/e7bb6e0606b5f233531aaaad9542d69fbb792115"},{"url":"https://git.kernel.org/stable/c/ab6f075492d37368b4c7b0df7f7fdc2b666887fc"},{"url":"https://git.kernel.org/stable/c/13b646eec3ba1131180803f5aaf1fee23540ad8f"},{"url":"https://git.kernel.org/stable/c/bd85f21a6219aeae4389d700c54f1799f4b814e0"},{"url":"https://git.kernel.org/stable/c/aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588"},{"url":"https://git.kernel.org/stable/c/c7bc62be6c1a60bb21301692009590b1ffda91d9"},{"url":"https://git.kernel.org/stable/c/1e446fd0582ad8be9f6dafb115fc2e7245f9bea7"}],"title":"can: ucan: Fix infinite loop from zero-length messages","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-23298","datePublished":"2026-03-25T10:26:54.830Z","dateReserved":"2026-01-13T15:37:45.993Z","dateUpdated":"2026-04-18T08:57:46.166Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-03-25 11:16:25","lastModifiedDate":"2026-04-18 09:16:17","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"23298","Ordinal":"1","Title":"can: ucan: Fix infinite loop from zero-length messages","CVE":"CVE-2026-23298","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"23298","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"can: ucan: Fix infinite loop from zero-length messages"}]}}}