INFO: task segctord:27676 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:27676 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 3 locks held by kworker/u4:1/29: 2 locks held by getty/2720: #0: ffff0000c619d098 (&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 3 locks held by syz-executor.1/3062: 5 locks held by syz-executor.0/3068: 3 locks held by kworker/u4:10/6288: 2 locks held by kworker/u4:12/6290: #0: ffff0000c0014938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262 #1: ffff800015a2bd80 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264 5 locks held by syz-executor.4/27671: 1 lock held by segctord/27676: #0: ffff000126322aa0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x8c/0x124 fs/nilfs2/segment.c:357 1 lock held by syz-executor.3/8554: #0: ffff00011880d290 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff00011880d290 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:649 [inline] #0: ffff00011880d290 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x40/0xf0 net/socket.c:1365 =============================================