el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 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 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-tree.c:3474! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 6248 Comm: syz-executor136 Not tainted 6.9.0-rc4-syzkaller-g6a71d2909427 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80401005 (Nzcv daif +PAN -UAO -TCO -DIT +SSBS BTYPE=--) pc : btrfs_free_tree_block+0xb80/0xb8c fs/btrfs/extent-tree.c:3474 lr : btrfs_free_tree_block+0xb80/0xb8c fs/btrfs/extent-tree.c:3474 sp : ffff80009a2967a0 x29: ffff80009a2968a0 x28: ffff700013452cfc x27: ffff80008e817000 x26: 0000000000000002 x25: 1ffff00011d02f34 x24: ffff80009a296800 x23: 0000000000000001 x22: ffff0000dd40d250 x21: dfff800000000000 x20: 00000000fffffff4 x19: ffff0000d8eb7680 x18: 0000000000000008 x17: 0000000000000000 x16: ffff80008ae725bc x15: 0000000000000001 x14: 1ffff00011e2a362 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700011e2a363 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d7983c80 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009a295b58 x4 : 00000000ffffffff x3 : 0000000000000c40 x2 : ffff0000d71c88c0 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: btrfs_free_tree_block+0xb80/0xb8c fs/btrfs/extent-tree.c:3474 btrfs_force_cow_block+0xea8/0x1a58 fs/btrfs/ctree.c:626 btrfs_cow_block+0x318/0xa3c fs/btrfs/ctree.c:749 btrfs_search_slot+0xba0/0x2a00 lookup_inline_extent_backref+0x318/0x11cc fs/btrfs/extent-tree.c:827 lookup_extent_backref fs/btrfs/extent-tree.c:1059 [inline] __btrfs_free_extent+0x290/0x3180 fs/btrfs/extent-tree.c:3148 btrfs_run_delayed_refs_for_head fs/btrfs/extent-tree.c:2062 [inline] __btrfs_run_delayed_refs+0x1040/0x3d8c fs/btrfs/extent-tree.c:2132 btrfs_run_delayed_refs+0xc4/0x2bc fs/btrfs/extent-tree.c:2244 btrfs_commit_transaction+0x220/0x2ba8 fs/btrfs/transaction.c:2185 btrfs_sync_fs+0x53c/0xaec fs/btrfs/super.c:1006 sync_filesystem+0x1a0/0x218 fs/sync.c:66 btrfs_reconfigure+0x238/0x231c fs/btrfs/super.c:1466 reconfigure_super+0x318/0x7a8 fs/super.c:1071 do_remount fs/namespace.c:2892 [inline] path_mount+0xc0c/0xe04 fs/namespace.c:3671 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3875 __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:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 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: d4210000 978ed5df d4210000 978ed5dd (d4210000) ---[ end trace 0000000000000000 ]---