INFO: task kworker/u4:11:4719 blocked for more than 146 seconds. Not tainted 6.1.21-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:11 state:D stack:0 pid:4719 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:1) Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5238 [inline] __schedule+0xee4/0x1c98 kernel/sched/core.c:6551 schedule+0xc4/0x170 kernel/sched/core.c:6627 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:2207 [inline] f2fs_balance_fs+0x40c/0x60c fs/f2fs/segment.c:418 f2fs_write_inode+0x42c/0x4a0 fs/f2fs/inode.c:757 write_inode fs/fs-writeback.c:1440 [inline] __writeback_single_inode+0x614/0x1770 fs/fs-writeback.c:1652 writeback_sb_inodes+0x978/0x16c0 fs/fs-writeback.c:1878 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:1949 wb_writeback+0x428/0x1130 fs/fs-writeback.c:2054 wb_check_old_data_flush fs/fs-writeback.c:2154 [inline] wb_do_writeback fs/fs-writeback.c:2207 [inline] wb_workfn+0xc08/0x1034 fs/fs-writeback.c:2235 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015754a30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffff800015755230 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffff800015754860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:305 5 locks held by kworker/u4:2/39: #0: ffff0000c03dd138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2262 #1: ffff80001afd7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2264 #2: ffff800017b3f2d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x994 net/core/net_namespace.c:563 #3: ffff800017b4b168 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 #4: ffff800015759e38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #4: ffff800015759e38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e0/0x768 kernel/rcu/tree_exp.h:948 1 lock held by udevd/3838: 2 locks held by getty/3990: #0: ffff0000d4212098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001ca102f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1210 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.2/4349: 2 locks held by kworker/u4:5/4419: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2262 #1: ffff80001e047c20 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2264 2 locks held by kworker/1:8/4422: #0: ffff0000c0021d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2262 #1: ffff80001e017c20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2264 2 locks held by kworker/u4:10/4709: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2262 #1: ffff80001e347c20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2264 4 locks held by kworker/u4:11/4719: #0: ffff0000c0e3d938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2262 #1: ffff80001e107c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2264 #2: ffff00011e5720e0 (&type->s_umount_key#60){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:415 #3: ffff0000de135140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2207 [inline] #3: ffff0000de135140 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x40c/0x60c fs/f2fs/segment.c:418 2 locks held by syz-executor.1/4844: 2 locks held by syz-executor.0/9054: #0: ffff000137979a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff000137979a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:651 [inline] #0: ffff000137979a10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x80/0x1fc net/socket.c:1370 #1: ffff000122880130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1721 [inline] #1: ffff000122880130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: isotp_release+0x354/0x834 net/can/isotp.c:1168 1 lock held by syz-executor.2/9086: 1 lock held by syz-executor.2/9090: 2 locks held by syz-executor.5/9084: =============================================