------------[ cut here ]------------ WARNING: CPU: 1 PID: 34 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: 1 PID: 34 Comm: kworker/u8:2 Not tainted 6.9.0-rc5-syzkaller-00329-g5d12ed4bea43 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: writeback wb_workfn (flush-7:2) RIP: 0010:xfs_bmapi_convert_delalloc+0xad6/0xc90 fs/xfs/libxfs/xfs_bmap.c:4697 Code: ff e8 9e 8c 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 7b 8c 71 fe 90 <0f> 0b 90 bb e4 ff ff ff e9 f7 fd ff ff 48 89 ef e8 95 d1 cc fe e9 RSP: 0018:ffffc90000aa6f88 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffffffff RCX: ffffffff831c2d13 RDX: ffff888019a98000 RSI: ffffffff831c33b5 RDI: 0000000000000007 RBP: ffff8880607d1f00 R08: 0000000000000007 R09: ffffffffffffffff R10: ffffffffffffffff R11: 0000000000000004 R12: 0000000000000000 R13: ffff8880212ee000 R14: ffff8880607d1f40 R15: 0000000000000d3e FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000aee9f4 CR3: 000000000d57a000 CR4: 00000000003526f0 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+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 __writeback_single_inode+0x163/0xf90 fs/fs-writeback.c:1650 writeback_sb_inodes+0x5a6/0x10d0 fs/fs-writeback.c:1941 wb_writeback+0x28a/0xb30 fs/fs-writeback.c:2117 wb_do_writeback fs/fs-writeback.c:2264 [inline] wb_workfn+0x28d/0xf40 fs/fs-writeback.c:2304 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244