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: 17053 Comm: syz-executor.3 Tainted: G W 5.14.0-rc1-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+0x14f/0x430 block/blk-mq.c:1682 Code: 80 3c 08 00 74 08 48 89 ef e8 dd ca d8 fd 44 89 fb 48 c1 e3 02 48 03 5d 00 48 89 d8 48 c1 e8 03 48 bd 00 00 00 00 00 fc ff df <8a> 04 28 84 c0 0f 85 b7 02 00 00 8b 03 49 8d 1c c4 48 89 d8 48 c1 RSP: 0018:ffffc9000257f180 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000fe46000 RSI: 00000000000052b4 RDI: ffff88801f2fb988 RBP: dffffc0000000000 R08: ffffffff83f069b2 R09: ffffed1003e5f851 R10: ffffed1003e5f851 R11: 0000000000000000 R12: ffff88801e736730 R13: 0000000000000000 R14: ffff88801f2fb940 R15: 0000000000000000 FS: 00007f161bccc700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000014a53ad CR3: 0000000097cf4000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blk_set_queue_dying block/blk-core.c:351 [inline] blk_cleanup_queue+0x9c/0x220 block/blk-core.c:378 blk_cleanup_disk+0x3b/0x80 block/genhd.c:1324 nbd_dev_remove drivers/block/nbd.c:243 [inline] nbd_put+0x9d/0x170 drivers/block/nbd.c:263 nbd_genl_connect+0x197e/0x1c40 drivers/block/nbd.c:1999 genl_family_rcv_msg_doit net/netlink/genetlink.c:739 [inline] genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0xfb4/0x13c0 net/netlink/genetlink.c:800 netlink_rcv_skb+0x1f0/0x460 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+0x7de/0x9b0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x9e7/0xe00 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:702 [inline] sock_sendmsg net/socket.c:722 [inline] ____sys_sendmsg+0x5a2/0x900 net/socket.c:2385 ___sys_sendmsg net/socket.c:2439 [inline] __sys_sendmsg+0x319/0x400 net/socket.c:2468 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/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:00007f161bccc188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000020000380 RDI: 0000000000000008 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe0c75fb7f R14: 00007f161bccc300 R15: 0000000000022000 Modules linked in: ---[ end trace 25a6ec2a6b6f435c ]--- 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+0x14f/0x430 block/blk-mq.c:1682 Code: 80 3c 08 00 74 08 48 89 ef e8 dd ca d8 fd 44 89 fb 48 c1 e3 02 48 03 5d 00 48 89 d8 48 c1 e8 03 48 bd 00 00 00 00 00 fc ff df <8a> 04 28 84 c0 0f 85 b7 02 00 00 8b 03 49 8d 1c c4 48 89 d8 48 c1 RSP: 0018:ffffc9000257f180 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000fe46000 RSI: 00000000000052b4 RDI: ffff88801f2fb988 RBP: dffffc0000000000 R08: ffffffff83f069b2 R09: ffffed1003e5f851 R10: ffffed1003e5f851 R11: 0000000000000000 R12: ffff88801e736730 R13: 0000000000000000 R14: ffff88801f2fb940 R15: 0000000000000000 FS: 00007f161bccc700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000541198 CR3: 0000000097cf4000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400