general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 13244 Comm: syz-executor.5 Tainted: G W 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:blk_mq_map_queue_type block/blk-mq.h:96 [inline] RIP: 0010:blk_mq_get_sq_hctx block/blk-mq.c:1663 [inline] RIP: 0010:blk_mq_run_hw_queues+0x32b/0x4a0 block/blk-mq.c:1682 Code: ea 48 c1 ea 03 80 3c 02 00 0f 85 51 01 00 00 48 8b 45 00 89 db 48 8d 1c 98 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <0f> b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 ed RSP: 0018:ffffc90001e3f3b0 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: 0000000000000004 RCX: ffffc900152fe000 RDX: 0000000000000000 RSI: ffffffff83be8009 RDI: ffff8881463e34c0 RBP: ffff88801f146000 R08: 0000000000000000 R09: ffff8881463e3437 R10: ffffffff83be7e41 R11: 0000000000000000 R12: ffff8881463e2af0 R13: ffff8881463aadc0 R14: ffff88807258d408 R15: 0000000000000001 FS: 00007f5dddb7f700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004cb0db CR3: 000000007d49e000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blk_freeze_queue_start+0xc4/0xe0 block/blk-mq.c:142 blk_set_queue_dying+0x24/0x80 block/blk-core.c:353 blk_cleanup_queue+0x7b/0x1e0 block/blk-core.c:380 blk_cleanup_disk+0x33/0x80 block/genhd.c:1324 nbd_dev_remove drivers/block/nbd.c:226 [inline] nbd_put.part.0+0x92/0x160 drivers/block/nbd.c:246 nbd_put drivers/block/nbd.c:1903 [inline] nbd_genl_connect+0x1214/0x1660 drivers/block/nbd.c:1957 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2504 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x85b/0xda0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:702 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:722 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2385 ___sys_sendmsg+0xf3/0x170 net/socket.c:2439 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2468 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:0x4665d9 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:00007f5dddb7f188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000020001880 RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffef8aa844f R14: 00007f5dddb7f300 R15: 0000000000022000 Modules linked in: ---[ end trace 7a16880be9ad1f33 ]--- RIP: 0010:blk_mq_map_queue_type block/blk-mq.h:96 [inline] RIP: 0010:blk_mq_get_sq_hctx block/blk-mq.c:1663 [inline] RIP: 0010:blk_mq_run_hw_queues+0x32b/0x4a0 block/blk-mq.c:1682 Code: ea 48 c1 ea 03 80 3c 02 00 0f 85 51 01 00 00 48 8b 45 00 89 db 48 8d 1c 98 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <0f> b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 ed RSP: 0018:ffffc90001e3f3b0 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: 0000000000000004 RCX: ffffc900152fe000 RDX: 0000000000000000 RSI: ffffffff83be8009 RDI: ffff8881463e34c0 RBP: ffff88801f146000 R08: 0000000000000000 R09: ffff8881463e3437 R10: ffffffff83be7e41 R11: 0000000000000000 R12: ffff8881463e2af0 R13: ffff8881463aadc0 R14: ffff88807258d408 R15: 0000000000000001 FS: 00007f5dddb7f700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000970004 CR3: 000000007d49e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400