BTRFS info (device loop7 state M): use no compression BTRFS info (device loop7 state M): max_inline set to 23 BUG: MAX_LOCKDEP_CHAIN_HLOCKS too low! turning off the locking correctness validator. CPU: 1 UID: 0 PID: 8310 Comm: syz.7.433 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lookup_chain_cache_add kernel/locking/lockdep.c:3851 [inline] validate_chain kernel/locking/lockdep.c:3872 [inline] __lock_acquire+0x1fb8/0x77c8 kernel/locking/lockdep.c:5202 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5825 __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:978 [inline] debug_check_no_obj_freed+0x14c/0x47c lib/debugobjects.c:1019 slab_free_hook mm/slub.c:2273 [inline] slab_free mm/slub.c:4579 [inline] kfree+0x124/0x47c mm/slub.c:4727 btrfs_ref_tree_mod+0xe58/0x11e8 fs/btrfs/ref-verify.c:819 btrfs_free_tree_block+0x310/0xc18 fs/btrfs/extent-tree.c:3454 btrfs_force_cow_block+0xed8/0x1c9c fs/btrfs/ctree.c:622 btrfs_cow_block+0x318/0xa28 fs/btrfs/ctree.c:754 btrfs_search_slot+0xba0/0x2a08 btrfs_insert_empty_items+0xa4/0x17c fs/btrfs/ctree.c:4314 btrfs_insert_empty_item fs/btrfs/ctree.h:669 [inline] alloc_reserved_tree_block fs/btrfs/extent-tree.c:4894 [inline] run_delayed_tree_ref fs/btrfs/extent-tree.c:1734 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1766 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2031 [inline] __btrfs_run_delayed_refs+0x13a0/0x3c5c fs/btrfs/extent-tree.c:2101 btrfs_run_delayed_refs+0xc4/0x2bc fs/btrfs/extent-tree.c:2213 btrfs_commit_transaction+0x10e0/0x2ba4 fs/btrfs/transaction.c:2418 create_snapshot+0x58c/0x83c fs/btrfs/ioctl.c:874 btrfs_mksubvol+0x4f8/0x600 fs/btrfs/ioctl.c:1028 btrfs_mksnapshot+0xc4/0x154 fs/btrfs/ioctl.c:1074 __btrfs_ioctl_snap_create+0x314/0x3fc fs/btrfs/ioctl.c:1339 btrfs_ioctl_snap_create_v2+0x1b0/0x30c fs/btrfs/ioctl.c:1421 btrfs_ioctl+0x994/0xaec vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600