On 1/17/18 10:48 PM, Xin Long wrote: > Move up the extack reset/initialization in netlink_rcv_skb, so that > those 'goto ack' will not skip it. Otherwise, later on netlink_ack > may use the uninitialized extack and cause kernel crash. > > Fixes: cbbdf8433a5f ("netlink: extack needs to be reset each time through > loop") > Reported-by: syzbot+03bee3680a3746677...@syzkaller.appspotmail.com > Signed-off-by: Xin Long <lucien....@gmail.com> > --- > net/netlink/af_netlink.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Acked-by: David Ahern <dsah...@gmail.com>