INFO: task syz-executor.4:4844 blocked for more than 143 seconds.
Not tainted 5.18.0-rc4-next-20220428-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27120 pid: 4844 ppid: 3635 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5106 [inline]
__schedule+0xaa0/0x4cd0 kernel/sched/core.c:6421
schedule+0xd2/0x1f0 kernel/sched/core.c:6493
schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1883
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x373/0x530 kernel/sched/completion.c:106
io_wq_exit_workers fs/io-wq.c:1266 [inline]
io_wq_put_and_exit+0x4d6/0xe40 fs/io-wq.c:1301
io_uring_clean_tctx fs/io_uring.c:10957 [inline]
io_uring_cancel_generic+0x538/0x5bc fs/io_uring.c:11027
io_uring_files_cancel include/linux/io_uring.h:19 [inline]
do_exit+0x4f9/0x2a00 kernel/exit.c:750
do_group_exit+0xd2/0x2f0 kernel/exit.c:925
get_signal+0x22df/0x24c0 kernel/signal.c:2864
arch_do_signal_or_restart+0x82/0x20f0 arch/x86/kernel/signal.c:869
exit_to_user_mode_loop kernel/entry/common.c:166 [inline]
exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fcaa1e890e9
RSP: 002b:00007fcaa300d168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: 0000000000000dc9 RBX: 00007fcaa1f9bf60 RCX: 00007fcaa1e890e9
RDX: 0000000000000000 RSI: 0000000000000dc9 RDI: 0000000000000004
RBP: 00007fcaa300d1d0 R08: 0000000000000000 R09: 0040000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffda2407a4f R14: 00007fcaa300d300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bd84ad0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:502
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8bd84750 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:502
1 lock held by khungtaskd/29:
#0: ffffffff8bd85620 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3281:
#0: ffff888011baa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2118
1 lock held by iou-wrk-4844/4846:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 5.18.0-rc4-next-20220428-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+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xc22/0xf90 kernel/hung_task.c:378
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 143 Comm: kworker/0:2 Not tainted 5.18.0-rc4-next-20220428-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_power_efficient wg_ratelimiter_gc_entries
RIP: 0010:__lock_acquire+0x1f1/0x56c0 kernel/locking/lockdep.c:4963
Code: f6 4c 8d 24 c5 00 00 00 00 74 4a 4a 8d 4c 21 d8 48 be 00 00 00 00 00 fc ff df 48 8d 79 20 49 89 f8 49 c1 e8 03 41 0f b6 34 30 <40> 84 f6 74 0a 40 80 fe 03 0f 8e b9 3c 00 00 0f b7 71 20 81 e6 ff
RSP: 0018:ffffc9000296fa70 EFLAGS: 00000806
RAX: 000000000000000a RBX: ffffffff8ca86f58 RCX: ffff8880196a6220
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880196a6240
RBP: 0000000000000000 R08: 1ffff110032d4c48 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000050
R13: ffff8880196a57c0 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f04d9169990 CR3: 0000000075833000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5665 [inline]
lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:354 [inline]
wg_ratelimiter_gc_entries+0x5d/0x430 drivers/net/wireguard/ratelimiter.c:63
process_one_work+0x996/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
----------------
Code disassembly (best guess):
0: f6 4c 8d 24 c5 testb $0xc5,0x24(%rbp,%rcx,4)
5: 00 00 add %al,(%rax)
7: 00 00 add %al,(%rax)
9: 74 4a je 0x55
b: 4a 8d 4c 21 d8 lea -0x28(%rcx,%r12,1),%rcx
10: 48 be 00 00 00 00 00 movabs $0xdffffc0000000000,%rsi
17: fc ff df
1a: 48 8d 79 20 lea 0x20(%rcx),%rdi
1e: 49 89 f8 mov %rdi,%r8
21: 49 c1 e8 03 shr $0x3,%r8
25: 41 0f b6 34 30 movzbl (%r8,%rsi,1),%esi
* 2a: 40 84 f6 test %sil,%sil <-- trapping instruction
2d: 74 0a je 0x39
2f: 40 80 fe 03 cmp $0x3,%sil
33: 0f 8e b9 3c 00 00 jle 0x3cf2
39: 0f b7 71 20 movzwl 0x20(%rcx),%esi
3d: 81 .byte 0x81
3e: e6 ff out %al,$0xff