INFO: task bch-reclaim/loo:7473 blocked for more than 152 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:7473 tgid:7473 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 kthreadd/2: 1 lock held by kworker/R-rcu_g/4: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x350 kernel/workqueue.c:2676 1 lock held by kworker/0:0/8: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x350 kernel/workqueue.c:2676 2 locks held by kworker/0:1/10: 1 lock held by kworker/R-mm_pe/12: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x350 kernel/workqueue.c:2676 3 locks held by kworker/u8:1/13: 2 locks held by kworker/1:0/25: 2 locks held by kworker/1:1/27: 1 lock held by khungtaskd/31: #0: ffff80008fd92220 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 2 locks held by kworker/u8:2/38: 6 locks held by kworker/u8:3/44: 3 locks held by kworker/u8:4/254: 3 locks held by kworker/u8:5/312: 3 locks held by kworker/u8:6/492: 4 locks held by kworker/u8:8/609: 2 locks held by kworker/0:2/1779: 3 locks held by udevd/6057: 3 locks held by dhcpcd/6111: 2 locks held by getty/6203: #0: ffff0000d6ee90a0 (&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 2 locks held by kworker/0:3/6441: 4 locks held by kworker/u9:2/6442: #0: ffff0000c44df148 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff80009e4a7ba0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3210 #2: ffff0000dc0dcd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x194/0x34c net/bluetooth/hci_sync.c:331 #3: ffff0000dc0dc078 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x238/0xff0 net/bluetooth/hci_sync.c:5569 1 lock held by syz-executor/6449: 4 locks held by syz-executor/6450: 1 lock held by kworker/R-wg-cr/6477: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x350 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/6480: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/6481: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/6482: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x350 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/6483: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x350 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/6484: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/6485: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/6486: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x350 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/6487: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 5 locks held by kworker/1:3/6488: 2 locks held by kworker/1:4/6489: 2 locks held by kworker/0:5/6491: 7 locks held by kworker/0:6/6519: 6 locks held by syz-executor/6876: #0: ffff0000eec860e0 (&type->s_umount_key#73){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000eec860e0 (&type->s_umount_key#73){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000eec860e0 (&type->s_umount_key#73){++++}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff0000f1700278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xfc/0x570 fs/bcachefs/super.c:633 #2: ffff0000f174b028 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x8c/0x3c4 fs/bcachefs/journal_reclaim.c:870 #3: ffff0000f1704378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #4: ffff0000f1704378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #5: ffff0000f17266d0 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x588/0x15f8 fs/bcachefs/btree_update_interior.c:1180 1 lock held by kworker/R-wg-cr/6945: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x350 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/6950: 1 lock held by bch-reclaim/loo/7473: #0: ffff0000f174b028 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x148/0x49c fs/bcachefs/journal_reclaim.c:759 3 locks held by kworker/u8:10/7516: 2 locks held by kworker/u8:16/7523: 3 locks held by kworker/u8:38/7545: 3 locks held by kworker/u8:50/7557: 3 locks held by kworker/u8:51/7558: 3 locks held by kworker/u8:52/7560: 4 locks held by kworker/u8:53/7561: #0: ffff0000c0031948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff80009e5b7ba0 ((reg_check_chans).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: ffff0000df220768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline] #3: ffff0000df220768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_leave_invalid_chans net/wireless/reg.c:2468 [inline] #3: ffff0000df220768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_check_chans_work+0x134/0xe2c net/wireless/reg.c:2483 2 locks held by kworker/u8:54/7562: 2 locks held by kworker/u8:55/7563: 3 locks held by kworker/u8:56/7564: 3 locks held by kworker/u8:57/7565: 3 locks held by kworker/u8:58/7566: 2 locks held by kworker/u8:59/7567: 3 locks held by kworker/u8:60/7568: 3 locks held by kworker/u8:61/7569: 4 locks held by kworker/u8:62/7570: 3 locks held by kworker/u8:63/7571: 3 locks held by kworker/u8:64/7572: 3 locks held by kworker/u8:65/7573: #0: ffff0000d278a148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3210 #1: ffff80009da27ba0 ((work_completion)(&(&net->ipv6.addr_chk_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 4 locks held by kworker/u8:67/7575: 3 locks held by kworker/u8:68/7576: 3 locks held by kworker/u8:69/7577: 3 locks held by kworker/u8:70/7578: 3 locks held by kworker/u8:71/7579: 1 lock held by kworker/R-wg-cr/7582: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/7586: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/7592: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 3 locks held by syz-executor/7983: 1 lock held by kworker/R-wg-cr/8018: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x40/0x350 kernel/workqueue.c:2676 1 lock held by kworker/R-wg-cr/8019: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 1 lock held by kworker/R-wg-cr/8021: #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_detach_from_pool kernel/workqueue.c:2734 [inline] #0: ffff80008fc3e608 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x9e0/0xf2c kernel/workqueue.c:3533 1 lock held by syz.6.242/8055: #0: ffff0000eec860e0 (&type->s_umount_key#73){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000eec860e0 (&type->s_umount_key#73){++++}-{4:4}, at: super_lock+0x244/0x33c fs/super.c:120 1 lock held by syz.2.279/8267: #0: ffff0000eec860e0 (&type->s_umount_key#73){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000eec860e0 (&type->s_umount_key#73){++++}-{4:4}, at: super_lock+0x244/0x33c fs/super.c:120 2 locks held by kworker/0:7/8287: 2 locks held by kworker/1:7/8288: 1 lock held by syz-executor/8290: =============================================