RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 0000000000000401 R14: 00000000004c69df R15: 0000000000000009 BUG: unable to handle kernel NULL pointer dereference at 0000000000000118 PGD 43978067 P4D 43978067 PUD 43979067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11160 Comm: syz-executor.5 Not tainted 4.19.113-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:set_bit arch/x86/include/asm/bitops.h:76 [inline] RIP: 0010:cpumask_set_cpu include/linux/cpumask.h:311 [inline] RIP: 0010:blk_mq_map_swqueue+0x295/0xa50 block/blk-mq.c:2344 Code: 03 80 3c 28 00 0f 85 cc 06 00 00 44 89 e6 bf 3f 00 00 00 4d 8b 3f e8 ca 09 22 fe 41 83 fc 3f 0f 87 13 05 00 00 e8 4b 08 22 fe 4d 0f ab b7 18 01 00 00 49 8d bf 74 01 00 00 48 89 fa 48 c1 ea RSP: 0018:ffff888020a9f918 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880a3a590c0 RCX: ffffc900108eb000 RDX: 0000000000040000 RSI: ffffffff83459a55 RDI: 0000000000000005 RBP: dffffc0000000000 R08: ffff88805131e340 R09: 0000000000000000 R10: ffffed1002ad1ff0 R11: ffff88801568ff83 R12: 0000000000000001 R13: ffffe8ffffd37ac0 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f66ffdd1700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000118 CR3: 000000004afcd000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blk_mq_queue_reinit block/blk-mq.c:2686 [inline] __blk_mq_update_nr_hw_queues block/blk-mq.c:3007 [inline] blk_mq_update_nr_hw_queues+0x565/0xad0 block/blk-mq.c:3021 nbd_start_device+0x1f3/0xd50 drivers/block/nbd.c:1200 nbd_start_device_ioctl drivers/block/nbd.c:1251 [inline] __nbd_ioctl drivers/block/nbd.c:1333 [inline] nbd_ioctl+0x3d7/0xb80 drivers/block/nbd.c:1373 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0xbf7/0x1a1c block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1894 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcda/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f66ffdd0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f66ffdd16d4 RCX: 000000000045c849 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 0000000000000401 R14: 00000000004c69df R15: 0000000000000009 Modules linked in: CR2: 0000000000000118 ---[ end trace 233536e33f8baa43 ]--- RIP: 0010:set_bit arch/x86/include/asm/bitops.h:76 [inline] RIP: 0010:cpumask_set_cpu include/linux/cpumask.h:311 [inline] RIP: 0010:blk_mq_map_swqueue+0x295/0xa50 block/blk-mq.c:2344 Code: 03 80 3c 28 00 0f 85 cc 06 00 00 44 89 e6 bf 3f 00 00 00 4d 8b 3f e8 ca 09 22 fe 41 83 fc 3f 0f 87 13 05 00 00 e8 4b 08 22 fe 4d 0f ab b7 18 01 00 00 49 8d bf 74 01 00 00 48 89 fa 48 c1 ea RSP: 0018:ffff888020a9f918 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880a3a590c0 RCX: ffffc900108eb000 RDX: 0000000000040000 RSI: ffffffff83459a55 RDI: 0000000000000005 RBP: dffffc0000000000 R08: ffff88805131e340 R09: 0000000000000000 R10: ffffed1002ad1ff0 R11: ffff88801568ff83 R12: 0000000000000001 R13: ffffe8ffffd37ac0 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f66ffdd1700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000130d7b8 CR3: 000000004afcd000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400