Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b3ad8450b4dc46c4ab0641f665068fd2a4d1adba to < 0c04072d3c7d0c9c7a82aa538dbe16854b4366cbaffectedb3ad8450b4dc46c4ab0641f665068fd2a4d1adba to < b3849806c7975e3d8c064674607719ca6b21f181affectedb3ad8450b4dc46c4ab0641f665068fd2a4d1adba to < 90e5d84086d95ac45197028b98ad9059b245fc1caffected
Linux Linux
Default version status: affected
6.17affected0 to < 6.17unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected