el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 ------------[ cut here ]------------ kernel BUG at fs/btrfs/extent-io-tree.c:397! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 6147 Comm: syz-executor142 Not tainted 6.7.0-rc4-syzkaller-gd46efae31672 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : set_state_bits fs/btrfs/extent-io-tree.c:397 [inline] pc : __set_extent_bit+0x15f8/0x1968 fs/btrfs/extent-io-tree.c:1104 lr : set_state_bits fs/btrfs/extent-io-tree.c:397 [inline] lr : __set_extent_bit+0x15f8/0x1968 fs/btrfs/extent-io-tree.c:1104 sp : ffff800096fc7220 x29: ffff800096fc72d0 x28: ffff0000d3d2ba3c x27: ffff0000d3d2b9c0 x26: ffff0000dbf3b870 x25: 1fffe0001a7a5747 x24: 1fffe0001a7a5738 x23: 0000000000000800 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffff4 x19: 0000000000000000 x18: ffff800096fc6800 x17: 0000000000000000 x16: ffff80008a82b29c x15: 0000000000000001 x14: 1ffff00011cf5e02 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700011cf5e03 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d4b55340 x7 : 0000000000000001 x6 : 0000000000000001 x5 : 00000000ffffffff x4 : 0000000000000820 x3 : 0000000000000820 x2 : 0000000000000038 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: set_state_bits fs/btrfs/extent-io-tree.c:397 [inline] __set_extent_bit+0x15f8/0x1968 fs/btrfs/extent-io-tree.c:1104 set_record_extent_bits+0x68/0xa8 fs/btrfs/extent-io-tree.c:1793 qgroup_reserve_data+0x214/0x874 fs/btrfs/qgroup.c:4005 btrfs_qgroup_reserve_data+0x40/0xd8 fs/btrfs/qgroup.c:4048 btrfs_zero_range+0xa24/0xe90 fs/btrfs/file.c:2998 btrfs_fallocate+0x9d8/0x1a14 fs/btrfs/file.c:3115 vfs_fallocate+0x478/0x5b4 fs/open.c:324 ioctl_preallocate+0x278/0x324 fs/ioctl.c:291 do_vfs_ioctl+0x1ae4/0x2704 fs/ioctl.c:850 __do_sys_ioctl fs/ioctl.c:869 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:857 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 Code: aa1803e0 97974461 17ffff7a 97843702 (d4210000) ---[ end trace 0000000000000000 ]---