INFO: task syz-executor.2:31969 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:23856 pid:31969 ppid: 23715 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178
nbd_add_socket+0x17b/0x8e0 drivers/block/nbd.c:1109
__nbd_ioctl drivers/block/nbd.c:1454 [inline]
nbd_ioctl+0x263/0xb80 drivers/block/nbd.c:1511
blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fc1bb006ae9
RSP: 002b:00007fc1b857c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc1bb119f60 RCX: 00007fc1bb006ae9
RDX: 0000000000000005 RSI: 000000000000ab00 RDI: 0000000000000004
RBP: 00007fc1bb060f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff6ce3021f R14: 00007fc1b857c300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cd1db00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by in:imklog/6220:
#0: ffff88801b0779f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990
1 lock held by syz-executor.2/31969:
#0: ffff88801af0d998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504
1 lock held by syz-executor.2/31986:
#0: ffff88801af0d998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105
nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc82/0xcd0 kernel/hung_task.c:295
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 30084 Comm: kworker/u4:2 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:memcpy_erms+0x8/0x10
Code: cc cc eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 f3 a4 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe 7c 35
RSP: 0018:ffffc90002aef7d8 EFLAGS: 00000002
RAX: 00002aaaaaaab58a RBX: ffff888140778000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff8f91a22a RDI: 00002aaaaaaab58b
RBP: ffffc90002aef990 R08: dffffc0000000000 R09: fffffbfff1f23446
R10: fffffbfff1f23446 R11: 0000000000000000 R12: ffffc90002aef8a0
R13: ffff88807e288000 R14: 8000000000000063 R15: ffff888140731558
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1020fd4000 CR3: 00000000123a0000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__text_poke+0x606/0x9f0 arch/x86/kernel/alternative.c:1024
text_poke arch/x86/kernel/alternative.c:1083 [inline]
text_poke_bp_batch+0x6b0/0x940 arch/x86/kernel/alternative.c:1361
text_poke_flush arch/x86/kernel/alternative.c:1451 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xcc/0x1b0 kernel/jump_label.c:207
static_key_disable+0x16/0x20 kernel/jump_label.c:215
toggle_allocation_gate+0x3c8/0x460 mm/kfence/core.c:746
process_one_work+0x853/0x1140 kernel/workqueue.c:2298
worker_thread+0xac1/0x1320 kernel/workqueue.c:2445
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
----------------
Code disassembly (best guess):
0: cc int3
1: cc int3
2: eb 1e jmp 0x22
4: 0f 1f 00 nopl (%rax)
7: 48 89 f8 mov %rdi,%rax
a: 48 89 d1 mov %rdx,%rcx
d: 48 c1 e9 03 shr $0x3,%rcx
11: 83 e2 07 and $0x7,%edx
14: f3 48 a5 rep movsq %ds:(%rsi),%es:(%rdi)
17: 89 d1 mov %edx,%ecx
19: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi)
1b: c3 retq
1c: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
22: 48 89 f8 mov %rdi,%rax
25: 48 89 d1 mov %rdx,%rcx
28: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi)
* 2a: c3 retq <-- trapping instruction
2b: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
32: 48 89 f8 mov %rdi,%rax
35: 48 83 fa 20 cmp $0x20,%rdx
39: 72 7e jb 0xb9
3b: 40 38 fe cmp %dil,%sil
3e: 7c 35 jl 0x75