[PATCH net v2] net: fix up skbs delta_truesize in UDP GRO frag_list

Eric Dumazet edumazet at google.com
Tue Mar 1 17:22:54 PST 2022


On Tue, Mar 1, 2022 at 3:23 AM lena wang <lena.wang at mediatek.com> wrote:
>
> The truesize for a UDP GRO packet is added by main skb and skbs in main
> skb's frag_list:
> skb_gro_receive_list
>         p->truesize += skb->truesize;
>
>
>
> Fixes: 53475c5dd856 ("net: fix use-after-free when UDP GRO with shared fraglist")
> Signed-off-by: lena wang <lena.wang at mediatek.com>
> Acked-by: Paolo Abeni <pabeni at redhat.com>
> ---
> change since v1:
> 1) add the fix tag.
> 2) add net subtree to the subject
> ---
> ---
>  net/core/skbuff.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Eric Dumazet <edumazet at google.com>



More information about the linux-arm-kernel mailing list