INFO: task bch-reclaim/loo:6628 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:6628 tgid:6628 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: 2 locks held by kworker/0:1/10: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff8000975a7c20 ((work_completion)(&(&devlink->rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 3 locks held by kworker/u8:0/11: #0: ffff0000d17be148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff8000975b7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff800092437ee8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by khungtaskd/31: #0: ffff80008f74dfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:325 3 locks held by kworker/u8:2/43: #0: ffff0000c1869948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff800097cb7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff80009242b950 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594 2 locks held by jfsCommit/97: #0: ffff0000d6f30920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x2cc/0x2648 fs/jfs/jfs_imap.c:889 #1: ffff0000eea0a618 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x2e0/0x2648 fs/jfs/jfs_imap.c:894 1 lock held by kworker/u8:6/514: 3 locks held by kworker/0:2/1765: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009f3f7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff0000c8912240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 2 locks held by getty/6168: #0: ffff0000cbc9a0a0 (&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/6415: 1 lock held by bch-reclaim/loo/6628: #0: ffff0000f0b4af28 (&j->reclaim_lock){+.+.}-{3:3}, at: bch2_journal_reclaim_thread+0x144/0x4b8 fs/bcachefs/journal_reclaim.c:738 3 locks held by kworker/0:5/6849: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff80009d4f7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff0000ce053240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 1 lock held by syz-executor/7493: #0: ffff0000c94060e0 (&type->s_umount_key#70){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000c94060e0 (&type->s_umount_key#70){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000c94060e0 (&type->s_umount_key#70){+.+.}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:505 4 locks held by syz-executor/8049: #0: ffff0000d8206420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2882 [inline] #0: ffff0000d8206420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x368/0xc80 fs/read_write.c:586 #1: ffff0000c8afc088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000c978b3c8 (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 8 locks held by syz-executor/8051: 1 lock held by syz-executor/8061: #0: ffff80008f7532f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline] #0: ffff80008f7532f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x324/0x674 kernel/rcu/tree_exp.h:958 1 lock held by syz.2.329/8145: #0: ffff0000ec8540e0 (&type->s_umount_key#69){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000ec8540e0 (&type->s_umount_key#69){++++}-{3:3}, at: super_lock+0x244/0x33c fs/super.c:120 1 lock held by syz-executor/8223: #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 =============================================