general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 11662 Comm: syz-executor.4 Not tainted 5.10.60 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:scsi_command_size include/scsi/scsi_common.h:24 [inline] RIP: 0010:scsi_setup_scsi_cmnd drivers/scsi/scsi_lib.c:1197 [inline] RIP: 0010:scsi_prepare_cmd drivers/scsi/scsi_lib.c:1581 [inline] RIP: 0010:scsi_queue_rq+0x1eb1/0x2a70 drivers/scsi/scsi_lib.c:1670 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 46 0b 00 00 48 8b 8b 40 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 ca 48 c1 ea 03 <0f> b6 04 02 48 89 ca 83 e2 07 38 d0 7f 08 84 c0 0f 85 48 0b 00 00 RSP: 0018:ffff88804df4f3c0 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88800ddb0340 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff82950b3e RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88800ddb0588 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800ddb0580 R13: ffff88800985c000 R14: 0000000000000000 R15: ffff888009422000 FS: 00007f2b58f81700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000970004 CR3: 000000004cf24000 CR4: 0000000000350ef0 Call Trace: blk_mq_dispatch_rq_list+0x36d/0x1bb0 block/blk-mq.c:1389 __blk_mq_sched_dispatch_requests+0x263/0x490 block/blk-mq-sched.c:308 blk_mq_sched_dispatch_requests+0xfb/0x180 block/blk-mq-sched.c:341 __blk_mq_run_hw_queue+0x12c/0x290 block/blk-mq.c:1533 __blk_mq_delay_run_hw_queue+0x4f1/0x550 block/blk-mq.c:1610 blk_mq_run_hw_queue+0x16c/0x2f0 block/blk-mq.c:1663 blk_mq_sched_insert_request+0x380/0x440 block/blk-mq-sched.c:469 blk_execute_rq+0xd4/0x1b0 block/blk-exec.c:86 sg_io+0x60d/0xf70 block/scsi_ioctl.c:360 scsi_cmd_ioctl+0x522/0x590 block/scsi_ioctl.c:809 scsi_cmd_blk_ioctl block/scsi_ioctl.c:867 [inline] scsi_cmd_blk_ioctl+0xe1/0x130 block/scsi_ioctl.c:858 cdrom_ioctl+0xc4/0x2bb0 drivers/cdrom/cdrom.c:3361 sr_block_ioctl+0x141/0x1a0 drivers/scsi/sr.c:596 __blkdev_driver_ioctl block/ioctl.c:237 [inline] blkdev_ioctl+0x28d/0x700 block/ioctl.c:632 block_ioctl+0xf9/0x140 fs/block_dev.c:1893 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x196/0x210 fs/ioctl.c:739 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466609 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2b58f81188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 0000000000466609 RDX: 0000000020000540 RSI: 0000000000002285 RDI: 0000000000000004 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffa65f95ef R14: 00007f2b58f81300 R15: 0000000000022000 Modules linked in: ---[ end trace 10d2fc3858aa4e1b ]--- RIP: 0010:scsi_command_size include/scsi/scsi_common.h:24 [inline] RIP: 0010:scsi_setup_scsi_cmnd drivers/scsi/scsi_lib.c:1197 [inline] RIP: 0010:scsi_prepare_cmd drivers/scsi/scsi_lib.c:1581 [inline] RIP: 0010:scsi_queue_rq+0x1eb1/0x2a70 drivers/scsi/scsi_lib.c:1670 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 46 0b 00 00 48 8b 8b 40 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 ca 48 c1 ea 03 <0f> b6 04 02 48 89 ca 83 e2 07 38 d0 7f 08 84 c0 0f 85 48 0b 00 00 RSP: 0018:ffff88804df4f3c0 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88800ddb0340 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff82950b3e RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88800ddb0588 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800ddb0580 R13: ffff88800985c000 R14: 0000000000000000 R15: ffff888009422000 FS: 00007f2b58f81700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000970004 CR3: 000000004cf24000 CR4: 0000000000350ef0 EXT4-fs (loop6): mounted filesystem without journal. Opts: ,errors=continue note: syz-executor.4[11662] exited with preempt_count 2