------------[ cut here ]------------ WARNING: CPU: 0 PID: 10048 at fs/xfs/libxfs/xfs_bmap.c:4599 xfs_bmapi_convert_delalloc+0xfc4/0x1310 Modules linked in: CPU: 0 PID: 10048 Comm: kworker/u4:17 Not tainted 6.6.0-rc6-syzkaller-00029-g213f891525c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: writeback wb_workfn (flush-7:4) RIP: 0010:xfs_bmapi_convert_delalloc+0xfc4/0x1310 fs/xfs/libxfs/xfs_bmap.c:4599 Code: e2 0d 6c fe 0f 0b e9 42 f4 ff ff 89 d9 80 e1 07 38 c1 0f 8c 12 f2 ff ff 48 89 df e8 a6 8c c6 fe e9 05 f2 ff ff e8 bc 0d 6c fe <0f> 0b 41 bd e4 ff ff ff e9 a1 fa ff ff 89 f9 80 e1 07 38 c1 0f 8c RSP: 0000:ffffc900169a69a0 EFLAGS: 00010293 RAX: ffffffff8321fff4 RBX: ffffffffffffffff RCX: ffff888025599dc0 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc900169a6bd0 R08: ffffffff8321fa1a R09: 1ffffffff1d34645 R10: dffffc0000000000 R11: fffffbfff1d34646 R12: ffffc900169a6ae0 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92002d34d48 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd293609000 CR3: 0000000033aaa000 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:1800 [inline] iomap_do_writepage+0xb4a/0x32a0 fs/iomap/buffered-io.c:1968 write_cache_pages+0x827/0x13f0 mm/page-writeback.c:2474 iomap_writepages+0x68/0x240 fs/iomap/buffered-io.c:1985 xfs_vm_writepages+0x139/0x1a0 fs/xfs/xfs_aops.c:513 do_writepages+0x3a6/0x670 mm/page-writeback.c:2553 __writeback_single_inode+0x155/0xfa0 fs/fs-writeback.c:1608 writeback_sb_inodes+0x8e3/0x1210 fs/fs-writeback.c:1899 wb_writeback+0x44d/0xc60 fs/fs-writeback.c:2075 wb_do_writeback fs/fs-writeback.c:2222 [inline] wb_workfn+0x400/0xff0 fs/fs-writeback.c:2262 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304