------------[ cut here ]------------ WARNING: CPU: 1 PID: 7271 at fs/udf/truncate.c:224 udf_truncate_extents+0xda8/0xfb0 Modules linked in: CPU: 1 UID: 0 PID: 7271 Comm: syz.0.154 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 : udf_truncate_extents+0xda8/0xfb0 lr : udf_truncate_extents+0xda4/0xfb0 fs/udf/truncate.c:224 sp : ffff80009f5775c0 x29: ffff80009f5777b0 x28: ffff0000dc840808 x27: 0000000000000000 x26: ffff80009f577750 x25: ffff0000ca8cc018 x24: ffff0000dc840808 x23: 000000000000000a x22: dfff800000000000 x21: 0000000000000000 x20: ffff0000dc8407b8 x19: ffff80009f5776c0 x18: ffff80009f5773e0 x17: 00000000000349a5 x16: ffff8000803b3884 x15: 0000000000000001 x14: 0000000000000002 x13: 0000000000000001 x12: ffff0000c42e3c80 x11: 0000000000080000 x10: 0000000000002498 x9 : ffff8000a576a000 x8 : 0000000000002499 x7 : ffff800081bf01d4 x6 : 0000000000000000 x5 : 0000000000000001 x4 : ffff80009f577750 x3 : 0000000000000001 x2 : ffff80009f5776c8 x1 : 000000000000000a x0 : 0000000000000000 Call trace: udf_truncate_extents+0xda8/0xfb0 (P) udf_write_failed+0x164/0x1b4 fs/udf/inode.c:178 udf_write_begin+0x1d8/0x218 fs/udf/inode.c:259 generic_perform_write+0x29c/0x868 mm/filemap.c:4055 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4156 udf_file_write_iter+0x25c/0x568 fs/udf/file.c:111 new_sync_write fs/read_write.c:586 [inline] vfs_write+0x920/0xcf4 fs/read_write.c:679 ksys_write+0x15c/0x26c fs/read_write.c:731 __do_sys_write fs/read_write.c:742 [inline] __se_sys_write fs/read_write.c:739 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:739 __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: 104462 hardirqs last enabled at (104461): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1535 [inline] hardirqs last enabled at (104461): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5123 hardirqs last disabled at (104462): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (104422): [] softirq_handle_end kernel/softirq.c:407 [inline] softirqs last enabled at (104422): [] handle_softirqs+0xb44/0xd34 kernel/softirq.c:589 softirqs last disabled at (104401): [] __do_softirq+0x14/0x20 kernel/softirq.c:595 ---[ end trace 0000000000000000 ]---