In the Linux kernel, the following vulnerability has been resolved: libeth: xsk: do not free in-flight frags on XDP_TX completion libeth_xsk_tx_queue_bulk() takes the frags of a multi-buffer frame off pool->xskb_list but leaves XDP_FLAGS_HAS_FRAGS set on the head. When the head completes, libeth_xsk_buff_free_slow() frees whatever is on the list at that point. The XDPSQ can be completed by a bulk flush while the frags of a frame are being queued, or by its cleanup timer while a partial Rx frame is stashed. Those frags are then freed while in use, and the frame being queued is sent truncated. Clear the flag on the head once all of its frags are queued.
https://git.kernel.org/stable/c/b3849806c7975e3d8c064674607719ca6b21f181
https://git.kernel.org/stable/c/90e5d84086d95ac45197028b98ad9059b245fc1c
https://git.kernel.org/stable/c/0c04072d3c7d0c9c7a82aa538dbe16854b4366cb