INFO: task kworker/u4:5:3689 blocked for more than 143 seconds.
Not tainted 6.1.59-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:5 state:D stack:24928 pid:3689 ppid:2 flags:0x00004000
Workqueue: events_unbound fsnotify_connector_destroy_workfn
Call Trace:
context_switch kernel/sched/core.c:5241 [inline]
__schedule+0x142d/0x4550 kernel/sched/core.c:6554
schedule+0xbf/0x180 kernel/sched/core.c:6630
schedule_timeout+0xac/0x300 kernel/time/timer.c:1911
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x350/0x610 kernel/sched/completion.c:138
__synchronize_srcu+0x2b7/0x360 kernel/rcu/srcutree.c:1216
fsnotify_connector_destroy_workfn+0x40/0xa0 fs/notify/mark.c:208
process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
process_scheduled_works kernel/workqueue.c:2355 [inline]
worker_thread+0xd04/0x1200 kernel/workqueue.c:2441
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Showing all locks held in the system:
2 locks held by kworker/u4:1/11:
#0: ffff888012479138
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90000107d20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d12a1f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d12a9f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/28:
#0: ffffffff8d12a020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline]
#0: ffffffff8d12a020 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
#0: ffffffff8d12a020 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6493
1 lock held by khugepaged/35:
#0: ffffffff8d1d1028 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x7d0 mm/swap.c:873
2 locks held by getty/3305:
#0: ffff8880289e1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188
3 locks held by syz-executor.1/3601:
5 locks held by syz-executor.0/3603:
#0: ffffffff8d1c4810 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mmap kernel/fork.c:592 [inline]
#0: ffffffff8d1c4810 (dup_mmap_sem){.+.+}-{0:0}, at: dup_mm kernel/fork.c:1540 [inline]
#0: ffffffff8d1c4810 (dup_mmap_sem){.+.+}-{0:0}, at: copy_mm+0x3cb/0x1990 kernel/fork.c:1589
#1: ffff888017369f58 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline]
#1: ffff888017369f58 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:593 [inline]
#1: ffff888017369f58 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1540 [inline]
#1: ffff888017369f58 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x3e5/0x1990 kernel/fork.c:1589
#2: ffff888075abb5d8 (&mm->mmap_lock/1){+.+.}-{3:3}, at: mmap_write_lock_nested include/linux/mmap_lock.h:78 [inline]
#2: ffff888075abb5d8 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mmap kernel/fork.c:602 [inline]
#2: ffff888075abb5d8 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mm kernel/fork.c:1540 [inline]
#2: ffff888075abb5d8 (&mm->mmap_lock/1){+.+.}-{3:3}, at: copy_mm+0x4ca/0x1990 kernel/fork.c:1589
#3: ffffffff8d228a00 (memcg_oom_lock#2){+.+.}-{0:0}, at: mem_cgroup_oom mm/memcontrol.c:1930 [inline]
#3: ffffffff8d228a00 (memcg_oom_lock#2){+.+.}-{0:0}, at: try_charge_memcg+0xc17/0x1880 mm/memcontrol.c:2729
#4: ffffffff8d1cbde8 (oom_lock){+.+.}-{3:3}, at: mem_cgroup_out_of_memory+0xf3/0x3b0 mm/memcontrol.c:1696
3 locks held by kworker/0:2/3656:
#0: ffff8880b9839e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537
#1: ffff8880b9827788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x43d/0x770 kernel/sched/psi.c:1000
#2: ffff888066040d60 (&r->consumer_lock#2){+...}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:355 [inline]
#2: ffff888066040d60 (&r->consumer_lock#2){+...}-{2:2}, at: ptr_ring_consume_bh include/linux/ptr_ring.h:365 [inline]
#2: ffff888066040d60 (&r->consumer_lock#2){+...}-{2:2}, at: wg_packet_encrypt_worker+0x1233/0x1590 drivers/net/wireguard/send.c:293
3 locks held by kworker/1:7/3668:
2 locks held by kworker/u4:5/3689:
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc9000433fd20 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
2 locks held by dhcpcd/7845:
#0: ffff888027d0d610 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#0: ffff888027d0d610 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:651 [inline]
#0: ffff888027d0d610 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1387
#1: ffffffff8d12f5f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#1: ffffffff8d12f5f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x479/0x8a0 kernel/rcu/tree_exp.h:950
2 locks held by dhcpcd/7859:
#0: ffff888056c0c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1746 [inline]
#0: ffff888056c0c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xd00 net/packet/af_packet.c:3198
#1: ffffffff8d12f5f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#1: ffffffff8d12f5f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x479/0x8a0 kernel/rcu/tree_exp.h:950
1 lock held by dhcpcd/7861:
#0: ffff88805eb9a130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1746 [inline]
#0: ffff88805eb9a130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xd00 net/packet/af_packet.c:3198
1 lock held by dhcpcd/7862:
#0: ffff8880545de130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1746 [inline]
#0: ffff8880545de130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xd00 net/packet/af_packet.c:3198
1 lock held by dhcpcd/7880:
#0: ffff888055be8130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1746 [inline]
#0: ffff888055be8130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xd00 net/packet/af_packet.c:3198
1 lock held by dhcpcd/7889:
#0: ffff888076eda130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1746 [inline]
#0: ffff888076eda130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xd00 net/packet/af_packet.c:3198
2 locks held by syz-executor.2/8986:
1 lock held by syz-executor.5/8991:
1 lock held by syz-executor.4/8993:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.59-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2983 Comm: syslogd Not tainted 6.1.59-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:__mutex_unlock_slowpath+0x2f3/0x750 kernel/locking/mutex.c:918
Code: 49 89 dd 0f 85 f4 fe ff ff 48 c7 c7 40 cd eb 8a 48 c7 c6 40 d5 eb 8a e8 cb dd c1 f6 0f 0b e9 da fe ff ff 48 c7 c1 60 31 c8 91 <80> e1 07 80 c1 03 38 c1 0f 8c 53 fe ff ff 48 c7 c7 60 31 c8 91 e8
RSP: 0018:ffffc9000d387880 EFLAGS: 00000202
RAX: 0000000000000004 RBX: ffff88807de05940 RCX: ffffffff91c83160
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88807ea33d28
RBP: ffffc9000d387990 R08: dffffc0000000000 R09: ffffed100fd467a6
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff239062c
R13: dffffc0000000000 R14: ffff88807ea33d28 R15: 1ffff92001a70f24
FS: 00007effc03df380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556df3938 CR3: 000000007f269000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__unix_dgram_recvmsg+0xcbd/0x1260 net/unix/af_unix.c:2531
sock_recvmsg_nosec net/socket.c:1017 [inline]
sock_recvmsg net/socket.c:1035 [inline]
sock_read_iter+0x3b2/0x4b0 net/socket.c:1108
call_read_iter include/linux/fs.h:2199 [inline]
new_sync_read fs/read_write.c:389 [inline]
vfs_read+0x7de/0xbe0 fs/read_write.c:470
ksys_read+0x19c/0x2c0 fs/read_write.c:613
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7effc0533b6a
Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffed77e5b88 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007effc0533b6a
RDX: 00000000000000ff RSI: 0000557e131eb950 RDI: 0000000000000000
RBP: 0000557e131eb910 R08: 0000000000000001 R09: 0000000000000000
R10: 00007effc06d23a3 R11: 0000000000000246 R12: 0000557e131eb99d
R13: 0000557e131eb950 R14: 0000000000000000 R15: 00007effc0710a80