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: 79 Comm: kworker/0:1H Not tainted 5.10.79 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Workqueue: kblockd blk_mq_run_work_fn 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:ffff88800f9ef9d0 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88800d230000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff829603ae RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88800d230248 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800d230240 R13: ffff88800995c000 R14: 0000000000000000 R15: ffff88800943e000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ff7ea2fc8 CR3: 000000001abcc000 CR4: 0000000000350ef0 Call Trace: blk_mq_dispatch_rq_list+0x36d/0x1bb0 block/blk-mq.c:1369 __blk_mq_sched_dispatch_requests+0x263/0x490 block/blk-mq-sched.c:309 blk_mq_sched_dispatch_requests+0xfb/0x180 block/blk-mq-sched.c:342 __blk_mq_run_hw_queue+0x12c/0x290 block/blk-mq.c:1513 blk_mq_run_work_fn+0x55/0x70 block/blk-mq.c:1791 process_one_work+0x9a9/0x1590 kernel/workqueue.c:2270 worker_thread+0x61d/0x1310 kernel/workqueue.c:2416 kthread+0x38f/0x470 kernel/kthread.c:313 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: ---[ end trace 6c71522ab7b5441b ]--- 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:ffff88800f9ef9d0 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88800d230000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff829603ae RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88800d230248 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800d230240 R13: ffff88800995c000 R14: 0000000000000000 R15: ffff88800943e000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ff7ea2fc8 CR3: 000000001abcc000 CR4: 0000000000350ef0 note: kworker/0:1H[79] exited with preempt_count 1 tmpfs: Bad value for 'mpol' tmpfs: Bad value for 'mpol' device syz_tun entered promiscuous mode device syz_tun left promiscuous mode device syz_tun entered promiscuous mode device syz_tun left promiscuous mode EXT4-fs (loop2): revision level too high, forcing read-only mode EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue ---------------- 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 46 0b 00 00 jne 0xb54 e: 48 8b 8b 40 02 00 00 mov 0x240(%rbx),%rcx 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 89 ca mov %rcx,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx * 26: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2a: 48 89 ca mov %rcx,%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 48 0b 00 00 jne 0xb84