INFO: task bch-reclaim/loo:6984 blocked for more than 143 seconds. Not tainted 6.11.0-rc7-syzkaller-g5f5673607153 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-reclaim/loo state:D stack:0 pid:6984 tgid:6984 ppid:2 flags:0x00000008 Call trace: __switch_to+0x420/0x6dc arch/arm64/kernel/process.c:603 context_switch kernel/sched/core.c:5188 [inline] __schedule+0x13d4/0x2418 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6621 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6678 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:684 __mutex_lock kernel/locking/mutex.c:752 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:804 bch2_journal_reclaim_thread+0x144/0x4b8 fs/bcachefs/journal_reclaim.c:738 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff80008f74dfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:325 6 locks held by kworker/u8:2/43: 2 locks held by kworker/u8:4/210: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009b527c20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 4 locks held by kworker/u8:6/346: #0: ffff0000d5b54148 ((wq_completion)xfs_iwalk-8775){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009be37c20 ((work_completion)(&pwork->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff0000d60a8610 (sb_internal#3){.+.+}-{0:0}, at: xfs_dquot_disk_alloc+0x304/0xc0c fs/xfs/xfs_dquot.c:327 #3: ffff0000dbbb65d8 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_ilock+0x1f0/0x418 fs/xfs/xfs_inode.c:164 2 locks held by getty/6178: #0: ffff0000d7e680a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b50e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 4 locks held by syz-executor/6425: 4 locks held by kworker/u9:4/6430: #0: ffff0000ed0b7948 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009bb17c20 ((work_completion)(&hdev->error_reset)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff0000eda0cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #2: ffff0000eda0cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_error_reset+0x100/0x35c net/bluetooth/hci_core.c:1016 #3: ffff0000eda0c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x430/0x1074 net/bluetooth/hci_sync.c:5183 1 lock held by bch-reclaim/loo/6984: #0: ffff0000ee24af28 (&j->reclaim_lock){+.+.}-{3:3}, at: bch2_journal_reclaim_thread+0x144/0x4b8 fs/bcachefs/journal_reclaim.c:738 1 lock held by syz-executor/8356: #0: ffff80008f7532f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline] #0: ffff80008f7532f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x354/0x674 kernel/rcu/tree_exp.h:958 4 locks held by syz-executor/8673: #0: ffff0000d84fa420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2882 [inline] #0: ffff0000d84fa420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc80 fs/read_write.c:586 #1: ffff0000d8799c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc7a6008 (kn->active#46){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091592148 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 5 locks held by syz-executor/8681: #0: ffff0000d84fa420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2882 [inline] #0: ffff0000d84fa420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc80 fs/read_write.c:586 #1: ffff0000d4d6a888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cc7a60f8 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091592148 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000f41050e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff0000f41050e8 (&dev->mutex){....}-{3:3}, at: device_del+0xa4/0x828 drivers/base/core.c:3833 1 lock held by syz.3.311/8774: #0: ffff0000d9b4c188 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ffff0000d9b4c188 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x154/0x38c mm/util.c:586 3 locks held by syz.3.311/8775: =============================================