BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 210 Comm: kworker/u8:5 Not tainted 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: btree_update btree_interior_update_work Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 add_chain_cache kernel/locking/lockdep.c:-1 [inline] lookup_chain_cache_add kernel/locking/lockdep.c:3858 [inline] validate_chain kernel/locking/lockdep.c:3879 [inline] __lock_acquire+0xf9c/0x30a4 kernel/locking/lockdep.c:5240 lock_acquire+0x14c/0x2e0 kernel/locking/lockdep.c:5871 do_write_seqcount_begin_nested include/linux/seqlock.h:477 [inline] do_write_seqcount_begin include/linux/seqlock.h:503 [inline] psi_group_change+0x23c/0x12e4 kernel/sched/psi.c:792 psi_task_change+0xec/0x244 kernel/sched/psi.c:912 psi_enqueue kernel/sched/stats.h:166 [inline] enqueue_task+0x250/0x2f4 kernel/sched/core.c:2086 activate_task kernel/sched/core.c:2126 [inline] ttwu_do_activate+0x1a4/0x764 kernel/sched/core.c:3742 ttwu_queue kernel/sched/core.c:4015 [inline] try_to_wake_up+0x4b8/0xdf0 kernel/sched/core.c:4343 wake_up_process+0x18/0x24 kernel/sched/core.c:4476 __six_lock_wakeup+0x1ec/0x3dc fs/bcachefs/six.c:250 six_lock_wakeup fs/bcachefs/six.c:274 [inline] do_six_unlock_type fs/bcachefs/six.c:588 [inline] six_unlock_ip+0x348/0x4bc fs/bcachefs/six.c:632 six_unlock_type+0x38/0x48 fs/bcachefs/six.h:312 btree_node_unlock+0xe8/0x218 fs/bcachefs/btree_locking.h:144 __bch2_btree_path_unlock fs/bcachefs/btree_locking.h:166 [inline] __bch2_trans_unlock fs/bcachefs/btree_locking.c:770 [inline] bch2_trans_unlock+0x214/0x380 fs/bcachefs/btree_locking.c:853 bch2_btree_path_traverse_all+0x318/0xd3c fs/bcachefs/btree_iter.c:1021 bch2_trans_begin+0x844/0xd30 fs/bcachefs/btree_iter.c:3406 btree_update_nodes_written fs/bcachefs/btree_update_interior.c:729 [inline] btree_interior_update_work+0x5c4/0x1d28 fs/bcachefs/btree_update_interior.c:867 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3402 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844