INFO: task kworker/u4:3:54 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-next-20211117-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:3 state:D stack:24912 pid: 54 ppid: 2 flags:0x00004000
Workqueue: events_unbound io_ring_exit_work
Call Trace:
context_switch kernel/sched/core.c:4987 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6268
schedule+0xd2/0x260 kernel/sched/core.c:6341
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6400
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740
io_req_caches_free+0x28/0x1e6 fs/io_uring.c:9269
io_ring_exit_work+0x1e4/0xbe8 fs/io_uring.c:9454
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task syz-executor.4:12670 can't die for more than 143 seconds.
task:syz-executor.4 state:R running task stack:26536 pid:12670 ppid: 9491 flags:0x00004006
Call Trace:
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8bb83b20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
3 locks held by kworker/u4:3/54:
#0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269
#1: ffffc90001a2fdb0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
#2: ffff8880835310a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_req_caches_free+0x28/0x1e6 fs/io_uring.c:9269
1 lock held by in:imklog/6222:
#0: ffff888020038ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by syz-executor.4/12670:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc1-next-20211117-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+0x1b3/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:254 [inline]
watchdog+0xcb7/0xed0 kernel/hung_task.c:339
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 25553 Comm: kworker/1:0 Not tainted 5.16.0-rc1-next-20211117-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_release kernel/locking/lockdep.c:5343 [inline]
RIP: 0010:lock_release+0x2a3/0x720 kernel/locking/lockdep.c:5657
Code: ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e c3 03 00 00 66 83 6b 22 10 66 f7 43 22 f0 ff 0f 85 0c 01 00 00 <4c> 89 f2 44 8b 64 24 50 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03
RSP: 0018:ffffc90002f1fc00 EFLAGS: 00000046
RAX: 0000000000000003 RBX: ffff888018d927f8 RCX: ffffc90002f1fc50
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888018d9281a
RBP: 1ffff920005e3f82 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8c837498
R13: 0000000000000003 R14: ffff888018d927a0 R15: ffff888018d91d40
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f389dab5000 CR3: 000000007a063000 CR4: 00000000003506e0
Call Trace:
__raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline]
_raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:394 [inline]
wg_ratelimiter_gc_entries+0x2d4/0x430 drivers/net/wireguard/ratelimiter.c:76
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess), 1 bytes skipped:
0: df 48 89 fisttps -0x77(%rax)
3: fa cli
4: 48 c1 ea 03 shr $0x3,%rdx
8: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax
c: 84 c0 test %al,%al
e: 74 08 je 0x18
10: 3c 03 cmp $0x3,%al
12: 0f 8e c3 03 00 00 jle 0x3db
18: 66 83 6b 22 10 subw $0x10,0x22(%rbx)
1d: 66 f7 43 22 f0 ff testw $0xfff0,0x22(%rbx)
23: 0f 85 0c 01 00 00 jne 0x135
* 29: 4c 89 f2 mov %r14,%rdx <-- trapping instruction
2c: 44 8b 64 24 50 mov 0x50(%rsp),%r12d
31: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
38: fc ff df
3b: 48 c1 ea 03 shr $0x3,%rdx