el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-tree.c:3282! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 4509 Comm: syz-executor163 Not tainted 6.1.64-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_free_tree_block+0xb18/0xb50 fs/btrfs/extent-tree.c:3282 lr : btrfs_free_tree_block+0xb18/0xb50 fs/btrfs/extent-tree.c:3282 sp : ffff80001eb07280 x29: ffff80001eb07380 x28: ffff700003d60e58 x27: ffff000000000005 x26: ffff80001eb072e0 x25: 00000000fffffff4 x24: ffff0000cc7b28e0 x23: 0000000000000001 x22: dfff800000000000 x21: ffff0000cc7b27c8 x20: ffff0000e206b9d8 x19: ffff0000cc7b27c0 x18: ffff80001eb06d20 x17: 0000000000000000 x16: ffff8000083049a8 x15: ffff800008a73508 x14: ffff800008a731fc x13: ffff800008062558 x12: 0000000000000003 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a0b459c x8 : ffff0000d96e3780 x7 : ffff800008062348 x6 : ffff800008062558 x5 : ffff0000cf4e5ed8 x4 : ffff80001eb06ee0 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: btrfs_free_tree_block+0xb18/0xb50 fs/btrfs/extent-tree.c:3282 __btrfs_cow_block+0xc88/0x1824 fs/btrfs/ctree.c:488 btrfs_cow_block+0x314/0xaa4 fs/btrfs/ctree.c:605 btrfs_search_slot+0xb7c/0x2948 btrfs_lookup_match_dir fs/btrfs/dir-item.c:181 [inline] btrfs_lookup_dir_item+0x170/0x2a8 fs/btrfs/dir-item.c:219 __btrfs_unlink_inode+0x154/0x848 fs/btrfs/inode.c:4293 btrfs_unlink_inode fs/btrfs/inode.c:4382 [inline] btrfs_unlink+0x17c/0x2f0 fs/btrfs/inode.c:4435 vfs_unlink+0x2f0/0x508 fs/namei.c:4253 do_unlinkat+0x4c8/0x708 fs/namei.c:4321 __do_sys_unlinkat fs/namei.c:4364 [inline] __se_sys_unlinkat fs/namei.c:4357 [inline] __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4357 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: 9579bd85 979118b5 d4210000 979118b3 (d4210000) ---[ end trace 0000000000000000 ]---