Description
In the Linux kernel, the following vulnerability has been resolved: i40e: xsk: fix xsk_buff_add_frag() error handling in Rx When xsk_buff_add_frag() fails, i40e_clean_rx_irq_zc() frees the frame but stays on the current descriptor, so the next poll restarts from the freed head. If the frags array was full, the retry passes on a frame missing the freed frags, with its head already on the free list. If the buffer is a duplicate, every poll fails the same way and the queue stalls. Free the current buffer along with the frame and move on to the next descriptor, as ice does. The rest of the dropped frame is received as a new frame. xp_free() skips a duplicate already freed with the frame.
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
1c9ba9c146589ff3d679b21e5e56b2d25ef43edd to < 6f0f00249de0a4b370b965c02adb51d1e097d8b1affected1c9ba9c146589ff3d679b21e5e56b2d25ef43edd to < 8156557a45183a47309b6606d07c5aad5df4a0a1affected1c9ba9c146589ff3d679b21e5e56b2d25ef43edd to < a259b7ec09efec032d5521dc2eb751a959c11d15affected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected