__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 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-tree.c:3482! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 10187 Comm: syz-executor.1 Not tainted 6.9.0-rc7-syzkaller-gc4d6737dc9da #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_free_tree_block+0xc20/0xc2c fs/btrfs/extent-tree.c:3482 lr : btrfs_free_tree_block+0xc20/0xc2c fs/btrfs/extent-tree.c:3482 sp : ffff8000aa336d20 x29: ffff8000aa336e20 x28: ffff700015466dac x27: dfff800000000000 x26: ffff0000f7dac000 x25: ffff0000ecfb9064 x24: 00000000fffffff4 x23: 0000000000000001 x22: 0000000000000005 x21: ffff80008e839000 x20: ffff0000e7f5e940 x19: ffff0000ebf892c0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800080333944 x15: 0000000000000001 x14: 1ffff00011eea6b2 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000000 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d894bc80 x7 : ffff80008005f738 x6 : ffff80008005f934 x5 : ffff0000f7cde800 x4 : ffff8000aa336970 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: btrfs_free_tree_block+0xc20/0xc2c fs/btrfs/extent-tree.c:3482 btrfs_force_cow_block+0xd08/0x1a58 fs/btrfs/ctree.c:654 btrfs_cow_block+0x318/0xa3c fs/btrfs/ctree.c:749 btrfs_search_slot+0xba0/0x2a00 btrfs_insert_empty_items+0xa4/0x17c fs/btrfs/ctree.c:4298 btrfs_create_new_inode+0xde8/0x235c fs/btrfs/inode.c:6361 btrfs_create_common+0x1a0/0x29c fs/btrfs/inode.c:6589 btrfs_create+0x104/0x128 fs/btrfs/inode.c:6629 lookup_open fs/namei.c:3497 [inline] open_last_lookups fs/namei.c:3566 [inline] path_openat+0xfb4/0x2830 fs/namei.c:3796 do_filp_open+0x1bc/0x3cc fs/namei.c:3826 do_sys_openat2+0x124/0x1b8 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1432 __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 978eb2ab d4210000 978eb2a9 (d4210000) ---[ end trace 0000000000000000 ]---