BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 PID: 309 Comm: kworker/u8:7 Not tainted 6.9.0-rc7-syzkaller-gfda5695d692c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: btrfs-endio-write btrfs_work_helper Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 lookup_chain_cache_add kernel/locking/lockdep.c:3816 [inline] validate_chain kernel/locking/lockdep.c:3837 [inline] __lock_acquire+0x1c58/0x763c kernel/locking/lockdep.c:5137 lock_acquire+0x248/0x73c kernel/locking/lockdep.c:5754 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x48/0x60 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] alloc_extent_buffer+0x10ac/0x1b14 fs/btrfs/extent_io.c:3947 btrfs_find_create_tree_block+0x3c/0x50 fs/btrfs/disk-io.c:610 btrfs_init_new_buffer fs/btrfs/extent-tree.c:5071 [inline] btrfs_alloc_tree_block+0x218/0x11e8 fs/btrfs/extent-tree.c:5186 btrfs_force_cow_block+0x4c0/0x1a58 fs/btrfs/ctree.c:571 btrfs_cow_block+0x318/0xa3c fs/btrfs/ctree.c:749 btrfs_search_slot+0xba0/0x2a00 btrfs_lookup_file_extent+0x124/0x1bc fs/btrfs/file-item.c:266 btrfs_drop_extents+0x364/0x299c fs/btrfs/file.c:252 insert_reserved_file_extent+0x2b4/0xa6c fs/btrfs/inode.c:2926 insert_ordered_extent_file_extent+0x350/0x510 fs/btrfs/inode.c:3033 btrfs_finish_one_ordered+0x6c4/0x13ec fs/btrfs/inode.c:3141 btrfs_finish_ordered_io+0x124/0x138 fs/btrfs/inode.c:3285 finish_ordered_fn+0x20/0xa8 fs/btrfs/ordered-data.c:302 btrfs_work_helper+0x37c/0xda4 fs/btrfs/async-thread.c:314 process_one_work+0x7b8/0x15d4 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3348 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:3429 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860