------------[ cut here ]------------ WARNING: CPU: 0 PID: 7110 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: 0 UID: 0 PID: 7110 Comm: syz.0.95 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 : ffff8000a08d7020 x29: ffff8000a08d7300 x28: 1fffe0001f88180f x27: 1ffff0001411ae58 x26: ffff8000a08d72c0 x25: ffff8000a08d7750 x24: dfff800000000000 x23: ffff0000f90e87c0 x22: 0000000000000000 x21: 00000000fffffff5 x20: 0000000000010003 x19: ffff0000fc40c000 x18: ffff0000f90e8984 x17: 6573202c303d7772 x16: ffff800083275834 x15: 0000000000000001 x14: 0000000000000002 x13: 0000000000000001 x12: ffff0000c6b0dac0 x11: 0000000000080000 x10: 0000000000002699 x9 : ffff8000a4cdd000 x8 : 000000000000269a x7 : ffff800081f098ec x6 : 0000000000000000 x5 : 0000000000000000 x4 : ffff8000a08d7210 x3 : ffff8000a08d7250 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: 224 hardirqs last enabled at (223): [] get_random_u32+0x318/0x618 drivers/char/random.c:553 hardirqs last disabled at (224): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (208): [] softirq_handle_end kernel/softirq.c:407 [inline] softirqs last enabled at (208): [] handle_softirqs+0xb44/0xd34 kernel/softirq.c:589 softirqs last disabled at (199): [] __do_softirq+0x14/0x20 kernel/softirq.c:595 ---[ end trace 0000000000000000 ]---