------------[ cut here ]------------ WARNING: CPU: 0 PID: 1096 at fs/xfs/libxfs/xfs_bmap.c:4697 xfs_bmapi_convert_delalloc+0xad6/0xc90 fs/xfs/libxfs/xfs_bmap.c:4697 Modules linked in: CPU: 0 PID: 1096 Comm: kworker/u32:9 Not tainted 6.9.0-rc4-syzkaller-00031-g96fca68c4fbf #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:xfs_bmapi_convert_delalloc+0xad6/0xc90 fs/xfs/libxfs/xfs_bmap.c:4697 Code: ff e8 1e c8 71 fe 8b 94 24 08 01 00 00 48 8b b4 24 10 01 00 00 48 8b 7c 24 70 e8 15 21 0d 00 e9 8b fd ff ff e8 fb c7 71 fe 90 <0f> 0b 90 bb e4 ff ff ff e9 f7 fd ff ff 48 89 ef e8 b5 ea cc fe e9 RSP: 0018:ffffc9000465eed8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffffffffffff RCX: ffffffff831bf483 RDX: ffff888022de2440 RSI: ffffffff831bfb25 RDI: 0000000000000007 RBP: ffff8880328007c0 R08: 0000000000000007 R09: ffffffffffffffff R10: ffffffffffffffff R11: 0000000000000005 R12: 0000000000000000 R13: ffff88801aac4000 R14: ffff888032800800 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3d0557ff8 CR3: 000000000d57a000 CR4: 0000000000350ef0 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+0x5d8/0xec0 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+0x6f4/0x2c40 fs/iomap/buffered-io.c:1964 write_cache_pages+0xb0/0x130 mm/page-writeback.c:2569 iomap_writepages+0xa9/0x100 fs/iomap/buffered-io.c:1983 xfs_vm_writepages+0xed/0x150 fs/xfs/xfs_aops.c:507 do_writepages+0x1a3/0x7f0 mm/page-writeback.c:2612 __writeback_single_inode+0x163/0xf90 fs/fs-writeback.c:1650 writeback_sb_inodes+0x5a6/0x10d0 fs/fs-writeback.c:1941 __writeback_inodes_wb+0xff/0x2e0 fs/fs-writeback.c:2012 wb_writeback+0x7db/0xb30 fs/fs-writeback.c:2119 wb_check_background_flush fs/fs-writeback.c:2189 [inline] wb_do_writeback fs/fs-writeback.c:2277 [inline] wb_workfn+0x8c4/0xf40 fs/fs-writeback.c:2304 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244