R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f2b99535f80 R15: 00007ffd32dc4ce8 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5883 at fs/btrfs/space-info.h:255 btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:255 [inline] WARNING: CPU: 0 PID: 5883 at fs/btrfs/space-info.h:255 btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:287 [inline] WARNING: CPU: 0 PID: 5883 at fs/btrfs/space-info.h:255 btrfs_free_reserved_data_space_noquota+0x2f0/0x510 fs/btrfs/delalloc-space.c:179 Modules linked in: CPU: 0 UID: 0 PID: 5883 Comm: syz.0.15 Not tainted 6.14.0-rc2-syzkaller-g04f41cbf03ec #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:btrfs_space_info_update_bytes_may_use fs/btrfs/space-info.h:255 [inline] RIP: 0010:btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:287 [inline] RIP: 0010:btrfs_free_reserved_data_space_noquota+0x2f0/0x510 fs/btrfs/delalloc-space.c:179 Code: 00 00 74 08 48 89 df e8 0e f5 1b fe 48 8b 2b 48 89 ef 48 8b 5c 24 10 48 89 de e8 0b ba b4 fd 48 39 dd 73 1d e8 a1 b7 b4 fd 90 <0f> 0b 90 31 ed 48 8b 1c 24 43 80 7c 3d 00 00 0f 85 7a ff ff ff eb RSP: 0018:ffffc9000297f218 EFLAGS: 00010293 RAX: ffffffff840d009f RBX: 0000000000800000 RCX: ffff888000c18000 RDX: 0000000000000000 RSI: 0000000000800000 RDI: 0000000000650000 RBP: 0000000000650000 R08: ffffffff840d0095 R09: 1ffffffff2079b8e R10: dffffc0000000000 R11: fffffbfff2079b8f R12: ffffffffff800000 R13: 1ffff1100817110d R14: ffff888040b88800 R15: dffffc0000000000 FS: 00007f2b9a23b6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2b9a212000 CR3: 00000000404be000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_free_reserved_data_space+0xa2/0xe0 fs/btrfs/delalloc-space.c:199 btrfs_dio_iomap_begin+0x764/0x1140 fs/btrfs/direct-io.c:597 iomap_iter+0x6a5/0xf60 fs/iomap/iter.c:90 __iomap_dio_rw+0xeb9/0x25b0 fs/iomap/direct-io.c:702 btrfs_dio_write fs/btrfs/direct-io.c:774 [inline] btrfs_direct_write+0x610/0xa30 fs/btrfs/direct-io.c:879 btrfs_do_write_iter+0x2a0/0x7b0 fs/btrfs/file.c:1374 aio_write+0x56b/0x7c0 fs/aio.c:1633 io_submit_one+0x8a7/0x18a0 fs/aio.c:2052 __do_sys_io_submit fs/aio.c:2111 [inline] __se_sys_io_submit+0x171/0x2e0 fs/aio.c:2081 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2b9937e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2b9a23b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f2b99535f80 RCX: 00007f2b9937e719 RDX: 0000000020000540 RSI: 000000000000003b RDI: 00007f2b9a212000 RBP: 00007f2b9a23b090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 0000000000000000 R14: 00007f2b99535f80 R15: 00007ffd32dc4ce8