CVE-2026-143228: i40e: xsk: fix multi-buffer XDP_PASS skb construction
In the Linux kernel, the following vulnerability has been resolved:
i40e: xsk: fix multi-buffer XDPPASS skb construction
When AFXDP ZC receives a multi-buffer frame and the XDP program returns XDPPASS, i40econstructskbzc() copies frags into a new skb. The copy used skbfragpage() as the memcpy source (page metadata instead of packet data) and passed a virtual address to skbfillpagedescnoacc(), which expects a struct page .
Use skbfragaddress() for the copy, attach frags with skbaddrxfrag() so len/datalen/truesize are updated, and on devallocpage() failure free the skb via the shared out path so xskbufffree() still runs and previously attached pages are released by kfreeskb.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux i40e driver with AF_XDP zero-copy receive, handling multi-buffer frames, are affected when their XDP program returns XDP_PASS. The issue is in the receive path that constructs an skb from those frames.
What conditions are required to trigger the vulnerable path?
An AF_XDP zero-copy socket must receive a multi-buffer frame through i40e, and the associated XDP program must return XDP_PASS. The provided data does not indicate that ordinary i40e traffic without this AF_XDP/XDP configuration reaches the affected path.
What can be done if an update cannot be applied immediately?
Avoid the affected combination by not using AF_XDP zero-copy multi-buffer receive with i40e, or ensure the relevant XDP program does not return XDP_PASS for those frames. This removes the described skb-construction path.
How can administrators determine whether they are affected?
Review whether i40e interfaces are used with AF_XDP in zero-copy mode and whether they process multi-buffer frames with an XDP program that can return XDP_PASS. The supplied information does not provide affected kernel version ranges.