------------[ cut here ]------------ WARNING: CPU: 0 PID: 7955 at fs/xfs/libxfs/xfs_bmap.c:4599 xfs_bmapi_convert_delalloc+0xfc9/0x1320 fs/xfs/libxfs/xfs_bmap.c:4599 Modules linked in: CPU: 0 PID: 7955 Comm: syz-executor.5 Not tainted 6.7.0-rc1-syzkaller-00344-g037266a5f723 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:xfs_bmapi_convert_delalloc+0xfc9/0x1320 fs/xfs/libxfs/xfs_bmap.c:4599 Code: fe 90 0f 0b 90 e9 3e f4 ff ff 89 d9 80 e1 07 38 c1 0f 8c 0e f2 ff ff 48 89 df e8 b2 cb c5 fe e9 01 f2 ff ff e8 88 ed 69 fe 90 <0f> 0b 90 41 bd e4 ff ff ff e9 9d fa ff ff 89 f9 80 e1 07 38 c1 0f RSP: 0018:ffffc90015d86d00 EFLAGS: 00010283 RAX: ffffffff83249128 RBX: ffffffffffffffff RCX: 0000000000040000 RDX: ffffc9000a533000 RSI: 00000000000015ee RDI: 00000000000015ef RBP: ffffc90015d86f30 R08: ffffffff83248b4a R09: 1ffffffff1e0181d R10: dffffc0000000000 R11: fffffbfff1e0181e R12: ffffc90015d86e40 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92002bb0db4 FS: 00007f8106dae6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8106daed58 CR3: 000000007a6ff000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xfs_convert_blocks fs/xfs/xfs_aops.c:266 [inline] xfs_map_blocks+0x780/0x1090 fs/xfs/xfs_aops.c:389 iomap_writepage_map fs/iomap/buffered-io.c:1817 [inline] iomap_do_writepage+0x830/0x2810 fs/iomap/buffered-io.c:1985 write_cache_pages+0x827/0x1400 mm/page-writeback.c:2474 iomap_writepages+0x68/0x240 fs/iomap/buffered-io.c:2002 xfs_vm_writepages+0x139/0x1a0 fs/xfs/xfs_aops.c:513 do_writepages+0x3a6/0x670 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:387 __filemap_fdatawrite_range mm/filemap.c:420 [inline] file_write_and_wait_range+0x20f/0x300 mm/filemap.c:778 xfs_file_fsync+0x1c6/0xa50 fs/xfs/xfs_file.c:151 generic_write_sync include/linux/fs.h:2653 [inline] xfs_file_buffered_write+0x988/0xaa0 fs/xfs/xfs_file.c:823 do_iter_readv_writev+0x330/0x4a0 do_iter_write+0x1f6/0x8d0 fs/read_write.c:860 vfs_writev fs/read_write.c:933 [inline] do_pwritev+0x21a/0x360 fs/read_write.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f810607cae9 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:00007f8106dae0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f810619c050 RCX: 00007f810607cae9 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000006 RBP: 00007f81060c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f810619c050 R15: 00007ffefd099bd8