------------[ cut here ]------------ WARNING: CPU: 1 PID: 3983 at fs/udf/inode.c:650 udf_extend_file fs/udf/inode.c:649 [inline] WARNING: CPU: 1 PID: 3983 at fs/udf/inode.c:650 udf_setsize+0xcd4/0x1070 fs/udf/inode.c:1246 Modules linked in: CPU: 1 PID: 3983 Comm: syz-executor267 Not tainted 5.15.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : udf_extend_file fs/udf/inode.c:649 [inline] pc : udf_setsize+0xcd4/0x1070 fs/udf/inode.c:1246 lr : udf_extend_file fs/udf/inode.c:649 [inline] lr : udf_setsize+0xcd4/0x1070 fs/udf/inode.c:1246 sp : ffff80001caa78a0 x29: ffff80001caa7a50 x28: 0000000000000009 x27: ffff80001caa7940 x26: ffff700003954f24 x25: 0000000000000400 x24: 0000000000000001 x23: ffff0000de91155a x22: 0000000000000c00 x21: 1fffe0001bd222ab x20: ffff0000de91149c x19: ffff0000de911490 x18: 0000000000000001 x17: 0000000000000000 x16: ffff80000824daf4 x15: 0000000000000001 x14: ffff0000ca13d1c0 x13: 0000000000ff0100 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000ca13d1c0 x8 : ffff800009849300 x7 : 0000003d000000d0 x6 : 0000000000000000 x5 : ffff0000de911448 x4 : ffff80001caa7958 x3 : ffff800008304a34 x2 : 0000000000000001 x1 : 0000000000000c00 x0 : 0000000000000400 Call trace: udf_extend_file fs/udf/inode.c:649 [inline] udf_setsize+0xcd4/0x1070 fs/udf/inode.c:1246 udf_setattr+0x280/0x414 fs/udf/file.c:277 notify_change+0xa34/0xcf8 fs/attr.c:505 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/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 112 hardirqs last enabled at (111): [] seqcount_lockdep_reader_access+0x208/0x2cc include/linux/seqlock.h:105 hardirqs last disabled at (112): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (86): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (84): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 8b7de040dc3fd32d ]---