Buffer overflow in Linux kernel CAN XL frame handling
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel from 6.1 is affected. The CAN device layer does not drop CAN XL frames on devices without CAN XL support, so frames of 13 to 72 bytes reach drivers that expect classic CAN frames and can overflow a buffer. A local user with low privileges can trigger this through a PF_PACKET socket.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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 now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5 or 7.4-rc2, depending on the branch in use. Red Hat rates it Moderate and lists no fix available for Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 and Red Hat OpenShift Container Platform 5.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99674
- 2026-11-20 Alias added: GHSA-f6h3-jpxj-r8ww
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-22 CVSS score added · CNA
- 2026-11-23 Fix available: Linux/Linux@2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19, Linux/Linux@3b9a1de970054b31958cefc3ac870ce9be00a37f, Linux/Linux@561e44524ef1e0b62675b75c1fc57997ee49431d +5 · CNA
- 2026-11-23 4 new references · CNA
References
Other 6
- https://git.kernel.org/stable/c/3b9a1de970054b31958cefc3ac870ce9be00a37f
- https://git.kernel.org/stable/c/cf888ce290b79831a6029860d772fd128bc798f6
- https://git.kernel.org/stable/c/2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19
- https://git.kernel.org/stable/c/561e44524ef1e0b62675b75c1fc57997ee49431d
- https://git.kernel.org/stable/c/2de9c3df452e159f82ef14ca497e5be407c66493
- https://git.kernel.org/stable/c/0fce44e29fce4b07642491b098afb41bd571e4f2
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99674 · CVE Program
- CVE-2026-99674 · NVD
- FIRST EPSS
- GHSA-f6h3-jpxj-r8ww · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99674 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences