AZL-118619: CVE-2026-143343 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net: stmmac: copy XDP metadata in AFXDP zero-copy RX
stmmacconstructskbzc() reserves headroom for the XDP metadata and records the length reported by the XDP program, but only copies the packet data starting at xdp->data. The bytes in [xdp->datameta, xdp->data) are never copied into the new skb, so the skb advertises metadata that is not there: after ethtypetrans() anchors macheader, datameta points at uninitialized headroom instead of what the program wrote.
Copy the metadata together with the packet data starting at xdp->datameta, leaving skb->data at the start of the frame and the metadata immediately before it, and record its length. This keeps datameta valid for the stack and TC BPF after ethtypetrans() anchors macheader.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
The affected path is stmmac receive processing with AF_XDP zero-copy enabled when an XDP program provides metadata. Systems not using that combination are not described as reaching the vulnerable code path.
What is the practical impact of the metadata handling error?
Metadata located between xdp->data_meta and xdp->data is not copied into the skb even though the skb reports that metadata exists. After eth_type_trans(), the network stack and TC BPF can therefore access uninitialized headroom instead of the metadata written by the XDP program.