What it is
A flaw in the Linux kernel's driver for Synopsys network chips (stmmac, common on embedded boards) mishandles large packets split across several receive slots when an XDP packet filtering program is attached. A device on the same local network can send such packets, which can make the kernel build a packet with an enormous false length, pass fragments on as packets of their own, or send out cut short ones.
Written in plain English by AI from the official record. Show the official wording
In the Linux kernel, the following vulnerability has been resolved: net: stmmac: drop multi-buffer frames in XDP mode stmmac_rx() runs the XDP program once per descriptor buffer and uses skb == NULL as the only marker for the start of a frame. A frame larger than one buffer is split by the hardware across several descriptors; GMAC4 enables jumbo frames unconditionally (GMAC_CONFIG_JE in GMAC_CORE_INIT), so an on-link peer can deliver such a frame even when the interface MTU is left at 1500. When an XDP verdict ends a non-last descriptor, skb is cleared and the next descriptor of the same hardware frame is parsed as a new frame. For XDP_CONSUMED this happens via read_again with len preserved, so stmmac_rx_buf1_len() then returns min(dma_buf_sz, plen - len) for the last descriptor, which can be as small as 0-3 bytes. buf1_len -= ETH_FCS_LEN underflows and xdp_prepare_buff() puts data_end far past data; on XDP_PASS this produces an skb whose length is close to 4G that reaches the network stack (skb->tail and skb->len are 32-bit and wrap below skb->end, so skb_over_panic() does not fire). A 4+ byte tail is instead offered to the XDP program and delivered as a standalone mid-payload Ethernet frame on XDP_PASS. XDP_TX/XDP_REDIRECT instead falls through to the next iteration, resetting the running length, so the tail is re-parsed as a full-size new frame. The same fault exists when a single descriptor uses its second buffer: buffer2 is now handed to the hardware for non-SPH frames on GMAC4/XGMAC, so a frame up to 2 * dma_buf_sz can land on a single descriptor while the XDP program still only sees the first buffer. XDP_TX then transmits a truncated frame, and XDP_PASS appends the second buffer only after the program has already run over the first one. XDP does not support scatter-gather frames until the multi-buffer rework, so drop the whole frame instead. When a non-last descriptor is seen while an XDP program is attached, mark the frame as errored and drain the remaining descriptors, including the last. A descriptor that uses its second buffer is dropped directly before the program runs as well; in XDP mode it is necessarily the last descriptor of the frame, so it does not need the error marker. Removing the re-parse lets both XDP verdict branches simply complete the packet via next. The buffers consumed by the discard path are no longer returned to the page pool, and the new SG and second-buffer drops do not return them either. They stay in rx_q->buf_pool[] and stmmac_rx_refill() reuses them in place, allocating only when a slot is empty. This is safe because the drop checks run before the buffer is synced for CPU access or prefetched. The discard-path change and the in-place reuse apply with or without an XDP program attached. The !error guard on the discard check also changes the accounting for errored multi-descriptor frames on dwmac100/dwmac1000: rx_errors is incremented once per frame instead of once per descriptor. This too is independent of XDP mode. Note: the subsequent "net: stmmac: rework stmmac_rx to support XDP rx multi-buff" accumulates the whole frame into a single xdp_buff and supersedes this patch; the fix is kept so the net portion of the series stands on its own.
Chance of being attacked in the next 30 days: 0.3 % (EPSS).
What it affects, and the version that fixes it
- Linux Kernel Each release has its own fixed version: 6.18.66, 7.3.7, 7.4-rc2.
The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.
Others attackers have used in the same products
-
CVE-2026-46300 Oct 28, 2026
A flaw in how the Linux kernel merges incoming network data can make it decrypt data on top of a file's cached contents, changing them. Someone already signed in can use it, and CISA says it can be combined with two other problems to plant web shells and run commands with full control. Attackers are already using this problem.
-
CVE-2026-53266 Sep 18, 2026
A flaw in the Linux kernel's network bridge filtering lets an address rewrite write into a file's cached contents rather than the network packet. Someone already signed in can use this to change files they should not be able to change. Attackers are already using this problem.
-
CVE-2025-39964 Sep 18, 2026
A timing flaw in the Linux kernel's encryption interface for programs lets two writes at once leave it in an inconsistent state. Someone already signed in to the computer can trigger it. The kernel's record gives few details of what an attacker could do. Attackers are already using this problem.
-
CVE-2025-39682 Sep 18, 2026
A flaw in how the Linux kernel receives encrypted (TLS) network data mishandles an empty record, so later data can be processed the wrong way. The kernel's record gives few details of what an attacker could do. Attackers are already using this problem, and CISA notes some affected systems may be past their support life.
-
CVE-2026-53362 Aug 27, 2026
A flaw in how the Linux kernel builds IPv6 network packets lets a user with no special rights write past the memory set aside for them. CISA says this can be used to gain full control of the system, and attackers are already using it. It can affect many products built on Linux, including SUSE and Red Hat.