------------[ cut here ]------------ WARNING: CPU: 1 PID: 21282 at fs/xfs/libxfs/xfs_bmap.c:4697 xfs_bmapi_convert_delalloc+0xfd3/0x1330 fs/xfs/libxfs/xfs_bmap.c:4697 Modules linked in: CPU: 1 PID: 21282 Comm: syz-executor.3 Not tainted 6.9.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:xfs_bmapi_convert_delalloc+0xfd3/0x1330 fs/xfs/libxfs/xfs_bmap.c:4697 Code: fe 90 0f 0b 90 e9 34 f4 ff ff 89 d9 80 e1 07 38 c1 0f 8c 04 f2 ff ff 48 89 df e8 48 7a c1 fe e9 f7 f1 ff ff e8 7e 18 5d fe 90 <0f> 0b 90 41 bd e4 ff ff ff 48 8b 5c 24 10 e9 5e ff ff ff 89 f9 80 RSP: 0018:ffffc9000fa26e80 EFLAGS: 00010246 RAX: ffffffff8338e8e2 RBX: ffffffffffffffff RCX: 0000000000040000 RDX: ffffc9000a1d7000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000fa270b0 R08: ffffffff8338e2fe R09: 1ffffffff1f51c55 R10: dffffc0000000000 R11: fffffbfff1f51c56 R12: ffffc9000fa26fc0 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92001f44de4 FS: 00007f1ebcb6c6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f66ea1ff000 CR3: 000000004e9ce000 CR4: 0000000000350ef0 Call Trace: xfs_convert_blocks fs/xfs/xfs_aops.c:266 [inline] xfs_map_blocks+0x7cb/0x10f0 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+0xc06/0x2710 fs/iomap/buffered-io.c:1964 write_cache_pages+0xd2/0x230 mm/page-writeback.c:2569 iomap_writepages+0xa9/0x260 fs/iomap/buffered-io.c:1983 xfs_vm_writepages+0xfc/0x150 fs/xfs/xfs_aops.c:507 do_writepages+0x35b/0x870 mm/page-writeback.c:2612 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:397 __filemap_fdatawrite_range mm/filemap.c:430 [inline] file_write_and_wait_range+0x1aa/0x290 mm/filemap.c:788 xfs_file_fsync+0x1d6/0xa80 fs/xfs/xfs_file.c:151 generic_write_sync include/linux/fs.h:2795 [inline] xfs_file_buffered_write+0x9b2/0xad0 fs/xfs/xfs_file.c:823 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa86/0xcb0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1ebbe7dea9 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:00007f1ebcb6c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f1ebbfabf80 RCX: 00007f1ebbe7dea9 RDX: 00000000ffffff3e RSI: 0000000020000080 RDI: 000000000000000a RBP: 00007f1ebbeca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1ebbfabf80 R15: 00007fffecc79228