[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180622.071828.1940755549930973800.davem@davemloft.net>
Date: Fri, 22 Jun 2018 07:18:28 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, willemb@...gle.com
Subject: Re: [PATCH net] net/packet: fix use-after-free
From: Eric Dumazet <edumazet@...gle.com>
Date: Thu, 21 Jun 2018 14:16:02 -0700
> We should put copy_skb in receive_queue only after
> a successful call to virtio_net_hdr_from_skb().
>
> syzbot report :
...
> Fixes: 58d19b19cd99 ("packet: vnet_hdr support for tpacket_rcv")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
> Cc: Willem de Bruijn <willemb@...gle.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists