Re: [PATCH] net: tcp: check skb is non-NULL for exact match on lookups

2016-11-03 Thread David Miller
From: David Ahern Date: Wed, 2 Nov 2016 12:08:25 -0700 > Andrey reported the following error report while running the syzkaller > fuzzer: ... > MD5 has a code path that calls __inet_lookup_listener with a null skb, > so inet{6}_exact_dif_match needs to check skb against null before pulling > th

Re: [PATCH] net: tcp: check skb is non-NULL for exact match on lookups

2016-11-02 Thread David Ahern
On 11/2/16 2:13 PM, Andrey Konovalov wrote: > I can confirm that this fixes the null-ptr-deref I've been getting. > Thanks, Andrey.

Re: [PATCH] net: tcp: check skb is non-NULL for exact match on lookups

2016-11-02 Thread Andrey Konovalov
I can confirm that this fixes the null-ptr-deref I've been getting. Tested-by: Andrey Konovalov On Wed, Nov 2, 2016 at 8:08 PM, David Ahern wrote: > Andrey reported the following error report while running the syzkaller > fuzzer: > > general protection fault: [#1] SMP KASAN > Dumping ftrac

[PATCH] net: tcp: check skb is non-NULL for exact match on lookups

2016-11-02 Thread David Ahern
Andrey reported the following error report while running the syzkaller fuzzer: general protection fault: [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 648 Comm: syz-executor Not tainted 4.9.0-rc3+ #333 Hardware name: QEMU Standard PC (i440FX + P