el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7552 at fs/btrfs/space-info.h:265 btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:-1 [inline] WARNING: CPU: 0 PID: 7552 at fs/btrfs/space-info.h:265 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:297 [inline] WARNING: CPU: 0 PID: 7552 at fs/btrfs/space-info.h:265 btrfs_free_reserved_data_space_noquota+0x3fc/0x6d0 fs/btrfs/delalloc-space.c:189 Modules linked in: CPU: 0 UID: 0 PID: 7552 Comm: syz.0.18 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:-1 [inline] pc : btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:297 [inline] pc : btrfs_free_reserved_data_space_noquota+0x3fc/0x6d0 fs/btrfs/delalloc-space.c:189 lr : btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:265 [inline] lr : btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:297 [inline] lr : btrfs_free_reserved_data_space_noquota+0x3f8/0x6d0 fs/btrfs/delalloc-space.c:189 sp : ffff8000a0917160 x29: ffff8000a0917180 x28: 1fffe00019745e00 x27: dfff800000000000 x26: ffff80008f7be768 x25: 0000000000000005 x24: 0000000000800000 x23: ffff0000cba2f080 x22: 1fffe00019745e10 x21: 00000000005cd000 x20: ffff0000cba2f000 x19: 0000000000000000 x18: 00000000ffffffff x17: ffff800093507000 x16: ffff80008b007180 x15: ffff700014122e14 x14: 1ffff00014122e14 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700014122e14 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000cb70bd00 x7 : ffff80008255d854 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000800000 x2 : 0000000000000005 x1 : 0000000000800000 x0 : 00000000005cd000 Call trace: btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:-1 [inline] (P) btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:297 [inline] (P) btrfs_free_reserved_data_space_noquota+0x3fc/0x6d0 fs/btrfs/delalloc-space.c:189 (P) btrfs_free_reserved_data_space+0xb4/0xf8 fs/btrfs/delalloc-space.c:209 btrfs_dio_iomap_begin+0x714/0xd24 fs/btrfs/direct-io.c:597 iomap_iter+0x494/0xe10 fs/iomap/iter.c:108 __iomap_dio_rw+0xa00/0x1c34 fs/iomap/direct-io.c:728 btrfs_dio_write fs/btrfs/direct-io.c:774 [inline] btrfs_direct_write+0x658/0x938 fs/btrfs/direct-io.c:895 btrfs_do_write_iter+0x1f0/0x5dc fs/btrfs/file.c:1460 btrfs_file_write_iter+0x2c/0x3c fs/btrfs/file.c:1480 do_iter_readv_writev+0x4c0/0x724 fs/read_write.c:-1 vfs_writev+0x29c/0x7cc fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2 fs/read_write.c:1202 [inline] __arm64_sys_pwritev2+0x1bc/0x2cc fs/read_write.c:1202 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 46218 hardirqs last enabled at (46217): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (46218): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (45908): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (45906): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---