BTRFS info (device loop9): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 PID: 5580 Comm: syz-executor Not tainted 6.1.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 lookup_chain_cache_add kernel/locking/lockdep.c:3772 [inline] validate_chain kernel/locking/lockdep.c:3793 [inline] __lock_acquire+0x1b88/0x7680 kernel/locking/lockdep.c:5049 lock_acquire+0x26c/0x7cc kernel/locking/lockdep.c:5662 seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline] read_seqbegin+0x6c/0x138 include/linux/seqlock.h:836 zone_span_seqbegin include/linux/memory_hotplug.h:132 [inline] page_outside_zone_boundaries mm/page_alloc.c:627 [inline] bad_range+0x9c/0x268 mm/page_alloc.c:654 rmqueue mm/page_alloc.c:3872 [inline] get_page_from_freelist+0x3900/0x3abc mm/page_alloc.c:4310 __alloc_pages+0x220/0x730 mm/page_alloc.c:5589 alloc_pages+0x494/0x760 __stack_depot_save+0x440/0x4e0 lib/stackdepot.c:474 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x64/0x80 mm/kasan/common.c:52 kasan_save_free_info+0x38/0x5c mm/kasan/generic.c:516 ____kasan_slab_free+0x144/0x1c0 mm/kasan/common.c:236 __kasan_slab_free+0x18/0x28 mm/kasan/common.c:244 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] kmem_cache_free+0x2f0/0x588 mm/slub.c:3683 free_extent_state+0x1b0/0x468 fs/btrfs/extent-io-tree.c:174 merge_state+0x1dc/0x3fc fs/btrfs/extent-io-tree.c:355 insert_state_fast+0x1c8/0x224 fs/btrfs/extent-io-tree.c:442 __set_extent_bit+0x10f4/0x1650 fs/btrfs/extent-io-tree.c:1000 set_extent_bit+0x58/0x70 fs/btrfs/extent-io-tree.c:1171 btrfs_alloc_tree_block+0x9ec/0x1478 fs/btrfs/extent-tree.c:5022 __btrfs_cow_block+0x3f4/0x1824 fs/btrfs/ctree.c:441 btrfs_cow_block+0x314/0xaa4 fs/btrfs/ctree.c:613 btrfs_search_slot+0xb7c/0x2948 btrfs_search_prev_slot fs/btrfs/free-space-tree.c:135 [inline] add_free_space_extent fs/btrfs/free-space-tree.c:944 [inline] __add_to_free_space_tree+0x7e0/0x1090 fs/btrfs/free-space-tree.c:1015 add_to_free_space_tree+0x120/0x2c0 fs/btrfs/free-space-tree.c:1044 do_free_extent_accounting fs/btrfs/extent-tree.c:2852 [inline] __btrfs_free_extent+0xf9c/0x28c8 fs/btrfs/extent-tree.c:3190 run_delayed_tree_ref fs/btrfs/extent-tree.c:1681 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1705 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:1954 [inline] __btrfs_run_delayed_refs+0xe14/0x3a90 fs/btrfs/extent-tree.c:2017 btrfs_run_delayed_refs+0x13c/0x4c0 fs/btrfs/extent-tree.c:2148 commit_cowonly_roots+0x574/0x740 fs/btrfs/transaction.c:1325 btrfs_commit_transaction+0x1228/0x2cd4 fs/btrfs/transaction.c:2425 btrfs_commit_super+0xb4/0xd0 fs/btrfs/disk-io.c:4542 close_ctree+0x3a8/0xaf4 fs/btrfs/disk-io.c:4707 btrfs_put_super+0x70/0x80 fs/btrfs/super.c:397 generic_shutdown_super+0x130/0x328 fs/super.c:501 kill_anon_super+0x4c/0x74 fs/super.c:1128 btrfs_kill_super+0x40/0x58 fs/btrfs/super.c:2449 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585