INFO: task kworker/u4:16:4752 blocked for more than 143 seconds. Not tainted 5.15.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:16 state:D stack: 0 pid: 4752 ppid: 2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:0) Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 rwsem_down_write_slowpath+0xd94/0x17e0 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write+0xe8/0x12c kernel/locking/rwsem.c:1552 f2fs_balance_fs+0x3e8/0x6a0 fs/f2fs/segment.c:528 f2fs_write_inode+0x42c/0x4a0 fs/f2fs/inode.c:736 write_inode fs/fs-writeback.c:1495 [inline] __writeback_single_inode+0x584/0x13a4 fs/fs-writeback.c:1705 writeback_sb_inodes+0x94c/0x1654 fs/fs-writeback.c:1930 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:2001 wb_writeback+0x410/0xfc8 fs/fs-writeback.c:2106 wb_check_background_flush fs/fs-writeback.c:2172 [inline] wb_do_writeback fs/fs-writeback.c:2260 [inline] wb_workfn+0xc44/0x1070 fs/fs-writeback.c:2288 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 INFO: task syz.0.606:6152 blocked for more than 144 seconds. Not tainted 5.15.169-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.606 state:D stack: 0 pid: 6152 ppid: 4030 flags:0x00000001 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 rwsem_down_write_slowpath+0xd94/0x17e0 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write+0xe8/0x12c kernel/locking/rwsem.c:1552 inode_lock include/linux/fs.h:789 [inline] do_truncate+0x1ac/0x28c fs/open.c:63 handle_truncate fs/namei.c:3265 [inline] do_open fs/namei.c:3612 [inline] path_openat+0x20c4/0x26cc fs/namei.c:3742 do_filp_open+0x1a8/0x3b4 fs/namei.c:3769 do_sys_openat2+0x128/0x3e0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1280 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffff800014c822e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 2 locks held by kworker/u4:7/1799: 2 locks held by getty/3781: #0: ffff0000d4c89098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001d5ee2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 3 locks held by kworker/1:4/4071: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020347c00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 5 locks held by kworker/u4:14/4582: #0: ffff0000c038c138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020637c00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016bd8250 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf4/0x9bc net/core/net_namespace.c:561 #3: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 #4: ffff800014c868e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #4: ffff800014c868e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x660 kernel/rcu/tree_exp.h:845 4 locks held by kworker/u4:16/4752: #0: ffff0000c21d0138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001fa27c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000c8dd60e0 (&type->s_umount_key#82){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:418 #3: ffff0000d90fd1b0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x3e8/0x6a0 fs/f2fs/segment.c:528 3 locks held by kworker/u4:17/4953: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020897c00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 4 locks held by kworker/u4:22/4971: #0: ffff0000c21d0138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001ffd7c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000caeb80e0 (&type->s_umount_key#82){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:418 #3: ffff0000d8e8d1b0 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x3e8/0x6a0 fs/f2fs/segment.c:528 6 locks held by syz.0.606/6103: 2 locks held by syz.0.606/6152: #0: ffff0000c8dd6460 (sb_writers#25){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000f6809450 (&sb->s_type->i_mutex_key#33){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000f6809450 (&sb->s_type->i_mutex_key#33){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c fs/open.c:63 6 locks held by syz.4.656/6317: 2 locks held by syz.4.656/6358: #0: ffff0000caeb8460 (sb_writers#25){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000f680b0d0 (&sb->s_type->i_mutex_key#33){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000f680b0d0 (&sb->s_type->i_mutex_key#33){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c fs/open.c:63 2 locks held by syz.4.656/6361: #0: ffff0000caeb8460 (sb_writers#25){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3044 [inline] #0: ffff0000caeb8460 (sb_writers#25){.+.+}-{0:0}, at: vfs_fallocate+0x404/0x5b4 fs/open.c:307 #1: ffff0000f680b0d0 (&sb->s_type->i_mutex_key#33){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000f680b0d0 (&sb->s_type->i_mutex_key#33){+.+.}-{3:3}, at: f2fs_fallocate+0x1cc/0x898 fs/f2fs/file.c:1776 2 locks held by kworker/1:17/6621: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800021c07c00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 1 lock held by syz.1.997/7726: 1 lock held by syz-executor/7816: #0: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac net/core/rtnetlink.c:5644 1 lock held by syz.3.1028/7824: #0: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac net/core/rtnetlink.c:5644 3 locks held by syz.3.1028/7826: #0: ffff800016c3fa50 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:802 #1: ffff800016c3f908 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffff800016c3f908 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x114/0x1018 net/netlink/genetlink.c:790 #2: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:72 1 lock held by syz-executor/7825: #0: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffff800016be3a28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac net/core/rtnetlink.c:5644 =============================================