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: 62 Comm: scsi_eh_1 Not tainted 5.10.56 #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:ffff88800f167868 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88800e419340 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff829518be RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88800e419588 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800e419580 R13: ffff88800dec6000 R14: 0000000000000000 R15: ffff88800c478000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055eb9b6c6ff8 CR3: 00000000351f8000 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_run_hw_queues+0x10d/0x1a0 block/blk-mq.c:1681 scsi_run_queue+0x5d6/0xcc0 drivers/scsi/scsi_lib.c:488 scsi_run_host_queues+0x48/0x70 drivers/scsi/scsi_lib.c:506 scsi_restart_operations drivers/scsi/scsi_error.c:2060 [inline] scsi_error_handler+0x45c/0xec0 drivers/scsi/scsi_error.c:2252 kthread+0x38f/0x470 kernel/kthread.c:292 ret_from_fork+0x22/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: ---[ end trace bfb97f99b6161a0d ]--- 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:ffff88800f167868 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88800e419340 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff829518be RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88800e419588 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800e419580 R13: ffff88800dec6000 R14: 0000000000000000 R15: ffff88800c478000 FS: 0000000000000000(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055eb9b6c6ff8 CR3: 00000000351f8000 CR4: 0000000000350ef0 note: scsi_eh_1[62] exited with preempt_count 2