INFO: task bch-reclaim/loo:6915 blocked for more than 143 seconds. Not tainted 6.14.0-rc1-syzkaller-g2014c95afece #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-reclaim/loo state:D stack:0 pid:6915 tgid:6915 ppid:2 task_flags:0x200840 flags:0x00000008 Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5377 [inline] __schedule+0x1360/0x257c kernel/sched/core.c:6764 __schedule_loop kernel/sched/core.c:6841 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6856 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6913 __mutex_lock_common+0xd30/0x24b8 kernel/locking/mutex.c:662 __mutex_lock kernel/locking/mutex.c:730 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:782 btree_write_buffer_flush_seq+0x11c0/0x1328 fs/bcachefs/btree_write_buffer.c:550 bch2_btree_write_buffer_journal_flush+0xcc/0x154 fs/bcachefs/btree_write_buffer.c:567 journal_flush_pins+0x520/0x9d8 fs/bcachefs/journal_reclaim.c:585 __bch2_journal_reclaim+0x728/0xfb0 fs/bcachefs/journal_reclaim.c:718 bch2_journal_reclaim_thread+0x158/0x49c fs/bcachefs/journal_reclaim.c:760 kthread+0x65c/0x7b0 kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff80008fdb1ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 2 locks held by getty/6195: #0: ffff0000ccabf0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bc9e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 5 locks held by syz-executor/6445: #0: ffff0000fc0ae0e0 (&type->s_umount_key#78){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000fc0ae0e0 (&type->s_umount_key#78){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000fc0ae0e0 (&type->s_umount_key#78){++++}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff0000f4080278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xfc/0x570 fs/bcachefs/super.c:622 #2: ffff0000f4084720 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x11c0/0x1328 fs/bcachefs/btree_write_buffer.c:550 #3: ffff0000f4084378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #4: ffff0000f40a66d0 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x588/0x15ac fs/bcachefs/btree_update_interior.c:1180 3 locks held by bch-reclaim/loo/6915: #0: ffff0000f40cb028 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x148/0x49c fs/bcachefs/journal_reclaim.c:759 #1: ffff0000f4084378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #2: ffff0000f4084720 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x11c0/0x1328 fs/bcachefs/btree_write_buffer.c:550 1 lock held by syz.0.981/9521: #0: ffff0000fc0ae0e0 (&type->s_umount_key#78){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000fc0ae0e0 (&type->s_umount_key#78){++++}-{4:4}, at: super_lock+0x244/0x33c fs/super.c:120 1 lock held by syz.5.1049/9696: =============================================