BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 6961 Comm: kworker/u8:8 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/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:3855 [inline] validate_chain kernel/locking/lockdep.c:3876 [inline] __lock_acquire+0xf9c/0x30a4 kernel/locking/lockdep.c:5237 lock_acquire+0x14c/0x2e0 kernel/locking/lockdep.c:5868 __fs_reclaim_acquire mm/page_alloc.c:4234 [inline] fs_reclaim_acquire+0x8c/0x118 mm/page_alloc.c:4248 might_alloc include/linux/sched/mm.h:318 [inline] slab_pre_alloc_hook mm/slub.c:4142 [inline] slab_alloc_node mm/slub.c:4220 [inline] __do_kmalloc_node mm/slub.c:4375 [inline] __kmalloc_noprof+0xcc/0x4c8 mm/slub.c:4388 kmalloc_noprof include/linux/slab.h:909 [inline] __bch2_trans_get+0x5f8/0x9d4 fs/bcachefs/btree_iter.c:3497 btree_update_nodes_written fs/bcachefs/btree_update_interior.c:666 [inline] btree_interior_update_work+0x19c/0x1d28 fs/bcachefs/btree_update_interior.c:867 process_one_work+0x7e8/0x155c kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844