Description
In the Linux kernel, the following vulnerability has been resolved: ice: xsk: free stashed Rx frame when cleaning the ring ice_clean_rx_irq_zc() stashes a partially received multi-buffer frame in rx_ring->xsk, with its frags on pool->xskb_list. next_to_clean is already past its buffers, so ice_xsk_clean_rx_ring(), which walks next_to_clean..next_to_use, misses the frame, and ice_vsi_cfg_rxq() later clears the pointer via ring->xdp.data. The buffers are lost to user space and, as the pool outlives the ring across ifdown/ifup or a reset, the stale frags are taken as frags of the next frame. Before commit 93f53db9f9dc ("ice: switch to Page Pool"), the frame was tracked by rx_ring->first_desc and leaked the same way. Free the stashed frame when cleaning the ring.
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
1bbc04de607babfca7374d374960e20ebb20813f to < 816bb1819892fa400a652b46940eda6d02d0a295affected1bbc04de607babfca7374d374960e20ebb20813f to < 63140d3a351079f6dc2b257f89a0fe68c8b9626daffected1bbc04de607babfca7374d374960e20ebb20813f to < d5e7a86b7cd6c38a628635baace7eb2fdce14a43affected
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