From: Eric Dumazet <eduma...@google.com> Date: Wed, 24 Apr 2019 05:35:00 -0700
> This patch adds a limit on the number of skbs that fuzzers can queue > into loopback_queue. 1000 packets for rose loopback seems more than enough. > > Then, since we now have multiple cpus in most linux hosts, > we also need to limit the number of skbs rose_loopback_timer() > can dequeue at each round. > > rose_loopback_queue() can be drop-monitor friendly, calling > consume_skb() or kfree_skb() appropriately. > > Finally, use mod_timer() instead of del_timer() + add_timer() > > syzbot report was : ... > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") > Signed-off-by: Eric Dumazet <eduma...@google.com> > Reported-by: syzbot <syzkal...@googlegroups.com> Applied and queued up for -stable. Thanks.