------------[ cut here ]------------ WARNING: CPU: 1 PID: 6866 at fs/xfs/libxfs/xfs_bmap.c:4682 xfs_bmapi_convert_delalloc+0x101c/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787 Modules linked in: CPU: 1 UID: 0 PID: 6866 Comm: syz-executor154 Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : xfs_bmapi_convert_delalloc+0x101c/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787 lr : xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4682 [inline] lr : xfs_bmapi_convert_delalloc+0x1018/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787 sp : ffff8000a4557020 x29: ffff8000a4557300 x28: 1fffe0001b4ed80f x27: 1ffff000148aae58 x26: ffff8000a45572c0 x25: ffff8000a4557750 x24: dfff800000000000 x23: ffff0000e35ec5c0 x22: 0000000000000000 x21: 00000000fffffff5 x20: 0000000000010003 x19: ffff0000da76c000 x18: 1fffe00036700a7e x17: ffff80008f99d000 x16: ffff800083275834 x15: 0000000000000001 x14: 0000000000000000 x13: 0000000000000001 x12: ffff0000dbfd9e40 x11: 0000000000ff0100 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000dbfd9e40 x7 : ffff80008b6b5d04 x6 : 0000000000000000 x5 : 0000000000000001 x4 : ffff8000a4557210 x3 : ffff8000a4557250 x2 : 0000000000000001 x1 : 0000000000010003 x0 : 0000000000010004 Call trace: xfs_bmapi_convert_delalloc+0x101c/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787 (P) xfs_buffered_write_iomap_begin+0xa54/0x14f0 fs/xfs/xfs_iomap.c:1214 iomap_iter+0x5c4/0x1008 fs/iomap/iter.c:90 iomap_zero_range+0x380/0x794 fs/iomap/buffered-io.c:1441 xfs_zero_range+0x88/0xe8 fs/xfs/xfs_iomap.c:1499 xfs_setattr_size+0x30c/0xcc0 fs/xfs/xfs_iops.c:890 xfs_vn_setattr_size+0x138/0x15c fs/xfs/xfs_iops.c:1040 xfs_falloc_setsize fs/xfs/xfs_file.c:927 [inline] xfs_falloc_insert_range+0x310/0x3d8 fs/xfs/xfs_file.c:981 xfs_file_fallocate+0x29c/0x3a0 fs/xfs/xfs_file.c:1133 vfs_fallocate+0x484/0x5c0 fs/open.c:327 ksys_fallocate fs/open.c:351 [inline] __do_sys_fallocate fs/open.c:356 [inline] __se_sys_fallocate fs/open.c:354 [inline] __arm64_sys_fallocate+0xc0/0x110 fs/open.c:354 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 112 hardirqs last enabled at (111): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (111): [] _raw_spin_unlock_irq+0x30/0x80 kernel/locking/spinlock.c:202 hardirqs last disabled at (112): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (72): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (70): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---