Re: [PATCH net v2] net: check and errout if res->fi is NULL when RTM_F_FIB_MATCH is set

2017-08-18 Thread David Miller
From: Roopa Prabhu Date: Wed, 16 Aug 2017 12:38:52 -0700 > From: Roopa Prabhu > > Syzkaller hit 'general protection fault in fib_dump_info' bug on > commit 4.13-rc5.. > > Guilty file: net/ipv4/fib_semantics.c ... > This patch adds a res->fi NULL check. > > example run: > $ip route get 0.0.0.

[PATCH net v2] net: check and errout if res->fi is NULL when RTM_F_FIB_MATCH is set

2017-08-16 Thread Roopa Prabhu
From: Roopa Prabhu Syzkaller hit 'general protection fault in fib_dump_info' bug on commit 4.13-rc5.. Guilty file: net/ipv4/fib_semantics.c kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: [#1] SMP KASAN Modules linked in: CPU: 0 PID: 2808 Comm: