------------[ cut here ]------------
WARNING: CPU: 3 PID: 5328 at fs/xfs/libxfs/xfs_bmap.c:4697 xfs_bmapi_convert_delalloc+0xad6/0xc90 fs/xfs/libxfs/xfs_bmap.c:4697
Modules linked in:
CPU: 3 PID: 5328 Comm: syz-executor.3 Not tainted 6.9.0-rc4-syzkaller-00031-g96fca68c4fbf #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:xfs_bmapi_convert_delalloc+0xad6/0xc90 fs/xfs/libxfs/xfs_bmap.c:4697
Code: ff e8 1e c8 71 fe 8b 94 24 08 01 00 00 48 8b b4 24 10 01 00 00 48 8b 7c 24 70 e8 15 21 0d 00 e9 8b fd ff ff e8 fb c7 71 fe 90 <0f> 0b 90 bb e4 ff ff ff e9 f7 fd ff ff 48 89 ef e8 b5 ea cc fe e9
RSP: 0018:ffffc90004426f68 EFLAGS: 00010283
RAX: 00000000000099d0 RBX: ffffffffffffffff RCX: ffffc9000ad85000
RDX: 0000000000040000 RSI: ffffffff831bfb25 RDI: 0000000000000007
RBP: ffff888032b864c0 R08: 0000000000000007 R09: ffffffffffffffff
R10: ffffffffffffffff R11: 0000000000000005 R12: 0000000000000000
R13: ffff888024ba6000 R14: ffff888032b86500 R15: 0000000000000000
FS:  00007f14885566c0(0000) GS:ffff88806b500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3072c000 CR3: 0000000045544000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 xfs_convert_blocks fs/xfs/xfs_aops.c:266 [inline]
 xfs_map_blocks+0x5d8/0xec0 fs/xfs/xfs_aops.c:390
 iomap_writepage_map_blocks fs/iomap/buffered-io.c:1777 [inline]
 iomap_writepage_map fs/iomap/buffered-io.c:1925 [inline]
 iomap_do_writepage+0x6f4/0x2c40 fs/iomap/buffered-io.c:1964
 write_cache_pages+0xb0/0x130 mm/page-writeback.c:2569
 iomap_writepages+0xa9/0x100 fs/iomap/buffered-io.c:1983
 xfs_vm_writepages+0xed/0x150 fs/xfs/xfs_aops.c:507
 do_writepages+0x1a3/0x7f0 mm/page-writeback.c:2612
 filemap_fdatawrite_wbc mm/filemap.c:397 [inline]
 filemap_fdatawrite_wbc+0x148/0x1c0 mm/filemap.c:387
 __filemap_fdatawrite_range+0xba/0x100 mm/filemap.c:430
 filemap_write_and_wait_range.part.0+0x85/0x100 mm/filemap.c:685
 filemap_write_and_wait_range mm/filemap.c:681 [inline]
 kiocb_invalidate_pages+0xe4/0x180 mm/filemap.c:2703
 __iomap_dio_rw+0xc71/0x1c70 fs/iomap/direct-io.c:639
 iomap_dio_rw+0x40/0xa0 fs/iomap/direct-io.c:749
 xfs_file_dio_write_aligned+0x13d/0x190 fs/xfs/xfs_file.c:608
 xfs_file_dio_write fs/xfs/xfs_file.c:720 [inline]
 xfs_file_write_iter+0x517/0x740 fs/xfs/xfs_file.c:856
 call_write_iter include/linux/fs.h:2110 [inline]
 new_sync_write fs/read_write.c:497 [inline]
 vfs_write+0x6db/0x1100 fs/read_write.c:590
 ksys_write+0x12f/0x260 fs/read_write.c:643
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f148787dea9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f14885560c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f14879ac050 RCX: 00007f148787dea9
RDX: 00000000fffffde4 RSI: 00000000200000c0 RDI: 0000000000000007
RBP: 00007f14878ca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f14879ac050 R15: 00007fff5d45b8d8
 </TASK>