> -----Original Message-----
> From: Björn Töpel [mailto:[email protected]]
> Sent: Tuesday, August 25, 2020 5:16 PM
> To: [email protected]; [email protected]
> Cc: Björn Töpel <[email protected]>; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; Li,Rongqing <[email protected]>
> Subject: [PATCH net 3/3] ice: avoid premature Rx buffer reuse
> 
> From: Björn Töpel <[email protected]>
> 
> The page recycle code, incorrectly, relied on that a page fragment could not 
> be
> freed inside xdp_do_redirect(). This assumption leads to that page fragments
> that are used by the stack/XDP redirect can be reused and overwritten.
> 
> To avoid this, store the page count prior invoking xdp_do_redirect().
> 
> Fixes: efc2214b6047 ("ice: Add support for XDP")
> Signed-off-by: Björn Töpel <[email protected]>


Reported-and-analyzed-by: Li RongQing <[email protected]>

Thanks

-Li

Reply via email to