INFO: task syz.0.102:7684 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.102 state:D stack:0 pid:7684 tgid:7684 ppid:6671 task_flags:0x400140 flags:0x00800019 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 schedule_timeout+0xac/0x270 kernel/time/sleep_timeout.c:75 ___down_common+0x23c/0x374 kernel/locking/semaphore.c:268 __down_common+0xc0/0x3a4 kernel/locking/semaphore.c:293 __down+0x18/0x24 kernel/locking/semaphore.c:303 down+0x94/0xe8 kernel/locking/semaphore.c:100 bch2_run_recovery_passes+0x164/0x1f4 fs/bcachefs/recovery_passes.c:609 bch2_fs_recovery+0x1df4/0x2fb4 fs/bcachefs/recovery.c:1050 bch2_fs_start+0x940/0xbec fs/bcachefs/super.c:1213 bch2_fs_get_tree+0x880/0x107c fs/bcachefs/fs.c:2488 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3808 path_mount+0x5b4/0xde0 fs/namespace.c:4123 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount fs/namespace.c:4324 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4324 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by khungtaskd/32: #0: ffff80008f9d9620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 1 lock held by pr/ttyAMA-1/43: 2 locks held by getty/6312: #0: ffff0000d7cfa0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800099e8e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 2 locks held by kworker/u8:1/6746: #0: ffff00019bcb1818 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:636 [inline] #0: ffff00019bcb1818 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1519 [inline] #0: ffff00019bcb1818 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1841 [inline] #0: ffff00019bcb1818 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x338/0x2864 kernel/sched/core.c:6865 #1: ffff00019bc9c548 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x6c/0x6dc kernel/sched/psi.c:933 1 lock held by syz.1.544/12579: =============================================