INFO: task bch-reclaim/loo:7013 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:bch-reclaim/loo state:D stack:0 pid:7013 tgid:7013 ppid:2 task_flags:0x200040 flags:0x00000010 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_preempt_disabled+0x18/0x2c kernel/sched/core.c:7115 __mutex_lock_common+0xca0/0x24ac kernel/locking/mutex.c:676 __mutex_lock kernel/locking/mutex.c:760 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:812 bch2_journal_reclaim_thread+0x12c/0x480 fs/bcachefs/journal_reclaim.c:773 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 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 pr/ttyAMA-1/43: 2 locks held by getty/6312: #0: ffff0000d2f040a0 (&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 6 locks held by syz-executor/6552: #0: ffff0000cf5a60e0 (&type->s_umount_key#58){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff0000cf5a60e0 (&type->s_umount_key#58){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff0000cf5a60e0 (&type->s_umount_key#58){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:506 #1: ffff000100a80278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xfc/0x800 fs/bcachefs/super.c:676 #2: ffff000100acaf68 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x90/0x678 fs/bcachefs/journal_reclaim.c:884 #3: ffff000100a84398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:160 #4: ffff000100a84740 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x1078/0x11c0 fs/bcachefs/btree_write_buffer.c:571 #5: ffff000100aa6710 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x468/0x1ab8 fs/bcachefs/btree_update_interior.c:1211 1 lock held by bch-reclaim/loo/7013: #0: ffff000100acaf68 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x12c/0x480 fs/bcachefs/journal_reclaim.c:773 =============================================