------------[ cut here ]------------ WARNING: CPU: 0 PID: 4612 at fs/udf/truncate.c:208 udf_truncate_extents+0xbf4/0xdc8 Modules linked in: CPU: 0 PID: 4612 Comm: syz.4.60 Not tainted 6.1.113-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_truncate_extents+0xbf4/0xdc8 lr : udf_truncate_extents+0xbf0/0xdc8 fs/udf/truncate.c:208 sp : ffff8000216275c0 x29: ffff8000216277a0 x28: ffff0000e1b18e78 x27: 00000000001263ff x26: dfff800000000000 x25: ffff800021627740 x24: 00000000000000ff x23: 0000000000000010 x22: ffff800021627700 x21: 00000000000000ff x20: ffff0000e1b18e28 x19: ffff8000216276c0 x18: ffff800021627060 x17: ffff800018aab000 x16: ffff8000083042fc x15: 0000000000000002 x14: 0000000000000001 x13: ffff0000f1bcd340 x12: 0000000000040000 x11: 000000000000af3e x10: ffff800025f1f000 x9 : ffff80000995d198 x8 : 000000000000af3f x7 : ffff80000993f598 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001 x2 : ffff8000216276c8 x1 : 00000000001263ff x0 : 0000000000000000 Call trace: udf_truncate_extents+0xbf4/0xdc8 udf_setsize+0xca4/0x1070 fs/udf/inode.c:1268 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/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 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: 186 hardirqs last enabled at (185): [] lookup_bh_lru fs/buffer.c:1291 [inline] hardirqs last enabled at (185): [] __find_get_block+0x1d0/0xeec fs/buffer.c:1303 hardirqs last disabled at (186): [] 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 ]---