Re: [syzbot] WARNING in dev_change_net_namespace

From: Dmitry Vyukov
Date: Thu May 19 2022 - 07:19:00 EST


On Tue, 21 Dec 2021 at 21:03, syzbot
<syzbot+830c6dbfc71edc4f0b8f@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit f123cffdd8fe8ea6c7fded4b88516a42798797d0
> Author: Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx>
> Date: Mon Nov 29 17:53:27 2021 +0000
>
> net: netlink: af_netlink: Prevent empty skb by adding a check on len.
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=168acc95b00000
> start commit: 990f227371a4 Merge tag 's390-5.9-2' of git://git.kernel.or..
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=21f0d1d2df6d5fc
> dashboard link: https://syzkaller.appspot.com/bug?extid=830c6dbfc71edc4f0b8f
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=101761e2900000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: net: netlink: af_netlink: Prevent empty skb by adding a check on len.
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

Looks reasonable, let's close the bug:

#syz fix:
net: netlink: af_netlink: Prevent empty skb by adding a check on len.