← All Advisories
Reported from OT-Advisories.com as of

CAN XL Frames Sent Through PF_PACKET Can Reach Non-CAN-XL Linux Kernel Drivers Directly

Last refreshed2026-11-23

Status: UPDATED  |  Advisory ID: CVE-2026-99674

Key Details

CVECVE-2026-99674
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-22
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-99674
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-99674
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.