INFO: task kworker/u4:14:4457 blocked for more than 145 seconds. Not tainted 6.1.134-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:14 state:D stack:0 pid:4457 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:5) Call trace: __switch_to+0x308/0x598 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:2178 [inline] f2fs_balance_fs+0x418/0x618 fs/f2fs/segment.c:428 f2fs_write_inode+0x430/0x598 fs/f2fs/inode.c:733 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+0x804/0x1484 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: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015cc7a70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015cc8270 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:517 3 locks held by kworker/1:0/22: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1484 kernel/workqueue.c:2265 #1: ffff80001d397c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x1484 kernel/workqueue.c:2267 #2: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by khungtaskd/28: #0: ffff800015cc78a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 3 locks held by kworker/0:2/1516: #0: ffff0000d5b89138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1484 kernel/workqueue.c:2265 #1: ffff800025657c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x1484 kernel/workqueue.c:2267 #2: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by dhcpcd/3966: #0: ffff800018160bc8 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x594/0x85c net/socket.c:1283 #1: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by getty/4053: #0: ffff0000d0d3f098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001d9102f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1214 drivers/tty/n_tty.c:2198 1 lock held by syz-executor/4301: 4 locks held by kworker/u4:6/4382: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1484 kernel/workqueue.c:2265 #1: ffff800021517c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x1484 kernel/workqueue.c:2267 #2: ffff80001816e090 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0xaec net/core/net_namespace.c:594 #3: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by kworker/u4:14/4457: #0: ffff0000c2e4d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1484 kernel/workqueue.c:2265 #1: ffff800021757c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x1484 kernel/workqueue.c:2267 #2: ffff0000ec94c0e0 (&type->s_umount_key#48){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:415 #3: ffff0000ec9c91e8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2178 [inline] #3: ffff0000ec9c91e8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x418/0x618 fs/f2fs/segment.c:428 4 locks held by syz.5.513/6540: 1 lock held by syz.0.662/7318: #0: ffff800015ccceb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffff800015ccceb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e0/0x77c kernel/rcu/tree_exp.h:962 1 lock held by syz-executor/7359: #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6f0/0xd9c net/core/rtnetlink.c:6150 1 lock held by syz-executor/7362: #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6f0/0xd9c net/core/rtnetlink.c:6150 3 locks held by kworker/u4:25/7474: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1484 kernel/workqueue.c:2265 #1: ffff8000211b7c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x1484 kernel/workqueue.c:2267 #2: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz-executor/7729: #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6f0/0xd9c net/core/rtnetlink.c:6150 1 lock held by syz.8.742/7768: #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6f0/0xd9c net/core/rtnetlink.c:6150 1 lock held by syz-executor/7776: #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6f0/0xd9c net/core/rtnetlink.c:6150 1 lock held by syz-executor/7784: #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6f0/0xd9c net/core/rtnetlink.c:6150 2 locks held by syz.0.746/7792: #0: ffff0000e4ad9e80 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xac/0xc44 fs/seq_file.c:182 #1: ffff80001817a688 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 =============================================