Re: [syzbot] general protection fault in scsi_queue_rq

From: Dmitry Vyukov
Date: Mon Dec 13 2021 - 02:14:01 EST


On Sun, 12 Dec 2021 at 01:29, syzbot
<syzbot+0796b72dc61f223d8cc5@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit 20aaef52eb08f1d987d46ad26edb8f142f74d83a
> Author: Tadeusz Struk <tadeusz.struk@xxxxxxxxxx>
> Date: Wed Nov 3 17:06:58 2021 +0000
>
> scsi: scsi_ioctl: Validate command size
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11db6f3ab00000
> start commit: ec681c53f8d2 Merge tag 'net-5.15-rc6' of git://git.kernel...
> git tree: upstream
> kernel config: https://syzkaller.appspot.com/x/.config?x=bab9d35f204746a7
> dashboard link: https://syzkaller.appspot.com/bug?extid=0796b72dc61f223d8cc5
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1279df24b00000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15a855f4b00000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: scsi: scsi_ioctl: Validate command size
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

Looks legit:

#syz fix: scsi: scsi_ioctl: Validate command size