__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-io-tree.c:381! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 14468 Comm: syz-executor.1 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : set_state_bits fs/btrfs/extent-io-tree.c:381 [inline] pc : __set_extent_bit+0xf90/0xff0 fs/btrfs/extent-io-tree.c:1019 lr : set_state_bits fs/btrfs/extent-io-tree.c:381 [inline] lr : __set_extent_bit+0xf90/0xff0 fs/btrfs/extent-io-tree.c:1019 sp : ffff80002146ba70 x29: ffff80002146baf0 x28: ffff0001114aab80 x27: 0000000000017fff x26: ffff0001114aae80 x25: 0000000000001000 x24: 0000000000017fff x23: ffff0001144c5c70 x22: 0000000000000000 x21: ffff0001144c5c50 x20: ffff0001114aab90 x19: 00000000fffffff4 x18: 00000000000000c0 x17: 6e69676e45206574 x16: ffff80000dbe6158 x15: ffff000113c43480 x14: 0000000000000000 x13: 00000000ffffffff x12: 0000000000040000 x11: 0000000000013c0a x10: ffff800018530000 x9 : ffff80000924a3f4 x8 : 0000000000013c0b x7 : ffff80000c091ebc x6 : 0000000000000000 x5 : 00000000ffffffff x4 : 0000000000000a20 x3 : 0000000000000080 x2 : 0000000000000038 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: set_state_bits fs/btrfs/extent-io-tree.c:381 [inline] __set_extent_bit+0xf90/0xff0 fs/btrfs/extent-io-tree.c:1019 set_record_extent_bits+0x68/0x94 fs/btrfs/extent-io-tree.c:1601 qgroup_reserve_data+0x134/0x374 fs/btrfs/qgroup.c:3739 btrfs_qgroup_reserve_data+0x40/0xd0 fs/btrfs/qgroup.c:3782 btrfs_fallocate+0x778/0xdcc fs/btrfs/file.c:3451 vfs_fallocate+0x328/0x38c fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __arm64_sys_fallocate+0x5c/0xac fs/open.c:352 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: d4210000 97c1718f d4210000 97c1718d (d4210000) ---[ end trace 0000000000000000 ]---