Re: [PATCH net] net: sched: fix uses after free

2018-03-14 Thread Eric Dumazet
On Wed, Mar 14, 2018 at 6:48 PM Eric Dumazet wrote: > syzbot reported one use-after-free in pfifo_fast_enqueue() [1] > Issue here is that we can not reuse skb after a successful skb_array_produce() > since another cpu might have consumed it already. > I believe a similar problem exists in try_b

[PATCH net] net: sched: fix uses after free

2018-03-14 Thread Eric Dumazet
syzbot reported one use-after-free in pfifo_fast_enqueue() [1] Issue here is that we can not reuse skb after a successful skb_array_produce() since another cpu might have consumed it already. I believe a similar problem exists in try_bulk_dequeue_skb_slow() in case we put an skb into qdisc_enqueu