Vulnerability record
net: stmmac: drop multi-buffer frames in XDP mode
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…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources