From: Wei Wang <[email protected]>
Date: Wed,  3 Jan 2018 14:11:59 -0800

> From: Wei Wang <[email protected]>
> 
> In fib6_add(), pn could be NULL if fib6_add_1() failed to return a fib6
> node. Checking pn != fn before accessing pn->leaf makes sure pn is not
> NULL.
> This fixes the following GPF reported by syzkaller:
 ...
> Reported-by: syzbot <[email protected]>
> Fixes: 66f5d6ce53e6 ("ipv6: replace rwlock with rcu and spinlock in 
> fib6_table")
> Signed-off-by: Wei Wang <[email protected]>

Applied, thanks.

Reply via email to