RAX: ffffffffffffffda RBX: 00007f037515e4c0 RCX: 00007f03750e1089
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000007
RBP: 00007f037512b3bc R08: 0000000000000002 R09: 0000000000003932
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f037515e4cc
R13: 00007f03750862f0 R14: 00007f037515e4c8 R15: 0000000000000002
BUG: unable to handle kernel NULL pointer dereference at 0000000000000118
PGD aa872067 P4D aa872067 PUD b527d067 PMD 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 10725 Comm: syz-executor386 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
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+0x287/0xa20 block/blk-mq.c:2355
Code: c1 ea 03 80 3c 1a 00 0f 85 cf 06 00 00 89 ee bf 07 00 00 00 4d 8b 3f e8 47 04 fd fd 83 fd 07 0f 87 04 05 00 00 e8 c9 02 fd fd <f0> 4d 0f ab b7 18 01 00 00 49 8d bf 74 01 00 00 48 89 fa 48 c1 ea
RSP: 0018:ffff8880b3537920 EFLAGS: 00010293
RAX: ffff888096e6a100 RBX: dffffc0000000000 RCX: ffffffff83658299
RDX: 0000000000000000 RSI: ffffffff836582a7 RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000007
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880ae4fc040
R13: ffffe8ffffd3a6c0 R14: 0000000000000001 R15: 0000000000000000
FS: 00007f0375086700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000118 CR3: 00000000a9920000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
blk_mq_queue_reinit block/blk-mq.c:2697 [inline]
__blk_mq_update_nr_hw_queues block/blk-mq.c:3018 [inline]
blk_mq_update_nr_hw_queues+0x5bb/0xb50 block/blk-mq.c:3032
nbd_start_device+0x1f2/0xd60 drivers/block/nbd.c:1214
nbd_start_device_ioctl drivers/block/nbd.c:1265 [inline]
__nbd_ioctl drivers/block/nbd.c:1347 [inline]
nbd_ioctl+0x62c/0xbe0 drivers/block/nbd.c:1387
__blkdev_driver_ioctl block/ioctl.c:303 [inline]
blkdev_ioctl+0x5cb/0x1a80 block/ioctl.c:601
block_ioctl+0xe9/0x130 fs/block_dev.c:1906
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/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:0x7f03750e1089
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 01 18 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f03750862e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f037515e4c0 RCX: 00007f03750e1089
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000007
RBP: 00007f037512b3bc R08: 0000000000000002 R09: 0000000000003932
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f037515e4cc
R13: 00007f03750862f0 R14: 00007f037515e4c8 R15: 0000000000000002
Modules linked in:
CR2: 0000000000000118
---[ end trace 64bc7ae3f1c76c37 ]---
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+0x287/0xa20 block/blk-mq.c:2355
Code: c1 ea 03 80 3c 1a 00 0f 85 cf 06 00 00 89 ee bf 07 00 00 00 4d 8b 3f e8 47 04 fd fd 83 fd 07 0f 87 04 05 00 00 e8 c9 02 fd fd <f0> 4d 0f ab b7 18 01 00 00 49 8d bf 74 01 00 00 48 89 fa 48 c1 ea
RSP: 0018:ffff8880b3537920 EFLAGS: 00010293
RAX: ffff888096e6a100 RBX: dffffc0000000000 RCX: ffffffff83658299
RDX: 0000000000000000 RSI: ffffffff836582a7 RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000007
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880ae4fc040
R13: ffffe8ffffd3a6c0 R14: 0000000000000001 R15: 0000000000000000
FS: 00007f0375086700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000118 CR3: 00000000a9920000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: c1 ea 03 shr $0x3,%edx
3: 80 3c 1a 00 cmpb $0x0,(%rdx,%rbx,1)
7: 0f 85 cf 06 00 00 jne 0x6dc
d: 89 ee mov %ebp,%esi
f: bf 07 00 00 00 mov $0x7,%edi
14: 4d 8b 3f mov (%r15),%r15
17: e8 47 04 fd fd callq 0xfdfd0463
1c: 83 fd 07 cmp $0x7,%ebp
1f: 0f 87 04 05 00 00 ja 0x529
25: e8 c9 02 fd fd callq 0xfdfd02f3
* 2a: f0 4d 0f ab b7 18 01 lock bts %r14,0x118(%r15) <-- trapping instruction
31: 00 00
33: 49 8d bf 74 01 00 00 lea 0x174(%r15),%rdi
3a: 48 89 fa mov %rdi,%rdx
3d: 48 rex.W
3e: c1 .byte 0xc1
3f: ea (bad)