INFO: task kworker/0:1H:1919 blocked for more than 143 seconds.
Tainted: G W 6.10.0-rc3-syzkaller-gac2193b4b460 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1H state:D stack:0 pid:1919 tgid:1919 ppid:2 flags:0x00000008
Workqueue: bcachefs_btree_io btree_node_write_work
Call trace:
__switch_to+0x314/0x560 arch/arm64/kernel/process.c:553
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x14ac/0x24d8 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xbc/0x238 kernel/sched/core.c:6837
six_lock_slowpath+0x87c/0x15d4 fs/bcachefs/six.c:493
six_lock_ip_waiter+0x124/0x178 fs/bcachefs/six.c:550
__btree_node_lock_nopath fs/bcachefs/btree_locking.h:208 [inline]
__bch2_btree_node_lock_write+0x110/0x308 fs/bcachefs/btree_locking.c:428
__btree_node_lock_write fs/bcachefs/btree_locking.h:298 [inline]
bch2_btree_node_lock_write_nofail+0x204/0x3c8 fs/bcachefs/btree_locking.c:442
__bch2_btree_node_update_key+0x944/0x1598 fs/bcachefs/btree_update_interior.c:2393
bch2_btree_node_update_key+0x304/0x5e0 fs/bcachefs/btree_update_interior.c:2453
bch2_btree_node_update_key_get_iter+0x644/0x7b4 fs/bcachefs/btree_update_interior.c:2496
btree_node_write_work+0x694/0xa00 fs/bcachefs/btree_io.c:1890
process_one_work+0x79c/0x15b8 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x938/0xef4 kernel/workqueue.c:3393
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:
4 locks held by kworker/u8:0/11:
#0: ffff0000c1819948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205
#1: ffff800093db7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205
#2: ffff800091d59710 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594
#3: ffff8000920298e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xb8/0x210 net/rfkill/core.c:1149
1 lock held by khungtaskd/31:
#0: ffff80008f1876a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:328
1 lock held by kworker/u8:10/708:
#0: ffff0001b3db0018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:559 [inline]
#0: ffff0001b3db0018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1406 [inline]
#0: ffff0001b3db0018 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1702 [inline]
#0: ffff0001b3db0018 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2e0/0x24d8 kernel/sched/core.c:6653
4 locks held by kworker/0:1H/1919:
#0: ffff0000f0794548 ((wq_completion)bcachefs_btree_io){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205
#1: ffff80009cc87c20 ((work_completion)(&wb->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205
#2: ffff0000e7a042d0 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:115
#3: ffff0000eedc5870 (&dev->mutex){....}-{3:3}, at: six_trylock_type+0x1c/0x4c fs/bcachefs/six.h:206
5 locks held by kworker/u9:1/5829:
#0: ffff0000ed0e1148 ((wq_completion)bcachefs){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205
#1: ffff800099587c20 ((work_completion)(&wp->index_update_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205
#2: ffff0000e7a042d0 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:115
#3: ffff0000c9624870 (&dev->mutex){....}-{3:3}, at: six_trylock_type+0x1c/0x4c fs/bcachefs/six.h:206
#4: ffff0000eedc5870 (&dev->mutex){....}-{3:3}, at: bch2_trans_iter_init+0xbc/0x108 fs/bcachefs/btree_iter.h:503
2 locks held by getty/6018:
#0: ffff0000d7ba80a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340
#1: ffff800097d0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2201
1 lock held by syz-fuzzer/6251:
4 locks held by kworker/0:3/6324:
#0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205
#1: ffff8000a12b7c20 ((rfkill_op_work).work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205
#2: ffff8000920298e8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_epo+0x58/0x158 net/rfkill/core.c:462
#3: ffff0000cab2cd88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_poweroff net/bluetooth/hci_core.c:946 [inline]
#3: ffff0000cab2cd88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_rfkill_set_block+0x110/0x2a8 net/bluetooth/hci_core.c:973
3 locks held by kworker/0:5/6329: