INFO: task kworker/u4:8:4351 blocked for more than 143 seconds. Not tainted 6.1.100-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:8 state:D stack:0 pid:4351 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:0) Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xef4/0x1d44 kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 rwsem_down_write_slowpath+0xc80/0x156c kernel/locking/rwsem.c:1189 __down_write_common kernel/locking/rwsem.c:1314 [inline] __down_write kernel/locking/rwsem.c:1323 [inline] down_write+0x84/0x88 kernel/locking/rwsem.c:1574 f2fs_down_write fs/f2fs/f2fs.h:2176 [inline] f2fs_balance_fs+0x40c/0x60c fs/f2fs/segment.c:428 f2fs_write_inode+0x42c/0x4a0 fs/f2fs/inode.c:736 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x614/0x1770 fs/fs-writeback.c:1677 writeback_sb_inodes+0x978/0x1718 fs/fs-writeback.c:1903 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:1974 wb_writeback+0x428/0x1130 fs/fs-writeback.c:2079 wb_check_background_flush fs/fs-writeback.c:2145 [inline] wb_do_writeback fs/fs-writeback.c:2233 [inline] wb_workfn+0xc98/0x1034 fs/fs-writeback.c:2260 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 Showing all locks held in the system: 4 locks held by kworker/u4:0/9: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015a34ef0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffff800015a356f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffff800015a34d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 4 locks held by kworker/u4:4/259: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff80001e2f7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff0000d57b40e0 (&type->s_umount_key#49){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:415 #3: ffff0000f35b9140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2176 [inline] #3: ffff0000f35b9140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x40c/0x60c fs/f2fs/segment.c:428 3 locks held by kworker/1:2/3702: #0: ffff0000d5e4f938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800020227c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by dhcpcd/3897: #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x104/0x698 net/netlink/af_netlink.c:2300 2 locks held by getty/3982: #0: ffff0000d7710098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001bd102f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1214 drivers/tty/n_tty.c:2198 3 locks held by kworker/0:5/4278: #0: ffff0000d5e4f938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff80001e3d7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by kworker/u4:8/4351: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff80001f217c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff0000f45360e0 (&type->s_umount_key#49){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:415 #3: ffff0000d71f1140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2176 [inline] #3: ffff0000d71f1140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x40c/0x60c fs/f2fs/segment.c:428 3 locks held by kworker/1:11/4406: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff80001f8f7c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by kworker/u4:11/4421: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff80001f9a7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff0000da34c0e0 (&type->s_umount_key#49){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:415 #3: ffff0000d0b51140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2176 [inline] #3: ffff0000d0b51140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x40c/0x60c fs/f2fs/segment.c:428 5 locks held by syz.0.28/4449: 5 locks held by syz.3.29/4448: 3 locks held by kworker/0:9/4484: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff8000211a7c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by kworker/u4:12/4487: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2265 #1: ffff800021257c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2267 #2: ffff0000c42520e0 (&type->s_umount_key#49){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:415 #3: ffff0000d4c75140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2176 [inline] #3: ffff0000d4c75140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x40c/0x60c fs/f2fs/segment.c:428 2 locks held by kworker/u4:14/4546: 5 locks held by syz.2.75/4626: 4 locks held by syz.1.77/4645: 1 lock held by syz-executor/5640: #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 net/core/rtnetlink.c:6118 1 lock held by syz-executor/5641: #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 net/core/rtnetlink.c:6118 2 locks held by syz.1.359/5756: #0: ffff800017e36510 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d0/0x58c net/core/net_namespace.c:477 #1: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz-executor/5839: #0: ffff800017e36510 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2d0/0x58c net/core/net_namespace.c:477 #1: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.2.371/5867: #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by syz.0.372/5889: #0: ffff800017e9d110 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:860 #1: ffff800017e9cfc8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffff800017e9cfc8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x114/0xc2c net/netlink/genetlink.c:848 #2: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz-executor/5891: #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 net/core/rtnetlink.c:6118 1 lock held by syz-executor/5895: #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 net/core/rtnetlink.c:6118 1 lock held by syz-executor/5900: #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 net/core/rtnetlink.c:6118 1 lock held by syz-executor/5903: #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017e42348 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 net/core/rtnetlink.c:6118 =============================================