------------[ cut here ]------------ WARNING: CPU: 1 PID: 4512 at fs/udf/truncate.c:208 udf_truncate_extents+0xbf4/0xdc8 Modules linked in: CPU: 1 PID: 4512 Comm: syz.3.31 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 : ffff8000216b75c0 x29: ffff8000216b77a0 x28: ffff0000e30e8810 x27: 00000000001263ff x26: dfff800000000000 x25: ffff8000216b7740 x24: 00000000000000ff x23: 0000000000000010 x22: ffff8000216b7700 x21: 00000000000000ff x20: ffff0000e30e87c0 x19: ffff8000216b76c0 x18: ffff8000216b7060 x17: ffff800018aa5000 x16: ffff800008303e98 x15: 0000000000000002 x14: 0000000000000001 x13: ffff0000dd5f3780 x12: 0000000000040000 x11: 000000000000a1e4 x10: ffff80002665e000 x9 : ffff800009960b04 x8 : 000000000000a1e5 x7 : ffff800009942f04 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001 x2 : ffff8000216b76c8 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 ]---