INFO: task kworker/u8:1:13 blocked for more than 143 seconds. Not tainted 6.15.0-rc5-syzkaller-gc32f8dc5aaf9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:1 state:D stack:0 pid:13 tgid:13 ppid:2 task_flags:0x4208160 flags:0x00000010 Workqueue: writeback wb_workfn (flush-7:3) Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:734 (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: 4 locks held by kworker/u8:1/13: #0: ffff0000c20e9948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff800097657bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff0000f833e0e0 (&type->s_umount_key#71){++++}-{4:4}, at: super_trylock_shared+0x24/0xdc fs/super.c:562 #3: ffff0000f05753b0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2213 [inline] #3: ffff0000f05753b0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_balance_fs+0x458/0x6b4 fs/f2fs/segment.c:454 1 lock held by khungtaskd/32: #0: ffff80008f4f88a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by kworker/u8:2/44: 4 locks held by kworker/u8:4/230: #0: ffff0000c183a148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff80009b7b7bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff80009246e210 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x138/0x9c0 net/core/net_namespace.c:608 #3: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:8/2621: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff8000a19c7bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by klogd/6094: 1 lock held by dhcpcd/6160: #0: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by getty/6252: #0: ffff0000d24030a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b5be2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa0 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/6478: 5 locks held by syz.3.104/7129: 2 locks held by syz.5.593/9644: #0: ffff0000f833e0e0 (&type->s_umount_key#71){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000f833e0e0 (&type->s_umount_key#71){++++}-{4:4}, at: super_lock+0x240/0x32c fs/super.c:120 #1: ffff0000ca27a7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff0000ca27a7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x16c/0x870 fs/fs-writeback.c:2831 2 locks held by syz-executor/9686: #0: ffff800091316120 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:160 #1: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x710/0x15dc net/core/rtnetlink.c:4064 1 lock held by syz.2.622/9839: #0: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x5dc/0x97c net/core/rtnetlink.c:6961 1 lock held by syz.2.622/9842: #0: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz.2.622/9847: #0: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x5dc/0x97c net/core/rtnetlink.c:6961 1 lock held by syz.6.626/9859: #0: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by syz.4.625/9858: #0: ffff80009246e210 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x288/0x4a4 net/core/net_namespace.c:514 #1: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 1 lock held by syz-executor/9865: #0: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 =============================================