Skip to content
DayZeroHub
High Not yet writtenCVSS 7.8CVE-2026-99674

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

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99674: high-severity vulnerability (CVSS 7.8) in Linux Linux.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.8.

Affected products and versions

Linux Linux >= fb08cba12b52cba4366e858932307649dc5304e2, < 3b9a1de970054b31958cefc3ac870ce9be00a37f; Linux Linux >= fb08cba12b52cba4366e858932307649dc5304e2, < cf888ce290b79831a6029860d772fd128bc798f6; Linux Linux >= fb08cba12b52cba4366e858932307649dc5304e2, < 2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19; Linux Linux >= fb08cba12b52cba4366e858932307649dc5304e2, < 561e44524ef1e0b62675b75c1fc57997ee49431d; Linux Linux >= fb08cba12b52cba4366e858932307649dc5304e2, < 2de9c3df452e159f82ef14ca497e5be407c66493; Linux Linux >= fb08cba12b52cba4366e858932307649dc5304e2, < 0fce44e29fce4b07642491b098afb41bd571e4f2; Linux Linux 6.1; Linux Linux < 6.1; Linux Linux 6.1.193 (fixed in 6.1.193); Linux Linux 6.6.163 (fixed in 6.6.163); Linux Linux 6.12.119 (fixed in 6.12.119); Linux Linux 6.18.65 (fixed in 6.18.65)

ProductVersionsFixed in
Linux Linux>= fb08cba12b52cba4366e858932307649dc5304e2, < 3b9a1de970054b31958cefc3ac870ce9be00a37f—
Linux Linux>= fb08cba12b52cba4366e858932307649dc5304e2, < cf888ce290b79831a6029860d772fd128bc798f6—
Linux Linux>= fb08cba12b52cba4366e858932307649dc5304e2, < 2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19—
Linux Linux>= fb08cba12b52cba4366e858932307649dc5304e2, < 561e44524ef1e0b62675b75c1fc57997ee49431d—
Linux Linux>= fb08cba12b52cba4366e858932307649dc5304e2, < 2de9c3df452e159f82ef14ca497e5be407c66493—
Linux Linux>= fb08cba12b52cba4366e858932307649dc5304e2, < 0fce44e29fce4b07642491b098afb41bd571e4f2—
Linux Linux6.1—
Linux Linux< 6.1—
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1196.12.119
Linux Linux6.18.656.18.65
Linux Linux7.3.57.3.5
Linux Linux7.4-rc27.4-rc2

Action recommended by the source

Upgrade to a fixed version: 6.1.193, 6.12.119, 6.18.65, 6.6.163, 7.3.5, 7.4-rc2.

Fixed in: 6.1.193, 6.12.119, 6.18.65, 6.6.163, 7.3.5, 7.4-rc2

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.