BUG: MAX_LOCKDEP_CHAINS too low! turning off the locking correctness validator. CPU: 0 UID: 0 PID: 6540 Comm: kworker/u9:6 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Workqueue: bcachefs_journal bch2_journal_write 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 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 __debug_check_no_obj_freed lib/debugobjects.c:1088 [inline] debug_check_no_obj_freed+0x148/0x470 lib/debugobjects.c:1129 slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4695 [inline] kfree+0x11c/0x474 mm/slub.c:4894 kvfree+0x30/0x40 mm/slub.c:5110 __bch2_darray_resize_noprof+0x1ac/0x264 fs/bcachefs/darray.c:32 bch2_sb_downgrade_update+0x620/0xa44 fs/bcachefs/sb-downgrade.c:390 bch2_write_super+0xb1c/0x28dc fs/bcachefs/super-io.c:1081 bch2_mark_replicas_slowpath+0x258/0x498 fs/bcachefs/replicas.c:338 bch2_mark_replicas+0x54/0x58 fs/bcachefs/replicas.c:362 bch2_journal_write+0x2fd8/0x3d84 fs/bcachefs/journal_io.c:2209 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 Bluetooth: hci0: command tx timeout Bluetooth: hci2: command tx timeout Bluetooth: hci0: command tx timeout Bluetooth: hci2: command tx timeout Bluetooth: hci0: command tx timeout Bluetooth: hci2: command tx timeout