------------[ cut here ]------------ WARNING: CPU: 0 PID: 45 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: 0 PID: 45 Comm: kworker/u8:3 Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: writeback wb_workfn (flush-7:0) 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 78 57 c1 fe e9 f7 f1 ff ff e8 9e 46 60 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:ffffc90000b569e0 EFLAGS: 00010293 RAX: ffffffff8335b9d2 RBX: ffffffffffffffff RCX: ffff88801be89e00 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc90000b56c10 R08: ffffffff8335b3ee R09: 1ffffffff1f4fa55 R10: dffffc0000000000 R11: fffffbfff1f4fa56 R12: ffffc90000b56b20 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff9200016ad50 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020c00000 CR3: 0000000061cae000 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+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+0xc04/0x2710 fs/iomap/buffered-io.c:1964 write_cache_pages+0xd0/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+0x359/0x870 mm/page-writeback.c:2612 __writeback_single_inode+0x165/0x10b0 fs/fs-writeback.c:1650 writeback_sb_inodes+0x905/0x1260 fs/fs-writeback.c:1941 wb_writeback+0x457/0xce0 fs/fs-writeback.c:2117 wb_do_writeback fs/fs-writeback.c:2264 [inline] wb_workfn+0x410/0x1090 fs/fs-writeback.c:2304 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244