------------[ cut here ]------------ WARNING: CPU: 0 PID: 6263 at fs/udf/truncate.c:208 udf_truncate_extents+0xbf4/0xdc8 Modules linked in: CPU: 0 PID: 6263 Comm: syz.9.338 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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 : ffff8000208175a0 x29: ffff800020817780 x28: ffff0000f2a70e78 x27: 0000000000e3efff x26: dfff800000000000 x25: ffff800020817720 x24: 00000000000000ff x23: 0000000000000010 x22: ffff8000208176e0 x21: 00000000000000ff x20: ffff0000f2a70e28 x19: ffff8000208176a0 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000098eac6c x15: 0000000000000001 x14: ffff0000ccc8d1c0 x13: 0000000000ff0100 x12: 0000000000080000 x11: 000000000000d15a x10: ffff80002f822000 x9 : 000000000000d15b x8 : ffff8000099074b8 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001 x2 : ffff8000208176a8 x1 : 0000000000e3efff x0 : 0000000000000000 Call trace: udf_truncate_extents+0xbf4/0xdc8 udf_setsize+0xca4/0x1070 fs/udf/inode.c:1183 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 vfs_truncate+0x2e0/0x388 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/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: 222 hardirqs last enabled at (221): [] lookup_bh_lru fs/buffer.c:1294 [inline] hardirqs last enabled at (221): [] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306 hardirqs last disabled at (222): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (130): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (130): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (79): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (79): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (79): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (79): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 70ef0a6e76b2b650 ]---