INFO: task bch-reclaim/loo:6690 blocked for more than 145 seconds. Not tainted 6.14.0-rc2-syzkaller-ga64dcfb451e2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-reclaim/loo state:D stack:0 pid:6690 tgid:6690 ppid:2 task_flags:0x200040 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 bch2_journal_reclaim_thread+0x148/0x49c fs/bcachefs/journal_reclaim.c:759 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: ffff80008fd92220 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 4 locks held by kworker/u8:11/4645: #0: ffff0000cc661148 ((wq_completion)btree_update){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff8000a32d7ba0 ((work_completion)(&c->btree_interior_update_work)){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3210 #2: ffff0000f5f04378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #3: ffff0000f5f266d0 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x588/0x15f8 fs/bcachefs/btree_update_interior.c:1180 2 locks held by getty/6202: #0: ffff0000d75d10a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bc8e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 6 locks held by syz-executor/6442: #0: ffff0000ccbce0e0 (&type->s_umount_key #70){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #70){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #70){++++}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff0000f5f00278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xfc/0x570 fs/bcachefs/super.c:633 #2: ffff0000f5f4b028 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x8c/0x3c4 fs/bcachefs/journal_reclaim.c:870 #3: ffff0000f5f04378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #4: ffff0000f5f04378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #5: ffff0000f5f266d0 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x588/0x15f8 fs/bcachefs/btree_update_interior.c:1180 1 lock held by bch-reclaim/loo/6690: #0: ffff0000f5f4b028 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x148/0x49c fs/bcachefs/journal_reclaim.c:759 2 locks held by kworker/u8:14/7709: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff8000a44d7ba0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3210 3 locks held by kworker/u8:15/7710: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff80009f887ba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3210 #2: ffff800092b5f168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by syz-executor/7752: 1 lock held by syz.0.212/8449: #0: ffff0000ccbce0e0 (&type->s_umount_key#70){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000ccbce0e0 (&type->s_umount_key#70){++++}-{4:4}, at: super_lock+0x244/0x33c fs/super.c:120 2 locks held by syz.9.253/8857: #0: ffff800092b5f168 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 #1: ffff80008fd97738 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:334 [inline] #1: ffff80008fd97738 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x324/0x674 kernel/rcu/tree_exp.h:996 2 locks held by syz.7.257/8961: #0: ffff0000f1906208 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline] #0: ffff0000f1906208 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release net/socket.c:646 [inline] #0: ffff0000f1906208 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: sock_close+0x80/0x1e8 net/socket.c:1398 #1: ffff0000f1348258 (sk_lock-AF_CAIF){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1624 [inline] #1: ffff0000f1348258 (sk_lock-AF_CAIF){+.+.}-{0:0}, at: caif_release+0x108/0x364 net/caif/caif_socket.c:914 1 lock held by sed/8968: =============================================