CVE-2026-143230: ice: xsk: do not free in-flight frags on XDP_TX completion

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ice: xsk: do not free in-flight frags on XDPTX completion

icexmitxdptxzc() takes the frags of a multi-buffer frame off pool->xskblist but leaves XDPFLAGSHASFRAGS set on the head. When the head completes, xskbufffree() frees whatever is on the list at that point, which are the frags of a frame still being received.

If icexmitxdptxzc() completes such a head while cleaning the ring before sending another frame, xskbuffgetfrag() returns NULL and xskbuffxdpgetdma() dereferences it.

Clear the flag on the head once its frags are on the ring. As xdpgetbufflen() then covers only the head, count Rx bytes before running the XDP program, like libeth does.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In ice XSK XDP_TX completion handling, clear XDP_FLAGS_HAS_FRAGS on the head once its frags are on the ring, so in-flight frags are not freed.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue affects Linux systems using the ice driver with XSK/AF_XDP zero-copy transmission of multi-buffer frames. The described failure path involves XDP_TX completion handling and concurrent receipt of another fragmented frame.

2

What conditions trigger the failure?

A multi-buffer frame's fragments must have been moved from the XSK buffer list to the transmit ring while the head retains XDP_FLAGS_HAS_FRAGS. If that head completes while the ring is cleaned before another frame is sent, fragments belonging to a frame still being received can be freed, leading to a NULL fragment lookup and dereference.

3

What does the fix change?

The fix clears the fragment flag on the frame head after its fragments are placed on the transmit ring, preventing completion from freeing unrelated in-flight fragments. It also counts received bytes before the XDP program runs because the post-change buffer-length calculation covers only the head.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203