INFO: task kworker/u8:3:45 blocked for more than 144 seconds. Not tainted 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:3 state:D stack:0 pid:45 tgid:45 ppid:2 task_flags:0x4208160 flags:0x00000010 Workqueue: writeback wb_workfn (flush-7:1) Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:735 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6860 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xa80/0x10f0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0xb4/0xc0 kernel/locking/rwsem.c:1578 f2fs_down_write fs/f2fs/f2fs.h:2213 [inline] f2fs_balance_fs+0x458/0x6b4 fs/f2fs/segment.c:454 f2fs_write_inode+0x3a8/0x658 fs/f2fs/inode.c:812 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x5ac/0x13e8 fs/fs-writeback.c:1745 writeback_sb_inodes+0x558/0xe38 fs/fs-writeback.c:1976 __writeback_inodes_wb+0xec/0x228 fs/fs-writeback.c:2047 wb_writeback+0x3e0/0xd70 fs/fs-writeback.c:2158 wb_check_old_data_flush fs/fs-writeback.c:2262 [inline] wb_do_writeback fs/fs-writeback.c:2315 [inline] wb_workfn+0xa08/0xdc0 fs/fs-writeback.c:2343 process_one_work+0x7e8/0x156c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 Showing all locks held in the system: 1 lock held by khungtaskd/32: #0: ffff80008f508920 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 4 locks held by kworker/u8:3/45: #0: ffff0000c24d1948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff800097d67bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff0000f37bc0e0 (&type->s_umount_key#78){++++}-{4:4}, at: super_trylock_shared+0x24/0xdc fs/super.c:562 #3: ffff0000c888d3b0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2213 [inline] #3: ffff0000c888d3b0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_balance_fs+0x458/0x6b4 fs/f2fs/segment.c:454 2 locks held by kworker/u8:4/173: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff80009b777bc0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 3 locks held by kworker/u8:7/316: #0: ffff0000c183a148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff80009be77bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff80008f50e300 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x58/0x528 kernel/rcu/tree.c:3774 2 locks held by kworker/u8:11/651: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff80009d087bc0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 1 lock held by udevd/6108: 2 locks held by getty/6267: #0: ffff0000d7d5a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b5eb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa0 drivers/tty/n_tty.c:2222 5 locks held by syz.1.37/6772: 2 locks held by syz.4.464/8709: #0: ffff80008fa9ea88 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree_super fs/btrfs/super.c:1844 [inline] #0: ffff80008fa9ea88 (uuid_mutex){+.+.}-{4:4}, at: btrfs_get_tree+0x234/0x1038 fs/btrfs/super.c:2096 #1: ffff80008f5be0c8 (lock#2){+.+.}-{4:4}, at: __lru_add_drain_all+0x88/0x4dc mm/swap.c:830 1 lock held by udevd/8745: 2 locks held by rm/8760: =============================================