------------[ cut here ]------------ WARNING: CPU: 0 PID: 4817 at fs/udf/truncate.c:209 udf_truncate_extents+0xa0c/0xb60 fs/udf/truncate.c:-1 Modules linked in: CPU: 0 PID: 4817 Comm: syz.2.104 Not tainted 6.1.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : udf_truncate_extents+0xa0c/0xb60 fs/udf/truncate.c:-1 lr : udf_truncate_extents+0xa08/0xb60 fs/udf/truncate.c:209 sp : ffff800021447560 x29: ffff8000214476e0 x28: 00000000000000ff x27: 0000000000000000 x26: ffff0000f6742048 x25: 0000000000202981 x24: 00000000000b6e00 x23: ffff0000d1ac4000 x22: ffff800021447600 x21: 1fffe0001ece8409 x20: ffff8000214475e0 x19: ffff0000f6742160 x18: 0000000000000000 x17: ffff8000181e7000 x16: ffff8000082d0ec0 x15: 0000000000000002 x14: 0000000000000001 x13: 0000000000ff0100 x12: 0000000000080000 x11: 0000000000004cc5 x10: ffff80002801b000 x9 : ffff800009829de8 x8 : 0000000000004cc6 x7 : ffff800009812cd4 x6 : 0000000000000000 x5 : 0000000000000001 x4 : ffff800021447454 x3 : 0000000000000001 x2 : ffff800021447608 x1 : 00000000000b6f81 x0 : 0000000000000000 Call trace: udf_truncate_extents+0xa0c/0xb60 fs/udf/truncate.c:-1 udf_do_extend_file+0xa14/0xd8c fs/udf/inode.c:479 udf_extend_file fs/udf/inode.c:564 [inline] udf_setsize+0x8c8/0xd90 fs/udf/inode.c:1147 udf_setattr+0x280/0x414 fs/udf/file.c:279 notify_change+0xb0c/0xdcc fs/attr.c:499 do_truncate+0x178/0x1f0 fs/open.c:65 vfs_truncate+0x23c/0x2b0 fs/open.c:111 do_sys_truncate+0xe8/0x1b0 fs/open.c:134 __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __arm64_sys_truncate+0x5c/0x70 fs/open.c:144 __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/0x138 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: 763794 hardirqs last enabled at (763793): [] lookup_bh_lru fs/buffer.c:1291 [inline] hardirqs last enabled at (763793): [] __find_get_block+0x1c8/0xdfc fs/buffer.c:1303 hardirqs last disabled at (763794): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (763726): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (763724): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---