INFO: task kworker/u4:3:46 blocked for more than 143 seconds. Not tainted 5.19.0-rc8-syzkaller-00155-g6a010258447d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:3 state:D stack:24336 pid: 46 ppid: 2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:2) Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6458 schedule+0xeb/0x1b0 kernel/sched/core.c:6530 schedule_timeout+0xac/0x300 kernel/time/timer.c:1911 do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 f2fs_issue_checkpoint+0x2f9/0x4e0 f2fs_balance_fs_bg+0x4b7/0x930 fs/f2fs/segment.c:477 f2fs_write_node_pages+0x147/0x6d0 fs/f2fs/node.c:2104 do_writepages+0x3c3/0x690 mm/page-writeback.c:2443 __writeback_single_inode+0xd1/0x670 fs/fs-writeback.c:1587 writeback_sb_inodes+0xb45/0x18c0 fs/fs-writeback.c:1865 __writeback_inodes_wb+0x125/0x420 fs/fs-writeback.c:1936 wb_writeback+0x450/0x7a0 fs/fs-writeback.c:2041 wb_check_old_data_flush fs/fs-writeback.c:2141 [inline] wb_do_writeback fs/fs-writeback.c:2194 [inline] wb_workfn+0xa92/0xf10 fs/fs-writeback.c:2222 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cb1ef20 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:3/46: #0: ffff88801749c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90000b77d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff888075cae0e0 (&type->s_umount_key#54){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:415 2 locks held by getty/3283: #0: ffff8880270e2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124 3 locks held by syz-executor.0/3642: #0: ffff88814acc2460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff88814acc2650 ( sb_internal ){.+.+}-{0:0} , at: __sb_start_write include/linux/fs.h:1699 [inline] , at: sb_start_intwrite include/linux/fs.h:1821 [inline] , at: ext4_evict_inode+0x455/0xf90 fs/ext4/inode.c:238 #2: ffff8880b9b39b58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 2 locks held by syz-executor.4/3645: #0: ffff88814acc2460 ( sb_writers #4 ){.+.+}-{0:0} , at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff88814acc2650 ( sb_internal ){.+.+}-{0:0} , at: __sb_start_write include/linux/fs.h:1699 [inline] , at: sb_start_intwrite include/linux/fs.h:1821 [inline] , at: ext4_evict_inode+0x455/0xf90 fs/ext4/inode.c:238 2 locks held by syz-executor.5/3713: #0: ffff88814acc2460 ( sb_writers #4 ){.+.+}-{0:0} , at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888040a58400 ( &type->i_mutex_dir_key #3 /1 ){+.+.}-{3:3} , at: inode_lock_nested include/linux/fs.h:776 [inline] , at: do_unlinkat+0x27d/0x9a0 fs/namei.c:4243 2 locks held by kworker/1:8/4323: #0: ffff888011c66538 ( (wq_completion)rcu_gp ){+.+.}-{0:0} , at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90002d2fd00 ( (work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 4 locks held by kworker/u4:15/7221: 5 locks held by f2fs_ckpt-7:2/22606: 2 locks held by syz-executor.3/24794: #0: ffff8881457380e0 ( &type->s_umount_key #75 /1 ){+.+.}-{3:3} , at: alloc_super+0x1c5/0x820 fs/super.c:228 #1: ffffffff8cb24220 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] , at: synchronize_rcu_expedited+0x266/0x720 kernel/rcu/tree_exp.h:927 2 locks held by dhcpcd/24806: #0: ffff8880762ea130 ( sk_lock-AF_PACKET ){+.+.}-{0:0} , at: lock_sock include/net/sock.h:1677 [inline] , at: packet_do_bind+0x2a/0xce0 net/packet/af_packet.c:3194 #1: ffffffff8cb24220 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] , at: synchronize_rcu_expedited+0x329/0x720 kernel/rcu/tree_exp.h:927 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc8-syzkaller-00155-g6a010258447d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcf9/0xd40 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 5.19.0-rc8-syzkaller-00155-g6a010258447d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: events_power_efficient wg_ratelimiter_gc_entries RIP: 0010:__raw_callee_save___pv_queued_spin_unlock+0xc/0x12 Code: 56 57 41 50 41 51 41 52 41 53 e8 1f 0e 00 00 41 5b 41 5a 41 59 41 58 5f 5e 5a 59 c3 66 90 52 b8 01 00 00 00 31 d2 f0 0f b0 17 <3c> 01 75 02 5a c3 56 0f b6 f0 e8 c5 ff ff ff 5e 5a c3 66 90 55 48 RSP: 0018:ffffc90000137b68 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffffffff1a837f9 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff8d41bfc0 RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff1a837f9 R10: fffffbfff1a837f9 R11: 1ffffffff1a837f8 R12: 1ffffffff1a837fa R13: ffffffff8d41bfd0 R14: ffffffff8d41bfc8 R15: ffffffff8d41bfc0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc5fd84b88 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:596 [inline] queued_spin_unlock arch/x86/include/asm/qspinlock.h:57 [inline] do_raw_spin_unlock+0x134/0x8a0 kernel/locking/spinlock_debug.c:141 __raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_unlock+0x1a/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:389 [inline] wg_ratelimiter_gc_entries+0x3e1/0x4a0 drivers/net/wireguard/ratelimiter.c:76 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30