------------[ cut here ]------------ WARNING: CPU: 0 PID: 1096 at fs/xfs/libxfs/xfs_bmap.c:4599 xfs_bmapi_convert_delalloc+0xfc9/0x1320 fs/xfs/libxfs/xfs_bmap.c:4599 Modules linked in: CPU: 0 PID: 1096 Comm: kworker/u4:7 Not tainted 6.7.0-rc7-syzkaller-00049-g453f5db0619e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: writeback wb_workfn (flush-7:3) RIP: 0010:xfs_bmapi_convert_delalloc+0xfc9/0x1320 fs/xfs/libxfs/xfs_bmap.c:4599 Code: fe 90 0f 0b 90 e9 3e f4 ff ff 89 d9 80 e1 07 38 c1 0f 8c 0e f2 ff ff 48 89 df e8 12 de c5 fe e9 01 f2 ff ff e8 88 d9 69 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: 0000:ffffc900045769e0 EFLAGS: 00010293 RAX: ffffffff8324a068 RBX: ffffffffffffffff RCX: ffff88801ecd5940 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc90004576c10 R08: ffffffff83249a8a R09: 1ffffffff1e01845 R10: dffffc0000000000 R11: fffffbfff1e01846 R12: ffffc90004576b20 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff920008aed50 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f000738a000 CR3: 0000000025ef1000 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:1817 [inline] iomap_do_writepage+0x830/0x2810 fs/iomap/buffered-io.c:1985 write_cache_pages+0x827/0x1400 mm/page-writeback.c:2474 iomap_writepages+0x68/0x240 fs/iomap/buffered-io.c:2002 xfs_vm_writepages+0x139/0x1a0 fs/xfs/xfs_aops.c:513 do_writepages+0x3a6/0x670 mm/page-writeback.c:2553 __writeback_single_inode+0x155/0xfc0 fs/fs-writeback.c:1625 writeback_sb_inodes+0x8e3/0x1220 fs/fs-writeback.c:1916 wb_writeback+0x44d/0xc70 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:2627 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2700 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2781 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:242