el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-tree.c:3452! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 8203 Comm: syz.3.302 Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_free_tree_block+0xbf4/0xc00 fs/btrfs/extent-tree.c:3452 lr : btrfs_free_tree_block+0xbf4/0xc00 fs/btrfs/extent-tree.c:3452 sp : ffff8000a02868c0 x29: ffff8000a02869c0 x28: ffff700014050d20 x27: ffff0000c7795000 x26: ffff0000d583bc20 x25: ffff0000c7795064 x24: 00000000fffffff4 x23: 0000000000000001 x22: 0000000000000002 x21: ffff80008ec72198 x20: ffff0000dbbc7128 x19: dfff800000000000 x18: 1fffe000367a85de x17: ffff80008f2dd000 x16: ffff80008032d32c x15: 0000000000000001 x14: 1fffe000367ab200 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000000 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d01d8000 x7 : ffff8000802a3bb0 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: btrfs_free_tree_block+0xbf4/0xc00 fs/btrfs/extent-tree.c:3452 btrfs_force_cow_block+0xea8/0x1a58 fs/btrfs/ctree.c:623 btrfs_cow_block+0x318/0xa28 fs/btrfs/ctree.c:746 btrfs_search_slot+0xba0/0x2a08 lookup_inline_extent_backref+0x318/0x11cc fs/btrfs/extent-tree.c:823 lookup_extent_backref fs/btrfs/extent-tree.c:1055 [inline] __btrfs_free_extent+0x378/0x31f8 fs/btrfs/extent-tree.c:3115 run_delayed_tree_ref fs/btrfs/extent-tree.c:1736 [inline] run_one_delayed_ref fs/btrfs/extent-tree.c:1762 [inline] btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2027 [inline] __btrfs_run_delayed_refs+0xd0c/0x3cbc fs/btrfs/extent-tree.c:2097 btrfs_run_delayed_refs+0xc4/0x2bc fs/btrfs/extent-tree.c:2209 btrfs_commit_transaction+0x220/0x2ba8 fs/btrfs/transaction.c:2179 create_snapshot+0x590/0x834 fs/btrfs/ioctl.c:875 btrfs_mksubvol+0x4f8/0x600 fs/btrfs/ioctl.c:1029 btrfs_mksnapshot+0xc8/0x158 fs/btrfs/ioctl.c:1075 __btrfs_ioctl_snap_create+0x314/0x3fc fs/btrfs/ioctl.c:1340 btrfs_ioctl_snap_create_v2+0x1b0/0x30c fs/btrfs/ioctl.c:1422 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:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Code: 5281aee3 9576583d d4210000 978ec715 (d4210000) ---[ end trace 0000000000000000 ]---