INFO: task syz.2.23:6780 blocked for more than 143 seconds. Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.23 state:D stack:0 pid:6780 tgid:6778 ppid:6531 task_flags:0x400140 flags:0x00000019 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:737 (T) context_switch kernel/sched/core.c:5396 [inline] __schedule+0x1414/0x2a28 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6878 __closure_sync+0x160/0x278 lib/closure.c:146 closure_sync include/linux/closure.h:195 [inline] bch2_set_nr_journal_buckets_loop+0x1280/0x1654 fs/bcachefs/journal.c:1286 bch2_dev_journal_alloc+0x12c/0x240 fs/bcachefs/journal.c:1399 bch2_fs_journal_alloc+0x3fc/0x47c fs/bcachefs/journal.c:1411 bch2_run_recovery_pass fs/bcachefs/recovery_passes.c:485 [inline] __bch2_run_recovery_passes+0x29c/0xd18 fs/bcachefs/recovery_passes.c:540 bch2_run_recovery_passes+0x174/0x1f4 fs/bcachefs/recovery_passes.c:611 bch2_fs_recovery+0x1d60/0x2fa8 fs/bcachefs/recovery.c:989 bch2_fs_start+0x914/0xbc0 fs/bcachefs/super.c:1203 bch2_fs_get_tree+0x890/0x1048 fs/bcachefs/fs.c:2489 vfs_get_tree+0x90/0x28c fs/super.c:1802 do_new_mount+0x228/0x814 fs/namespace.c:3885 path_mount+0x5b4/0xde0 fs/namespace.c:4209 do_mount fs/namespace.c:4222 [inline] __do_sys_mount fs/namespace.c:4433 [inline] __se_sys_mount fs/namespace.c:4410 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4410 __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/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 2 locks held by kworker/u8:1/14: 1 lock held by khungtaskd/32: #0: ffff80008f819e40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by getty/6287: #0: ffff0000d64920a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b9fb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 =============================================