CVE-2026-99674 (GCVE-0-2026-99674)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:50 – Updated: 2026-11-23 08:05
VLAI
Title
can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices
Summary
In the Linux kernel, the following vulnerability has been resolved: can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices Sending a PF_PACKET bypasses the CAN framework logic and can directly reach a CAN driver's xmit() function. The PF_PACKET framework only checks that skb->len does not exceed the net_device MTU. For a CAN device that is not CAN XL capable, anything above CANFD_MTU (72 bytes) is therefore dropped before it reaches the driver. However, CAN XL frames are variable length. can_is_canxl_skb() accepts lengths in the range CANXL_HDR_SIZE + CANXL_MIN_DLEN up to CANXL_MTU, i.e. 13 to 2060 bytes. As a result, an ETH_P_CANXL skb with a length between 13 and 72 bytes can pass both the MTU and the can_dropped_invalid_skb() checks. A driver that does not support CAN XL will interpret canxl_frame->flags as a length because of the overlap with can_frame->len. And because CANXL_XLF is set, the resulting length is between 128 and 255. For drivers that do not check can_frame->len before copying can_frame->data, as most drivers do, this results in a buffer overflow of up to 247 bytes. Drop ETH_P_CANXL skbs if the device does not have the CAN_CAP_XL capability. Keep can_is_canxl_skb() for the validation of CAN XL skbs.
Impacted products
Vendor Product Version
Linux Linux Affected: fb08cba12b52cba4366e858932307649dc5304e2 , < 3b9a1de970054b31958cefc3ac870ce9be00a37f (git)
Affected: fb08cba12b52cba4366e858932307649dc5304e2 , < cf888ce290b79831a6029860d772fd128bc798f6 (git)
Affected: fb08cba12b52cba4366e858932307649dc5304e2 , < 2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19 (git)
Affected: fb08cba12b52cba4366e858932307649dc5304e2 , < 561e44524ef1e0b62675b75c1fc57997ee49431d (git)
Affected: fb08cba12b52cba4366e858932307649dc5304e2 , < 2de9c3df452e159f82ef14ca497e5be407c66493 (git)
Affected: fb08cba12b52cba4366e858932307649dc5304e2 , < 0fce44e29fce4b07642491b098afb41bd571e4f2 (git)
Create a notification for this product.
Linux Linux Affected: 6.1
Unaffected: 0 , < 6.1 (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.119 , ≤ 6.12.* (semver)
Unaffected: 6.18.65 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (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/dev/skb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3b9a1de970054b31958cefc3ac870ce9be00a37f",
              "status": "affected",
              "version": "fb08cba12b52cba4366e858932307649dc5304e2",
              "versionType": "git"
            },
            {
              "lessThan": "cf888ce290b79831a6029860d772fd128bc798f6",
              "status": "affected",
              "version": "fb08cba12b52cba4366e858932307649dc5304e2",
              "versionType": "git"
            },
            {
              "lessThan": "2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19",
              "status": "affected",
              "version": "fb08cba12b52cba4366e858932307649dc5304e2",
              "versionType": "git"
            },
            {
              "lessThan": "561e44524ef1e0b62675b75c1fc57997ee49431d",
              "status": "affected",
              "version": "fb08cba12b52cba4366e858932307649dc5304e2",
              "versionType": "git"
            },
            {
              "lessThan": "2de9c3df452e159f82ef14ca497e5be407c66493",
              "status": "affected",
              "version": "fb08cba12b52cba4366e858932307649dc5304e2",
              "versionType": "git"
            },
            {
              "lessThan": "0fce44e29fce4b07642491b098afb41bd571e4f2",
              "status": "affected",
              "version": "fb08cba12b52cba4366e858932307649dc5304e2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/can/dev/skb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.1"
            },
            {
              "lessThan": "6.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.119",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.119",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.65",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncan: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices\n\nSending a PF_PACKET bypasses the CAN framework logic and can directly\nreach a CAN driver\u0027s xmit() function. The PF_PACKET framework only\nchecks that skb-\u003elen does not exceed the net_device MTU.\n\nFor a CAN device that is not CAN XL capable, anything above CANFD_MTU\n(72 bytes) is therefore dropped before it reaches the driver. However,\nCAN XL frames are variable length. can_is_canxl_skb() accepts lengths in\nthe range CANXL_HDR_SIZE + CANXL_MIN_DLEN up to CANXL_MTU, i.e. 13 to\n2060 bytes.\n\nAs a result, an ETH_P_CANXL skb with a length between 13 and 72 bytes\ncan pass both the MTU and the can_dropped_invalid_skb() checks.\n\nA driver that does not support CAN XL will interpret canxl_frame-\u003eflags\nas a length because of the overlap with can_frame-\u003elen. And because\nCANXL_XLF is set, the resulting length is between 128 and 255. For\ndrivers that do not check can_frame-\u003elen before copying can_frame-\u003edata,\nas most drivers do, this results in a buffer overflow of up to 247\nbytes.\n\nDrop ETH_P_CANXL skbs if the device does not have the CAN_CAP_XL\ncapability. Keep can_is_canxl_skb() for the validation of CAN XL skbs."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bad bytes are a local TX_SEND payload copied in bcm_tx_send() (or a PF_PACKET buffer in packet_snd()), not a frame read off the CAN wire. can_send() sets skb-\u003eprotocol to ETH_P_CANXL and dev_queue_xmit() reaches ndo_start_xmit, which calls can_dropped_invalid_skb().\nAC:L - The sender sets canxl_frame.flags with CANXL_XLF and the u16 at canxl_frame.len so a 16-byte skb (72 bytes if the device MTU is CANFD_MTU) passes can_is_canxl_skb() and the MTU check. The driver then uses that flags byte as can_frame.len with no race or hardware fault required.\nPR:L - can_create() and bcm_connect() do not call capable(). An unprivileged user can socket(PF_CAN, SOCK_DGRAM, CAN_BCM), connect to an up non-XL CAN netdev, and TX_SEND; bcm_tx_send() calls can_send() and skips raw_check_txframe()\u0027s CAN_CAP_XL rejection. CAP_NET_RAW is not required.\nUI:N - The attacker connects their own BCM socket and issues TX_SEND. No other user must mount media or confirm a prompt; an already-up CAN interface is the operating state of the controller, not a victim action.\nS:U - The overflow stays in the kernel that owns the CAN netdev: softing_netdev_start_xmit() smashes a stack buffer, and gs_can_start_xmit() and usb_8dev_start_xmit() overflow kmalloc or DMA objects. That is host kernel memory corruption, not a guest-to-host or IOMMU crossing.\nC:H - cf-\u003elen is canxl_frame.flags (128\u2013255) while the skb from bcm_tx_send() is only CAN_MTU (16) or CANFD_MTU (72). gs_can_start_xmit() and usb_8dev_start_xmit() memcpy that many bytes from cf-\u003edata, reading skb tailroom and skb_shared_info into the overflowed object.\nI:H - can_dropped_invalid_skb() accepts the ETH_P_CANXL skb when CAN_CAP_XL is absent. usb_8dev_start_xmit() then memcpy()s cf-\u003elen bytes into usb_8dev_tx_msg.data[8] inside a 16-byte buffer, gs_can_start_xmit() into classic_can.data[8], and softing_netdev_start_xmit() into a 16-byte stack buf.\nA:H - The same copy runs off the skb and the fixed 8-byte or 16-byte destination and oopses or panics the kernel. sja1000_start_xmit() also does for (i = 0; i \u003c cf-\u003elen; i++) priv-\u003ewrite_reg(), writing past the 8-byte TX mailbox."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:05:50.299Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3b9a1de970054b31958cefc3ac870ce9be00a37f"
        },
        {
          "url": "https://git.kernel.org/stable/c/cf888ce290b79831a6029860d772fd128bc798f6"
        },
        {
          "url": "https://git.kernel.org/stable/c/2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19"
        },
        {
          "url": "https://git.kernel.org/stable/c/561e44524ef1e0b62675b75c1fc57997ee49431d"
        },
        {
          "url": "https://git.kernel.org/stable/c/2de9c3df452e159f82ef14ca497e5be407c66493"
        },
        {
          "url": "https://git.kernel.org/stable/c/0fce44e29fce4b07642491b098afb41bd571e4f2"
        }
      ],
      "title": "can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99674",
    "datePublished": "2026-11-20T05:50:22.677Z",
    "dateReserved": "2026-09-25T10:25:14.428Z",
    "dateUpdated": "2026-11-23T08:05:50.299Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99674",
      "date": "2026-11-24",
      "epss": "0.00178",
      "percentile": "0.07324"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-25T01:07:28.000Z",
      "cve": "CVE-2026-99674",
      "id": "msrc_CVE-2026-99674",
      "initial_release_date": "2026-11-20T18:08:37.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99674.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/can/dev/skb.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "3b9a1de970054b31958cefc3ac870ce9be00a37f",
                    "status": "affected",
                    "version": "fb08cba12b52cba4366e858932307649dc5304e2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "cf888ce290b79831a6029860d772fd128bc798f6",
                    "status": "affected",
                    "version": "fb08cba12b52cba4366e858932307649dc5304e2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19",
                    "status": "affected",
                    "version": "fb08cba12b52cba4366e858932307649dc5304e2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "561e44524ef1e0b62675b75c1fc57997ee49431d",
                    "status": "affected",
                    "version": "fb08cba12b52cba4366e858932307649dc5304e2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2de9c3df452e159f82ef14ca497e5be407c66493",
                    "status": "affected",
                    "version": "fb08cba12b52cba4366e858932307649dc5304e2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0fce44e29fce4b07642491b098afb41bd571e4f2",
                    "status": "affected",
                    "version": "fb08cba12b52cba4366e858932307649dc5304e2",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/can/dev/skb.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.1"
                  },
                  {
                    "lessThan": "6.1",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.119",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.65",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncan: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices\n\nSending a PF_PACKET bypasses the CAN framework logic and can directly\nreach a CAN driver\u0027s xmit() function. The PF_PACKET framework only\nchecks that skb-\u003elen does not exceed the net_device MTU.\n\nFor a CAN device that is not CAN XL capable, anything above CANFD_MTU\n(72 bytes) is therefore dropped before it reaches the driver. However,\nCAN XL frames are variable length. can_is_canxl_skb() accepts lengths in\nthe range CANXL_HDR_SIZE + CANXL_MIN_DLEN up to CANXL_MTU, i.e. 13 to\n2060 bytes.\n\nAs a result, an ETH_P_CANXL skb with a length between 13 and 72 bytes\ncan pass both the MTU and the can_dropped_invalid_skb() checks.\n\nA driver that does not support CAN XL will interpret canxl_frame-\u003eflags\nas a length because of the overlap with can_frame-\u003elen. And because\nCANXL_XLF is set, the resulting length is between 128 and 255. For\ndrivers that do not check can_frame-\u003elen before copying can_frame-\u003edata,\nas most drivers do, this results in a buffer overflow of up to 247\nbytes.\n\nDrop ETH_P_CANXL skbs if the device does not have the CAN_CAP_XL\ncapability. Keep can_is_canxl_skb() for the validation of CAN XL skbs."
          }
        ],
        "id": "CVE-2026-99674",
        "lastModified": "2026-11-23T08:18:08.227",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-20T06:18:02.090",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0fce44e29fce4b07642491b098afb41bd571e4f2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2de9c3df452e159f82ef14ca497e5be407c66493"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3b9a1de970054b31958cefc3ac870ce9be00a37f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/561e44524ef1e0b62675b75c1fc57997ee49431d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/cf888ce290b79831a6029860d772fd128bc798f6"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-24T23:44:11+00:00",
      "cve": "CVE-2026-99674",
      "id": "CVE-2026-99674",
      "initial_release_date": "2026-11-20T05:50:22.677000+00:00",
      "product_status:known_affected": "189",
      "product_status:known_not_affected": "91",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Buffer overflow via invalid CAN XL frames on non-CAN XL devices",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99674.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-11-23T17:32:06Z",
      "cve": "CVE-2026-99674",
      "id": "CVE-2026-99674",
      "initial_release_date": "2026-11-20T17:42:57Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99674",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99674.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…