From: Eric Dumazet <eric.duma...@gmail.com> Date: Mon, 14 Aug 2017 17:44:43 -0700
> From: Eric Dumazet <eduma...@google.com> > > Filtering the ACK packet was not put at the right place. > > At this place, we already allocated a child and put it > into accept queue. > > We absolutely need to call tcp_child_process() to release > its spinlock, or we will deadlock at accept() or close() time. > > Found by syzkaller team (Thanks a lot !) > > Fixes: 8fac365f63c8 ("tcp: Add a tcp_filter hook before handle ack packet") > Signed-off-by: Eric Dumazet <eduma...@google.com> > Reported-by: Dmitry Vyukov <dvyu...@google.com> Applied, thanks.