------------[ cut here ]------------ WARNING: CPU: 1 PID: 2720 at fs/xfs/libxfs/xfs_bmap.c:4614 xfs_bmapi_convert_delalloc+0xfcd/0x1320 fs/xfs/libxfs/xfs_bmap.c:4614 Modules linked in: CPU: 1 PID: 2720 Comm: kworker/u4:4 Not tainted 6.8.0-rc7-syzkaller-00238-g005f6f34bd47 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: writeback wb_workfn (flush-7:1) RIP: 0010:xfs_bmapi_convert_delalloc+0xfcd/0x1320 fs/xfs/libxfs/xfs_bmap.c:4614 Code: fe 90 0f 0b 90 e9 3a f4 ff ff 89 d9 80 e1 07 38 c1 0f 8c 0a f2 ff ff 48 89 df e8 ce bd c4 fe e9 fd f1 ff ff e8 94 ec 65 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:ffffc900134869e0 EFLAGS: 00010293 RAX: ffffffff832d816c RBX: ffffffffffffffff RCX: ffff88802a788000 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc90013486c10 R08: ffffffff832d7b8e R09: 1ffffffff1f0881d R10: dffffc0000000000 R11: fffffbfff1f0881e R12: ffffc90013486b20 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92002690d50 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055593f3f9868 CR3: 0000000028746000 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/0x10a0 fs/xfs/xfs_aops.c:389 iomap_writepage_map fs/iomap/buffered-io.c:1807 [inline] iomap_do_writepage+0x834/0x2820 fs/iomap/buffered-io.c:1975 write_cache_pages+0x82b/0x1410 mm/page-writeback.c:2474 iomap_writepages+0x68/0x250 fs/iomap/buffered-io.c:1992 xfs_vm_writepages+0x139/0x1a0 fs/xfs/xfs_aops.c:513 do_writepages+0x3aa/0x680 mm/page-writeback.c:2553 __writeback_single_inode+0x155/0xfd0 fs/fs-writeback.c:1625 writeback_sb_inodes+0x8e3/0x1220 fs/fs-writeback.c:1916 wb_writeback+0x44d/0xc80 fs/fs-writeback.c:2092 wb_do_writeback fs/fs-writeback.c:2239 [inline] wb_workfn+0x400/0xfb0 fs/fs-writeback.c:2279 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243