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: 6817 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: 6817 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: 6817 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: 6817 Comm: syz.0.20 Not tainted 6.16.0-rc7-syzkaller-g82af5ea7c611 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/18/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 : ffff8000a1f17140 x29: ffff8000a1f17160 x28: 1fffe0001b2f1900 x27: dfff800000000000 x26: ffff80008f67e768 x25: 0000000000000005 x24: 0000000000800000 x23: ffff0000d978c880 x22: 1fffe0001b2f1910 x21: 00000000005cd000 x20: ffff0000d978c800 x19: 0000000000000000 x18: 00000000ffffffff x17: ffff800093376000 x16: ffff80008af01c68 x15: ffff7000143e2e10 x14: 1ffff000143e2e10 x13: 0000000000000004 x12: ffffffffffffffff x11: ffff7000143e2e10 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c4780000 x7 : ffff8000824e92c8 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:109 __iomap_dio_rw+0xa0c/0x1c40 fs/iomap/direct-io.c:733 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:1438 btrfs_file_write_iter+0x2c/0x3c fs/btrfs/file.c:1458 do_iter_readv_writev+0x460/0x6a8 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: 47052 hardirqs last enabled at (47051): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (47052): [] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574 softirqs last enabled at (46730): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (46728): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---