INFO: task segctord:22905 blocked for more than 143 seconds. Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:segctord state:D stack: 0 pid:22905 ppid: 2 flags:0x00000008 Call trace: __switch_to+0x180/0x298 arch/arm64/kernel/process.c:557 context_switch kernel/sched/core.c:5182 [inline] __schedule+0x414/0x5a0 kernel/sched/core.c:6494 schedule+0x64/0xa4 kernel/sched/core.c:6570 rwsem_down_write_slowpath+0x258/0x468 kernel/locking/rwsem.c:1182 __down_write_common kernel/locking/rwsem.c:1297 [inline] __down_write kernel/locking/rwsem.c:1306 [inline] down_write+0x88/0xcc kernel/locking/rwsem.c:1553 nilfs_transaction_lock+0x8c/0x124 fs/nilfs2/segment.c:357 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2482 [inline] nilfs_segctor_thread+0x174/0x660 fs/nilfs2/segment.c:2566 kthread+0x12c/0x158 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/11: #0: ffff80000d433568 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffff80000d433bb8 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffff80000d433440 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:279 1 lock held by udevd/2560: #0: ffff0000c0011b48 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_iop_permission+0x54/0x12c fs/kernfs/inode.c:290 2 locks held by getty/2727: #0: ffff0000c6809898 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x28/0x58 drivers/tty/tty_ldisc.c:244 #1: ffff80000f6162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x19c/0x89c drivers/tty/n_tty.c:2177 2 locks held by kworker/1:3/2768: #0: ffff0000c0010f38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262 #1: ffff8000126c3d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264 4 locks held by kworker/u4:9/5491: 3 locks held by kworker/u4:20/8640: 2 locks held by kworker/u4:21/8641: #0: ffff0000c0014938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262 #1: ffff800013e83d80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264 2 locks held by kworker/u4:30/21948: #0: ffff0000c0014938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262 #1: ffff800015c23d80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264 5 locks held by syz-executor.1/22903: 1 lock held by segctord/22905: #0: ffff00011770d2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x8c/0x124 fs/nilfs2/segment.c:357 2 locks held by syz-executor.5/4778: #0: ffff80000d7eaa28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80000d7eaa28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x458/0x82c net/core/rtnetlink.c:6087 #1: ffff80000d4349f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffff80000d4349f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x210/0x47c kernel/rcu/tree_exp.h:940 1 lock held by syz-executor.5/4797: #0: ffff80000d7eaa28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff80000d7eaa28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x458/0x82c net/core/rtnetlink.c:6087 4 locks held by syz-executor.4/4804: 1 lock held by syz-executor.1/4803: =============================================