------------[ cut here ]------------ WARNING: CPU: 1 PID: 10741 at fs/xfs/libxfs/xfs_bmap.c:4599 xfs_bmapi_convert_delalloc+0xfc4/0x1310 Modules linked in: CPU: 1 PID: 10741 Comm: syz-executor.3 Not tainted 6.6.0-rc5-syzkaller-00067-g8182d7a3f1b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:xfs_bmapi_convert_delalloc+0xfc4/0x1310 fs/xfs/libxfs/xfs_bmap.c:4599 Code: 82 12 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 b6 8e c6 fe e9 05 f2 ff ff e8 5c 12 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: 0018:ffffc90016947060 EFLAGS: 00010283 RAX: ffffffff8321f8a4 RBX: ffffffffffffffff RCX: 0000000000040000 RDX: ffffc9000d317000 RSI: 000000000001e714 RDI: 000000000001e715 RBP: ffffc90016947290 R08: ffffffff8321f2ca R09: 1ffffffff1d34645 R10: dffffc0000000000 R11: fffffbfff1d34646 R12: ffffc900169471a0 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92002d28e20 FS: 00007fcefccec6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fb24000 CR3: 0000000076d9a000 CR4: 00000000003506e0 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 filemap_fdatawrite_wbc+0x125/0x180 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_flush+0x11e/0x170 mm/filemap.c:456 xfs_release+0x2ec/0x3d0 fs/xfs/xfs_inode.c:1435 __fput+0x3f8/0x910 fs/file_table.c:384 task_work_run+0x24a/0x300 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fcefc07cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcefccec0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000021 RAX: 0000000000000004 RBX: 00007fcefc19c1f0 RCX: 00007fcefc07cae9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000007 RBP: 00007fcefc0c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fcefc19c1f0 R15: 00007ffcd34cd478