Re: BUG: unable to handle kernel NULL pointer dereference in rds_bind

From: Cong Wang
Date: Mon Sep 16 2019 - 12:49:41 EST


On Mon, Sep 16, 2019 at 6:29 AM syzbot
<syzbot+fae39afd2101a17ec624@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hello,
>
> syzbot found the following crash on:
>
> HEAD commit: f4b752a6 mlx4: fix spelling mistake "veify" -> "verify"
> git tree: net
> console output: https://syzkaller.appspot.com/x/log.txt?x=16cbebe6600000
> kernel config: https://syzkaller.appspot.com/x/.config?x=b89bb446a3faaba4
> dashboard link: https://syzkaller.appspot.com/bug?extid=fae39afd2101a17ec624
> compiler: gcc (GCC) 9.0.0 20181231 (experimental)
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10753bc1600000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=111dfc11600000
>
> The bug was bisected to:
>
> commit b9a1e627405d68d475a3c1f35e685ccfb5bbe668
> Author: Cong Wang <xiyou.wangcong@xxxxxxxxx>
> Date: Thu Jul 4 00:21:13 2019 +0000
>
> hsr: implement dellink to clean up resources


The crash has nothing to do with this commit. It is probably caused
by the lack of ->laddr_check in rds_loop_transport.