Re: general protection fault in scsi_queue_rq

From: James Bottomley
Date: Tue Oct 13 2020 - 19:19:45 EST


On Mon, 2020-10-12 at 07:51 -0700, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: e4fb79c7 Add linux-next specific files for 20201008
> git tree: linux-next
> console output:
> https://syzkaller.appspot.com/x/log.txt?x=125c9a9f900000
> kernel config:
> https://syzkaller.appspot.com/x/.config?x=568d41fe4341ed0f
> dashboard link:
> https://syzkaller.appspot.com/bug?extid=0796b72dc61f223d8cc5
> compiler: gcc (GCC) 10.1.0-syz 20200507
> syz repro:
> https://syzkaller.appspot.com/x/repro.syz?x=12582fe7900000
> C reproducer:
> https://syzkaller.appspot.com/x/repro.c?x=124ac7d0500000
>
> The issue was bisected to:
>
> commit 2ceda20f0a99a74a82b78870f3b3e5fa93087a7f
> Author: Christoph Hellwig <hch@xxxxxx>
> Date: Mon Oct 5 08:41:23 2020 +0000
>
> scsi: core: Move command size detection out of the fast path

#syz: test git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-misc