------------[ cut here ]------------ WARNING: CPU: 0 PID: 11 at fs/xfs/libxfs/xfs_bmap.c:4599 xfs_bmapi_convert_delalloc+0xfc4/0x1310 Modules linked in: CPU: 0 PID: 11 Comm: kworker/u4:0 Not tainted 6.6.0-syzkaller-15494-g6bc986ab839c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: writeback wb_workfn (flush-7:3) RIP: 0010:xfs_bmapi_convert_delalloc+0xfc4/0x1310 fs/xfs/libxfs/xfs_bmap.c:4599 Code: 52 e1 68 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 96 02 c5 fe e9 05 f2 ff ff e8 2c e1 68 fe <0f> 0b 41 bd e4 ff ff ff e9 a1 fa ff ff 89 f9 80 e1 07 38 c1 0f 8c RSP: 0018:ffffc90000106920 EFLAGS: 00010293 RAX: ffffffff8325df64 RBX: ffffffffffffffff RCX: ffff888016a53b80 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: ffffffffffffffff RBP: ffffc90000106b50 R08: ffffffff8325d98a R09: 1ffffffff1e019a5 R10: dffffc0000000000 R11: fffffbfff1e019a6 R12: ffffc90000106a60 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000020d38 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1d1e99c028 CR3: 000000002d834000 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+0xb4a/0x32a0 fs/iomap/buffered-io.c:1985 write_cache_pages+0x827/0x13f0 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/0xfa0 fs/fs-writeback.c:1625 writeback_sb_inodes+0x8e3/0x1210 fs/fs-writeback.c:1916 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:1987 wb_writeback+0x461/0xc60 fs/fs-writeback.c:2094 wb_check_background_flush fs/fs-writeback.c:2164 [inline] wb_do_writeback fs/fs-writeback.c:2252 [inline] wb_workfn+0xc6f/0xff0 fs/fs-writeback.c:2279 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:242