INFO: task bch-reclaim/loo:6784 blocked for more than 143 seconds. Not tainted 6.14.0-rc5-syzkaller-g14d05f12084d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:bch-reclaim/loo state:D stack:0 pid:6784 tgid:6784 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:5378 [inline] __schedule+0x1360/0x257c kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6857 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6914 __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:763 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: ffff80008fda22a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 4 locks held by kworker/u8:3/44: #0: ffff0000c1899948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3212 #1: ffff8000993b7ba0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3212 #2: ffff800092b65790 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x148/0xa48 net/core/net_namespace.c:606 #3: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by dhcpcd/6111: #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by getty/6198: #0: ffff0000cc0ed0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bcae2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 6 locks held by syz-executor/6448: #0: ffff0000f8ad40e0 (&type->s_umount_key#51){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000f8ad40e0 (&type->s_umount_key#51){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000f8ad40e0 (&type->s_umount_key#51){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff0000e6e00278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xfc/0x570 fs/bcachefs/super.c:633 #2: ffff0000e6e4b028 (&j->reclaim_lock){+.+.}-{4:4}, at: journal_flush_done+0x8c/0x6ac fs/bcachefs/journal_reclaim.c:874 #3: ffff0000e6e04378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #4: ffff0000e6e04720 (&wb->flushing.lock){+.+.}-{4:4}, at: btree_write_buffer_flush_seq+0x11c0/0x1328 fs/bcachefs/btree_write_buffer.c:550 #5: ffff0000e6e266d0 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x588/0x15f8 fs/bcachefs/btree_update_interior.c:1182 1 lock held by bch-reclaim/loo/6784: #0: ffff0000e6e4b028 (&j->reclaim_lock){+.+.}-{4:4}, at: bch2_journal_reclaim_thread+0x148/0x49c fs/bcachefs/journal_reclaim.c:763 3 locks held by kworker/u8:12/8145: #0: ffff0000d2a9e948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3212 #1: ffff80009c297ba0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3212 #2: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/u8:14/8147: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x674/0x1638 kernel/workqueue.c:3212 #1: ffff80009c237ba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x708/0x1638 kernel/workqueue.c:3212 #2: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz-executor/9224: #0: ffff80008fbc1630 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:163 #1: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:335 [inline] #1: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xaf8/0x1844 net/core/rtnetlink.c:4021 1 lock held by syz.9.466/9325: #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.4.471/9346: #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6918 1 lock held by syz.6.473/9359: #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.6.473/9360: #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.6.473/9364: #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.6.473/9366: #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.6.473/9368: #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:129 [inline] #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dellink+0x31c/0x77c net/core/rtnetlink.c:3520 1 lock held by syz.7.475/9384: #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800092b71f28 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6918 =============================================