------------[ cut here ]------------ WARNING: CPU: 1 PID: 4312 at fs/udf/inode.c:561 udf_extend_file fs/udf/inode.c:560 [inline] WARNING: CPU: 1 PID: 4312 at fs/udf/inode.c:561 udf_setsize+0xcd4/0x1070 fs/udf/inode.c:1151 Modules linked in: CPU: 1 PID: 4312 Comm: syz-executor321 Not tainted 6.1.119-syzkaller #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_extend_file fs/udf/inode.c:560 [inline] pc : udf_setsize+0xcd4/0x1070 fs/udf/inode.c:1151 lr : udf_extend_file fs/udf/inode.c:560 [inline] lr : udf_setsize+0xcd4/0x1070 fs/udf/inode.c:1151 sp : ffff8000213278c0 x29: ffff800021327a70 x28: 0000000000000009 x27: ffff800021327960 x26: ffff700004264f28 x25: 0000000000003400 x24: 0000000000000019 x23: ffff0000e1bd3562 x22: 0000000000003e00 x21: 1fffe0001c37a6ac x20: ffff0000e1bd34a4 x19: ffff0000e1bd3498 x18: 1fffe000367a0576 x17: ffff800015a7d000 x16: ffff800008259ebc x15: 0000000000000000 x14: 0000000000000001 x13: ffff0000d9ef5340 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff8000099b7798 x8 : ffff0000d9ef5340 x7 : 00000037000000e0 x6 : 0000000000000000 x5 : ffff0000e1bd3450 x4 : ffff800021327978 x3 : ffff800008319960 x2 : 0000000000000001 x1 : 0000000000003e00 x0 : 0000000000003400 Call trace: udf_extend_file fs/udf/inode.c:560 [inline] udf_setsize+0xcd4/0x1070 fs/udf/inode.c:1151 udf_setattr+0x280/0x414 fs/udf/file.c:279 notify_change+0xb58/0xe1c fs/attr.c:499 do_truncate+0x1c0/0x28c fs/open.c:65 do_sys_ftruncate+0x288/0x31c fs/open.c:193 __do_sys_ftruncate fs/open.c:204 [inline] __se_sys_ftruncate fs/open.c:202 [inline] __arm64_sys_ftruncate+0x60/0x74 fs/open.c:202 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 252 hardirqs last enabled at (251): [] seqcount_lockdep_reader_access include/linux/seqlock.h:104 [inline] hardirqs last enabled at (251): [] ktime_get_coarse_real_ts64+0x114/0x244 kernel/time/timekeeping.c:2261 hardirqs last disabled at (252): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (226): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (224): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---