Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99674

published high CVSS 3.1 · 7.8

can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices

Published
20 Nov 2026, 05:50:22 UTC
Updated
23 Nov 2026, 08:05:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxfb08cba12b52cba4366e858932307649dc5304e2 to < 3b9a1de970054b31958cefc3ac870ce9be00a37f · fb08cba12b52cba4366e858932307649dc5304e2 to < cf888ce290b79831a6029860d772fd128bc798f6 · fb08cba12b52cba4366e858932307649dc5304e2 to < 2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19 · fb08cba12b52cba4366e858932307649dc5304e2 to < 561e44524ef1e0b62675b75c1fc57997ee49431d · fb08cba12b52cba4366e858932307649dc5304e2 to < 2de9c3df452e159f82ef14ca497e5be407c66493 · fb08cba12b52cba4366e858932307649dc5304e2 to < 0fce44e29fce4b07642491b098afb41bd571e4f2 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: 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->protocol to ETH_P_CANXL and dev_queue_xmit() reaches ndo_start_xmit, which calls can_dropped_invalid_skb(). AC: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. PR: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()'s CAN_CAP_XL rejection. CAP_NET_RAW is not required. UI: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. S: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. C:H - cf->len is canxl_frame.flags (128–255) 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->data, reading skb tailroom and skb_shared_info into the overflowed object. I: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->len 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. A: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 < cf->len; i++) priv->write_reg(), writing past the 8-byte TX mailbox.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux fb08cba12b52cba4366e858932307649dc5304e2 to < 3b9a1de970054b31958cefc3ac870ce9be00a37f (affected · git)fb08cba12b52cba4366e858932307649dc5304e2 to < cf888ce290b79831a6029860d772fd128bc798f6 (affected · git)fb08cba12b52cba4366e858932307649dc5304e2 to < 2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19 (affected · git)fb08cba12b52cba4366e858932307649dc5304e2 to < 561e44524ef1e0b62675b75c1fc57997ee49431d (affected · git)fb08cba12b52cba4366e858932307649dc5304e2 to < 2de9c3df452e159f82ef14ca497e5be407c66493 (affected · git)fb08cba12b52cba4366e858932307649dc5304e2 to < 0fce44e29fce4b07642491b098afb41bd571e4f2 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices

Provenance

Schema
5.2
Searchable
yes
Content hash
fd29adf291f5daaadbf5390b08fc65512a667cc36d7d9f496dc59b6dad384cb4
Ingested
23 Nov 2026, 14:37:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected