------------[ cut here ]------------ WARNING: CPU: 1 PID: 7125 at fs/xfs/libxfs/xfs_bmap.c:4599 xfs_bmapi_convert_delalloc+0xac7/0xc80 fs/xfs/libxfs/xfs_bmap.c:4599 Modules linked in: CPU: 1 PID: 7125 Comm: kworker/u4:13 Not tainted 6.7.0-rc1-syzkaller-00019-gc42d9eeef8e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: writeback wb_workfn (flush-7:5) RIP: 0010:xfs_bmapi_convert_delalloc+0xac7/0xc80 fs/xfs/libxfs/xfs_bmap.c:4599 Code: ff e8 6d cd 7a fe 8b 94 24 08 01 00 00 48 8b b4 24 10 01 00 00 48 8b 7c 24 70 e8 54 62 0c 00 e9 96 fd ff ff e8 4a cd 7a fe 90 <0f> 0b 90 bb e4 ff ff ff e9 f7 fd ff ff 48 89 ef e8 44 56 d1 fe e9 RSP: 0018:ffffc90009eeef38 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffffffff RCX: ffffffff830cbd0f RDX: ffff88808b633b80 RSI: ffffffff830cc3a6 RDI: 0000000000000007 RBP: ffff888086cb6c80 R08: 0000000000000007 R09: ffffffffffffffff R10: ffffffffffffffff R11: 0000000000000004 R12: 0000000000000000 R13: ffff888085c08000 R14: ffff888086cb6cc0 R15: 0000000000002d13 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd66d777978 CR3: 0000000028ab7000 CR4: 0000000000350ef0 Call Trace: xfs_convert_blocks fs/xfs/xfs_aops.c:266 [inline] xfs_map_blocks+0x5d8/0xe40 fs/xfs/xfs_aops.c:389 iomap_writepage_map fs/iomap/buffered-io.c:1817 [inline] iomap_do_writepage+0xa22/0x27b0 fs/iomap/buffered-io.c:1985 write_cache_pages+0x499/0xd80 mm/page-writeback.c:2474 iomap_writepages+0x4f/0xb0 fs/iomap/buffered-io.c:2002 xfs_vm_writepages+0x138/0x1c0 fs/xfs/xfs_aops.c:513 do_writepages+0x1b4/0x690 mm/page-writeback.c:2553 __writeback_single_inode+0x158/0xe90 fs/fs-writeback.c:1625 writeback_sb_inodes+0x599/0x1080 fs/fs-writeback.c:1916 wb_writeback+0x2a5/0xaa0 fs/fs-writeback.c:2092 wb_do_writeback fs/fs-writeback.c:2239 [inline] wb_workfn+0x29c/0xfe0 fs/fs-writeback.c:2279 process_one_work+0x886/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242