------------[ cut here ]------------ WARNING: CPU: 1 PID: 10358 at fs/xfs/libxfs/xfs_bmap.c:4592 xfs_bmapi_convert_delalloc+0xf9e/0x12d0 Modules linked in: CPU: 1 PID: 10358 Comm: syz-executor.0 Not tainted 6.1.86-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:xfs_bmapi_convert_delalloc+0xf9e/0x12d0 fs/xfs/libxfs/xfs_bmap.c:4592 Code: 38 d5 72 fe 0f 0b e9 64 f4 ff ff 89 d9 80 e1 07 38 c1 0f 8c 34 f2 ff ff 48 89 df e8 6c 4a ca fe e9 27 f2 ff ff e8 12 d5 72 fe <0f> 0b 41 bd e4 ff ff ff e9 b5 fa ff ff 89 f9 80 e1 07 38 c1 0f 8c RSP: 0018:ffffc9000b356b80 EFLAGS: 00010283 RAX: ffffffff8317ba3e RBX: ffffffffffffffff RCX: 0000000000040000 RDX: ffffc9000cf2d000 RSI: 0000000000006922 RDI: 0000000000006923 RBP: ffffc9000b356db0 R08: ffffffff8317b478 R09: fffffbfff1ce6ede R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000b356cc0 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff9200166ad84 FS: 00007f2c759666c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0f46475000 CR3: 000000005b849000 CR4: 00000000003506e0 Call Trace: xfs_convert_blocks fs/xfs/xfs_aops.c:259 [inline] xfs_map_blocks+0xa9e/0x1640 fs/xfs/xfs_aops.c:380 iomap_writepage_map fs/iomap/buffered-io.c:1355 [inline] iomap_do_writepage+0x9a6/0x3110 fs/iomap/buffered-io.c:1518 write_cache_pages+0x92e/0x15c0 mm/page-writeback.c:2360 iomap_writepages+0x64/0x240 fs/iomap/buffered-io.c:1535 xfs_vm_writepages+0x127/0x180 fs/xfs/xfs_aops.c:500 do_writepages+0x3a2/0x670 mm/page-writeback.c:2469 filemap_fdatawrite_wbc+0x121/0x180 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] filemap_write_and_wait_range+0x1a4/0x290 mm/filemap.c:674 __iomap_dio_rw+0xb56/0x2140 fs/iomap/direct-io.c:573 iomap_dio_rw+0x42/0xa0 fs/iomap/direct-io.c:690 xfs_file_dio_write_aligned+0x21e/0x350 fs/xfs/xfs_file.c:543 xfs_file_dio_write fs/xfs/xfs_file.c:655 [inline] xfs_file_write_iter+0x504/0x610 fs/xfs/xfs_file.c:797 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7ae/0xba0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2c74c7dea9 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:00007f2c759660c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2c74dabf80 RCX: 00007f2c74c7dea9 RDX: 00000000fffffde4 RSI: 00000000200000c0 RDI: 0000000000000007 RBP: 00007f2c74cca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2c74dabf80 R15: 00007ffe5f36c748