------------[ cut here ]------------ WARNING: CPU: 1 PID: 4409 at fs/udf/truncate.c:209 udf_truncate_extents+0xd1c/0xf1c fs/udf/truncate.c:-1 Modules linked in: CPU: 1 PID: 4409 Comm: syz.4.5 Not tainted 6.1.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : udf_truncate_extents+0xd1c/0xf1c fs/udf/truncate.c:-1 lr : udf_truncate_extents+0xd18/0xf1c fs/udf/truncate.c:209 sp : ffff800021377440 x29: ffff800021377620 x28: ffff8000213775d0 x27: 0000000000000000 x26: ffff800021377580 x25: dfff800000000000 x24: 0000000007f2f462 x23: ffff0000d2eb2018 x22: ffff0000f49a8e28 x21: 0000000008000c62 x20: 0000000007f2f400 x19: ffff800021377540 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800008300d88 x15: 0000000000000002 x14: 0000000000000001 x13: ffff0000cd291bc0 x12: 0000000000080000 x11: 0000000000004490 x10: ffff80002a35e000 x9 : ffff8000099e19e0 x8 : 0000000000004491 x7 : ffff8000099c750c x6 : 0000000000000000 x5 : 0000000000000001 x4 : ffff800021377300 x3 : 0000000000000001 x2 : ffff800021377548 x1 : 0000000007f2f462 x0 : 0000000000000000 Call trace: udf_truncate_extents+0xd1c/0xf1c fs/udf/truncate.c:-1 udf_do_extend_file+0xae0/0xde0 fs/udf/inode.c:479 udf_extend_file fs/udf/inode.c:564 [inline] udf_setsize+0xa54/0x104c fs/udf/inode.c:1147 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 vfs_truncate+0x2c4/0x36c fs/open.c:111 do_sys_truncate+0xec/0x1b4 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/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: 132 hardirqs last enabled at (131): [] lookup_bh_lru fs/buffer.c:1291 [inline] hardirqs last enabled at (131): [] __find_get_block+0x1d0/0xeec fs/buffer.c:1303 hardirqs last disabled at (132): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (8): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (6): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---