ice: xsk: do not free in-flight frags on XDP_TX completion
- CVE-2026-143230
- GHSA-q8hg-c823-c4jp
- EUVD-2026-142880
Description
In the Linux kernel, the following vulnerability has been resolved: ice: xsk: do not free in-flight frags on XDP_TX completion ice_xmit_xdp_tx_zc() 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, xsk_buff_free() frees whatever is on the list at that point, which are the frags of a frame still being received. If ice_xmit_xdp_tx_zc() completes such a head while cleaning the ring before sending another frame, xsk_buff_get_frag() returns NULL and xsk_buff_xdp_get_dma() dereferences it. Clear the flag on the head once its frags are on the ring. As xdp_get_buff_len() then covers only the head, count Rx bytes before running the XDP program, like libeth does.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 6.6 none stated before 6.6: not affected none stated from 6.18.66 up to 6.18.*: not affected none stated from 7.3.7 up to 7.3.*: not affected none stated from 7.4-rc3 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.