7.8

CVE-2026-99674

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

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version fb08cba12b52cba4366e858932307649dc5304e2
Version < 3b9a1de970054b31958cefc3ac870ce9be00a37f
Status affected
Version fb08cba12b52cba4366e858932307649dc5304e2
Version < cf888ce290b79831a6029860d772fd128bc798f6
Status affected
Version fb08cba12b52cba4366e858932307649dc5304e2
Version < 2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19
Status affected
Version fb08cba12b52cba4366e858932307649dc5304e2
Version < 561e44524ef1e0b62675b75c1fc57997ee49431d
Status affected
Version fb08cba12b52cba4366e858932307649dc5304e2
Version < 2de9c3df452e159f82ef14ca497e5be407c66493
Status affected
Version fb08cba12b52cba4366e858932307649dc5304e2
Version < 0fce44e29fce4b07642491b098afb41bd571e4f2
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.1
Status affected
Version 0
Version < 6.1
Status unaffected
Version <= 6.1.*
Version 6.1.193
Status unaffected
Version <= 6.6.*
Version 6.6.163
Status unaffected
Version <= 6.12.*
Version 6.12.119
Status unaffected
Version <= 6.18.*
Version 6.18.65
Status unaffected
Version <= 7.3.*
Version 7.3.5
Status unaffected
Version <= *
Version 7.4-rc2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.094
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/2de9c3df452e159f82ef14ca497e5be407c66493
https://git.kernel.org/stable/c/0fce44e29fce4b07642491b098afb41bd571e4f2
https://git.kernel.org/stable/c/2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19
https://git.kernel.org/stable/c/3b9a1de970054b31958cefc3ac870ce9be00a37f
https://git.kernel.org/stable/c/561e44524ef1e0b62675b75c1fc57997ee49431d
https://git.kernel.org/stable/c/cf888ce290b79831a6029860d772fd128bc798f6