RAX: ffffffffffffffda RBX: 00007f6d1407c6d4 RCX: 000000000045b349 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00000000000003fd R14: 00000000004c549d R15: 0000000000000008 BUG: unable to handle kernel NULL pointer dereference at 0000000000000120 IP: set_bit arch/x86/include/asm/bitops.h:81 [inline] IP: cpumask_set_cpu include/linux/cpumask.h:283 [inline] IP: blk_mq_map_swqueue+0x23a/0xa90 block/blk-mq.c:2171 PGD 89e8c067 P4D 89e8c067 PUD 89e8d067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 7701 Comm: syz-executor.0 Not tainted 4.14.181-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808bb78540 task.stack: ffff888089d90000 RIP: 0010:set_bit arch/x86/include/asm/bitops.h:81 [inline] RIP: 0010:cpumask_set_cpu include/linux/cpumask.h:283 [inline] RIP: 0010:blk_mq_map_swqueue+0x23a/0xa90 block/blk-mq.c:2171 RSP: 0018:ffff888089d979e8 EFLAGS: 00010293 RAX: ffff8880a406d5c8 RBX: 0000000000000007 RCX: ffffe8ffffd31f80 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888089d97a60 R08: 0000000000000001 R09: 0000000000000001 R10: ffff8880a406d5c0 R11: ffff8880a406d680 R12: ffff8882188742c0 R13: fffffbfff1164646 R14: ffff8880a42e0fb0 R15: dffffc0000000000 FS: 00007f6d1407c700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000120 CR3: 00000000a8af7000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blk_mq_queue_reinit block/blk-mq.c:2512 [inline] __blk_mq_update_nr_hw_queues block/blk-mq.c:2746 [inline] blk_mq_update_nr_hw_queues+0x219/0x390 block/blk-mq.c:2760 nbd_start_device+0x1b6/0xc50 drivers/block/nbd.c:1187 nbd_start_device_ioctl drivers/block/nbd.c:1238 [inline] __nbd_ioctl drivers/block/nbd.c:1320 [inline] nbd_ioctl+0x1ae/0xad0 drivers/block/nbd.c:1360 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x784/0x16b0 block/ioctl.c:594 block_ioctl+0xd7/0x130 fs/block_dev.c:1881 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x180/0xfb0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x74/0x80 fs/ioctl.c:692 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45b349 RSP: 002b:00007f6d1407bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6d1407c6d4 RCX: 000000000045b349 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008 R13: 00000000000003fd R14: 00000000004c549d R15: 0000000000000008 Code: 0f 85 dd 05 00 00 8b 00 49 8d 04 c2 48 89 c6 48 c1 ee 03 42 80 3c 3e 00 0f 85 98 05 00 00 41 83 f8 3f 48 8b 30 0f 87 f3 03 00 00 4c 0f ab 8e 20 01 00 00 48 8d be 78 01 00 00 48 89 f8 48 c1 RIP: set_bit arch/x86/include/asm/bitops.h:81 [inline] RSP: ffff888089d979e8 RIP: cpumask_set_cpu include/linux/cpumask.h:283 [inline] RSP: ffff888089d979e8 RIP: blk_mq_map_swqueue+0x23a/0xa90 block/blk-mq.c:2171 RSP: ffff888089d979e8 CR2: 0000000000000120 IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready ---[ end trace 409bc6e074fbc44c ]--- IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready