el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 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-io-tree.c:583! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 6699 Comm: syz-executor.0 Not tainted 6.10.0-rc7-syzkaller-00109-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : clear_state_bit+0x300/0x304 fs/btrfs/extent-io-tree.c:583 lr : clear_state_bit+0x300/0x304 fs/btrfs/extent-io-tree.c:583 sp : ffff8000983e6c60 x29: ffff8000983e6c60 x28: ffff0000dee19b78 x27: 000000000000dfff x26: 0000000000000000 x25: dfff800000000000 x24: 0000000000000800 x23: 000000000000dfff x22: 00000000fffffff4 x21: 0000000000000000 x20: ffff0000dee19b78 x19: ffff0000d9acf3c0 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800082f8f174 x15: 0000000000000001 x14: 1ffff00011e7a636 x13: 0000000000000000 x12: 0000000000000000 x11: ffff700011e7a637 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000dac98000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : 00000000ffffffff x4 : 0000000000000820 x3 : 0000000000000820 x2 : 0000000000000038 x1 : 00000000fffffff4 x0 : 0000000000000000 Call trace: clear_state_bit+0x300/0x304 fs/btrfs/extent-io-tree.c:583 __clear_extent_bit+0x59c/0xbc0 fs/btrfs/extent-io-tree.c:754 clear_record_extent_bits+0x60/0xa4 fs/btrfs/extent-io-tree.c:1830 __btrfs_qgroup_release_data+0x498/0x9e4 fs/btrfs/qgroup.c:4279 btrfs_qgroup_release_data+0x44/0x58 fs/btrfs/qgroup.c:4335 insert_prealloc_file_extent fs/btrfs/inode.c:9467 [inline] __btrfs_prealloc_file_range+0x40c/0xfe0 fs/btrfs/inode.c:9564 btrfs_prealloc_file_range+0x60/0x7c fs/btrfs/inode.c:9643 btrfs_zero_range+0x970/0xbd0 fs/btrfs/file.c:3208 btrfs_fallocate+0xa54/0x19fc fs/btrfs/file.c:3318 vfs_fallocate+0x480/0x5bc fs/open.c:330 ioctl_preallocate+0x21c/0x2a0 fs/ioctl.c:291 do_vfs_ioctl+0x1b88/0x2404 fs/ioctl.c:886 __do_sys_ioctl fs/ioctl.c:905 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:893 __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:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 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: aa1803e0 979908d0 17ffff58 978500bf (d4210000) ---[ end trace 0000000000000000 ]---