BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 PID: 6058 Comm: syz-executor.2 Not tainted 6.6.0-rc3-syzkaller-g2e530aeb342b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:233 show_stack+0x2c/0x44 arch/arm64/kernel/stacktrace.c:240 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3815 [inline] validate_chain kernel/locking/lockdep.c:3836 [inline] __lock_acquire+0x1c60/0x75e8 kernel/locking/lockdep.c:5136 lock_acquire+0x23c/0x71c kernel/locking/lockdep.c:5753 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x5c/0x7c kernel/locking/spinlock.c:162 kasan_quarantine_reduce+0x64/0x124 mm/kasan/quarantine.c:266 __kasan_slab_alloc+0x2c/0x8c mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x90/0x4a0 mm/slab.h:762 slab_alloc_node mm/slub.c:3478 [inline] slab_alloc mm/slub.c:3486 [inline] __kmem_cache_alloc_lru mm/slub.c:3493 [inline] kmem_cache_alloc+0x29c/0x424 mm/slub.c:3502 btrfs_alloc_delayed_extent_op fs/btrfs/delayed-ref.h:329 [inline] btrfs_alloc_tree_block+0xb90/0x1444 fs/btrfs/extent-tree.c:4949 __btrfs_cow_block+0x3f4/0x1988 fs/btrfs/ctree.c:546 btrfs_cow_block+0x354/0x744 fs/btrfs/ctree.c:712 btrfs_search_slot+0xb8c/0x29d8 lookup_inline_extent_backref+0x30c/0x10e4 fs/btrfs/extent-tree.c:818 lookup_extent_backref fs/btrfs/extent-tree.c:1047 [inline] __btrfs_free_extent+0x224/0x2cb8 fs/btrfs/extent-tree.c:2985 run_delayed_tree_ref fs/btrfs/extent-tree.c:1716 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1740 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1986 [inline] __btrfs_run_delayed_refs+0xda8/0x3878 fs/btrfs/extent-tree.c:2047 btrfs_run_delayed_refs+0x13c/0x4c0 fs/btrfs/extent-tree.c:2159 commit_cowonly_roots+0x574/0x750 fs/btrfs/transaction.c:1337 btrfs_commit_transaction+0x1130/0x2dd4 fs/btrfs/transaction.c:2435 btrfs_commit_super+0xb4/0xd0 fs/btrfs/disk-io.c:4202 close_ctree+0x38c/0xdec fs/btrfs/disk-io.c:4356 btrfs_put_super+0x40/0x50 fs/btrfs/super.c:82 generic_shutdown_super+0x130/0x2b8 fs/super.c:693 kill_anon_super+0x4c/0x7c fs/super.c:1292 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2144 deactivate_locked_super+0xac/0x12c fs/super.c:481 deactivate_super+0xe0/0x100 fs/super.c:514 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1254 __cleanup_mnt+0x20/0x30 fs/namespace.c:1261 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2184/0x3c94 arch/arm64/kernel/signal.c:1305 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:144 [inline] el0_svc+0xa0/0x16c arch/arm64/kernel/entry-common.c:679 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595