CVE-2026-23298 (GCVE-0-2026-23298)

Vulnerability from cvelistv5 – Published: 2026-03-25 10:26 – Updated: 2026-04-18 08:57
VLAI?
Title
can: ucan: Fix infinite loop from zero-length messages
Summary
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 9f2d3eae88d26c29d96e42983b755940d9169cd9 , < ca07d3c6eef14d34e6fdeefe55058db045be29dc (git)
Affected: 9f2d3eae88d26c29d96e42983b755940d9169cd9 , < e7bb6e0606b5f233531aaaad9542d69fbb792115 (git)
Affected: 9f2d3eae88d26c29d96e42983b755940d9169cd9 , < ab6f075492d37368b4c7b0df7f7fdc2b666887fc (git)
Affected: 9f2d3eae88d26c29d96e42983b755940d9169cd9 , < 13b646eec3ba1131180803f5aaf1fee23540ad8f (git)
Affected: 9f2d3eae88d26c29d96e42983b755940d9169cd9 , < bd85f21a6219aeae4389d700c54f1799f4b814e0 (git)
Affected: 9f2d3eae88d26c29d96e42983b755940d9169cd9 , < aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588 (git)
Affected: 9f2d3eae88d26c29d96e42983b755940d9169cd9 , < c7bc62be6c1a60bb21301692009590b1ffda91d9 (git)
Affected: 9f2d3eae88d26c29d96e42983b755940d9169cd9 , < 1e446fd0582ad8be9f6dafb115fc2e7245f9bea7 (git)
Create a notification for this product.
    Linux Linux Affected: 4.19
Unaffected: 0 , < 4.19 (semver)
Unaffected: 5.10.253 , ≤ 5.10.* (semver)
Unaffected: 5.15.203 , ≤ 5.15.* (semver)
Unaffected: 6.1.167 , ≤ 6.1.* (semver)
Unaffected: 6.6.130 , ≤ 6.6.* (semver)
Unaffected: 6.12.77 , ≤ 6.12.* (semver)
Unaffected: 6.18.17 , ≤ 6.18.* (semver)
Unaffected: 6.19.7 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-23298",
      "date": "2026-04-24",
      "epss": "0.00032",
      "percentile": "0.09294"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-23298\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-03-25T11:16:25.320\",\"lastModified\":\"2026-04-18T09:16:17.590\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\\n\\ncan: ucan: Correcci\u00f3n de bucle infinito por mensajes de longitud cero\\n\\nSi un dispositivo ucan defectuoso recibe un mensaje con el campo de longitud del mensaje establecido en 0, entonces el controlador entrar\u00e1 en un bucle infinito en ucan_read_bulk_callback(), colgando el sistema. Si la longitud es 0, simplemente omita el mensaje y pase al siguiente.\\n\\nEsto ha sido corregido en el controlador kvaser_usb en el pasado en el commit 0c73772cd2b8 (\u0027can: kvaser_usb: leaf: Correcci\u00f3n de posible bucle infinito en los analizadores de comandos\u0027), as\u00ed que debe haber algunos dispositivos defectuosos por ah\u00ed como este en alg\u00fan lugar.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/13b646eec3ba1131180803f5aaf1fee23540ad8f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1e446fd0582ad8be9f6dafb115fc2e7245f9bea7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aa9e0a7fe5efc2f74327fd37d828e9a51d9ff588\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ab6f075492d37368b4c7b0df7f7fdc2b666887fc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bd85f21a6219aeae4389d700c54f1799f4b814e0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c7bc62be6c1a60bb21301692009590b1ffda91d9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ca07d3c6eef14d34e6fdeefe55058db045be29dc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e7bb6e0606b5f233531aaaad9542d69fbb792115\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…