------------[ cut here ]------------ WARNING: CPU: 0 PID: 6858 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: 6858 Comm: syz-executor.3 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #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 62 cc c5 fe e9 01 f2 ff ff e8 d8 c4 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:ffffc900050f71e0 EFLAGS: 00010293 RAX: ffffffff8324b568 RBX: ffffffffffffffff RCX: ffff888019abbb80 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc900050f7410 R08: ffffffff8324af8a R09: 1ffffffff1e0171d R10: dffffc0000000000 R11: fffffbfff1e0171e R12: ffffc900050f7320 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000a1ee50 FS: 000055555655e480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31827000 CR3: 000000006de14000 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] __filemap_fdatawrite mm/filemap.c:426 [inline] filemap_flush+0x11e/0x170 mm/filemap.c:453 xfs_release+0x2ec/0x3d0 fs/xfs/xfs_inode.c:1442 __fput+0x3cc/0xa10 fs/file_table.c:394 __do_sys_close fs/open.c:1590 [inline] __se_sys_close fs/open.c:1575 [inline] __x64_sys_close+0x7e/0x100 fs/open.c:1575 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:0x7fcf10a7b9da Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007fffd171add0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007fcf10a7b9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007fcf10b9d980 R08: 0000001b31c20000 R09: 00000000000003e4 R10: 00000000813ee516 R11: 0000000000000293 R12: 000000000003c03c R13: ffffffffffffffff R14: 00007fcf10600000 R15: 000000000003b725