INFO: task syz.2.143:9643 blocked for more than 143 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.143 state:D stack:0 pid:9643 tgid:9642 ppid:7416 task_flags:0x400140 flags:0x00000019 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:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 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: ffff80008f9a9060 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by kworker/u8:3/42: 1 lock held by pr/ttyAMA-1/43: 2 locks held by kworker/u8:4/243: 2 locks held by getty/6307: #0: ffff0000d31e30a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bbae2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 2 locks held by syz-executor/7423: 1 lock held by udevd/7679: 1 lock held by udevd/9220: 1 lock held by syz.7.637/15657: 1 lock held by syz.1.639/15660: #0: ffff000106000920 (&c->sb_lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:228 [inline] #0: ffff000106000920 (&c->sb_lock){+.+.}-{4:4}, at: bch2_sb_recovery_pass_complete fs/bcachefs/recovery_passes.c:141 [inline] #0: ffff000106000920 (&c->sb_lock){+.+.}-{4:4}, at: bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:496 [inline] #0: ffff000106000920 (&c->sb_lock){+.+.}-{4:4}, at: __bch2_run_recovery_passes+0x380/0xd54 fs/bcachefs/recovery_passes.c:539 1 lock held by syz.5.638/15664: 1 lock held by syz.4.640/15703: =============================================