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: 1 PID: 10667 Comm: syz-executor.0 Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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 : ffff800097f07380 x29: ffff800097f07430 x28: ffff0000d689ac7c x27: ffff0000d689ac00 x26: ffff00012843a5e0 x25: 1fffe0001ad1358f x24: 1fffe0001ad13580 x23: 0000000000000800 x22: 0000000000000000 x21: 0000000000000000 x20: 00000000fffffff4 x19: 0000000000000000 x18: ffff800097f067c0 x17: 0000000000000000 x16: ffff80008a830eb8 x15: 0000000000000001 x14: 1ffff00011cf5e46 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 0000000000013091 x9 : ffff8000974d9000 x8 : 0000000000013092 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_fallocate+0xeb0/0x1a18 fs/btrfs/file.c:3147 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 979743cb 17ffff7a 97843902 (d4210000) ---[ end trace 0000000000000000 ]---