general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 18548 Comm: syz-executor.5 Not tainted 5.15.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:scsi_command_size include/scsi/scsi_common.h:24 [inline] RIP: 0010:scsi_setup_scsi_cmnd drivers/scsi/scsi_lib.c:1178 [inline] RIP: 0010:scsi_prepare_cmd drivers/scsi/scsi_lib.c:1564 [inline] RIP: 0010:scsi_queue_rq+0x268a/0x3470 drivers/scsi/scsi_lib.c:1670 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 4d 0d 00 00 4c 8b b3 58 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <0f> b6 04 02 4c 89 f2 83 e2 07 38 d0 7f 08 84 c0 0f 85 25 0c 00 00 RSP: 0018:ffffc9000a417530 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88801defb000 RCX: ffffc90013d7b000 RDX: 0000000000000000 RSI: ffffffff8485db37 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff8485db22 R11: 0000000000000000 R12: ffff88801defb258 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88801bac8000 FS: 00007f9c03717700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 0000000085cf8000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: blk_mq_dispatch_rq_list+0x422/0x1f00 block/blk-mq.c:1360 __blk_mq_sched_dispatch_requests+0x20b/0x410 block/blk-mq-sched.c:327 blk_mq_sched_dispatch_requests+0xfb/0x180 block/blk-mq-sched.c:360 __blk_mq_run_hw_queue+0xd8/0x150 block/blk-mq.c:1480 __blk_mq_delay_run_hw_queue+0x547/0x640 block/blk-mq.c:1557 blk_mq_run_hw_queue+0x16c/0x2f0 block/blk-mq.c:1610 blk_mq_sched_insert_request+0x368/0x450 block/blk-mq-sched.c:479 blk_execute_rq+0xdc/0x410 block/blk-exec.c:96 sg_io+0x678/0x10e0 drivers/scsi/scsi_ioctl.c:484 scsi_ioctl_sg_io drivers/scsi/scsi_ioctl.c:872 [inline] scsi_ioctl+0xa77/0x15d0 drivers/scsi/scsi_ioctl.c:928 sd_ioctl+0x1a6/0x2b0 drivers/scsi/sd.c:1576 blkdev_ioctl+0x2a1/0x700 block/ioctl.c:589 block_ioctl+0xfa/0x140 block/fops.c:478 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9c061a08d9 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:00007f9c03717188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9c062a4f60 RCX: 00007f9c061a08d9 RDX: 0000000020002300 RSI: 0000000000002285 RDI: 0000000000000004 RBP: 00007f9c061facb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec91f3f1f R14: 00007f9c03717300 R15: 0000000000022000 Modules linked in: ---[ end trace ed46ae6432298f9d ]--- RIP: 0010:scsi_command_size include/scsi/scsi_common.h:24 [inline] RIP: 0010:scsi_setup_scsi_cmnd drivers/scsi/scsi_lib.c:1178 [inline] RIP: 0010:scsi_prepare_cmd drivers/scsi/scsi_lib.c:1564 [inline] RIP: 0010:scsi_queue_rq+0x268a/0x3470 drivers/scsi/scsi_lib.c:1670 Code: 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 4d 0d 00 00 4c 8b b3 58 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <0f> b6 04 02 4c 89 f2 83 e2 07 38 d0 7f 08 84 c0 0f 85 25 0c 00 00 RSP: 0018:ffffc9000a417530 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88801defb000 RCX: ffffc90013d7b000 RDX: 0000000000000000 RSI: ffffffff8485db37 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff8485db22 R11: 0000000000000000 R12: ffff88801defb258 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88801bac8000 FS: 00007f9c03717700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 0000000085cf8000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 4d 0d 00 00 jne 0xd5b e: 4c 8b b3 58 02 00 00 mov 0x258(%rbx),%r14 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 4c 89 f2 mov %r14,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx * 26: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2a: 4c 89 f2 mov %r14,%rdx 2d: 83 e2 07 and $0x7,%edx 30: 38 d0 cmp %dl,%al 32: 7f 08 jg 0x3c 34: 84 c0 test %al,%al 36: 0f 85 25 0c 00 00 jne 0xc61