[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180104.143003.729989900723159013.davem@davemloft.net>
Date: Thu, 04 Jan 2018 14:30:03 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: weiwan@...gle.com
Cc: netdev@...r.kernel.org, kafai@...com, dsahern@...il.com
Subject: Re: [PATCH net] ipv6: fix general protection fault in fib6_add()
From: Wei Wang <weiwan@...gle.com>
Date: Wed, 3 Jan 2018 14:11:59 -0800
> From: Wei Wang <weiwan@...gle.com>
>
> 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 <syzkaller@...glegroups.com>
> Fixes: 66f5d6ce53e6 ("ipv6: replace rwlock with rcu and spinlock in fib6_table")
> Signed-off-by: Wei Wang <weiwan@...gle.com>
Applied, thanks.
Powered by blists - more mailing lists