loop1: detected capacity change from 0 to 32768 XFS (loop1): Mounting V5 Filesystem XFS (loop1): Ending clean mount XFS (loop1): Quotacheck needed: Please wait. XFS (loop1): Quotacheck: Done. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 20315 at fs/xfs/libxfs/xfs_bmap.c:4592 xfs_bmapi_convert_delalloc+0xf9e/0x12d0 Modules linked in: CPU: 1 PID: 20315 Comm: syz-executor.1 Not tainted 6.1.54-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:xfs_bmapi_convert_delalloc+0xf9e/0x12d0 fs/xfs/libxfs/xfs_bmap.c:4592 Code: 48 2e 74 fe 0f 0b e9 64 f4 ff ff 89 d9 80 e1 07 38 c1 0f 8c 34 f2 ff ff 48 89 df e8 0c de ca fe e9 27 f2 ff ff e8 22 2e 74 fe <0f> 0b 41 bd e4 ff ff ff e9 b5 fa ff ff 89 f9 80 e1 07 38 c1 0f 8c RSP: 0018:ffffc90004e2eec0 EFLAGS: 00010287 RAX: ffffffff8315e66e RBX: ffffffffffffffff RCX: 0000000000040000 RDX: ffffc90004361000 RSI: 0000000000000bc9 RDI: 0000000000000bca RBP: ffffc90004e2f0f0 R08: ffffffff8315e0a8 R09: fffffbfff1ce75e6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90004e2f000 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff920009c5dec FS: 00007f9936f336c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33b2a000 CR3: 000000007a149000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000004 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: xfs_convert_blocks fs/xfs/xfs_aops.c:259 [inline] xfs_map_blocks+0xa9e/0x1640 fs/xfs/xfs_aops.c:380 iomap_writepage_map fs/iomap/buffered-io.c:1355 [inline] iomap_do_writepage+0x9a6/0x3110 fs/iomap/buffered-io.c:1518 write_cache_pages+0x92e/0x15c0 mm/page-writeback.c:2360 iomap_writepages+0x64/0x240 fs/iomap/buffered-io.c:1535 xfs_vm_writepages+0x127/0x180 fs/xfs/xfs_aops.c:500 do_writepages+0x3a2/0x670 mm/page-writeback.c:2469 filemap_fdatawrite_wbc+0x121/0x180 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] filemap_write_and_wait_range+0x1a4/0x290 mm/filemap.c:674 xfs_setattr_size+0x492/0xcb0 fs/xfs/xfs_iops.c:892 xfs_vn_setattr+0x280/0x340 fs/xfs/xfs_iops.c:1015 notify_change+0xdcd/0x1080 fs/attr.c:483 do_truncate+0x21c/0x300 fs/open.c:65 do_sys_ftruncate+0x2e2/0x380 fs/open.c:193 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f993627cae9 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:00007f9936f330c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007f993639bf80 RCX: 00007f993627cae9 RDX: 0000000000000000 RSI: 0000000007000000 RDI: 0000000000000006 RBP: 00007f99362c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f993639bf80 R15: 00007ffe7f603e38