------------[ cut here ]------------ WARNING: CPU: 1 PID: 4306 at fs/udf/truncate.c:208 udf_truncate_extents+0xbf4/0xdc8 Modules linked in: CPU: 1 PID: 4306 Comm: syz.0.63 Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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 : ffff80001a0873e0 x29: ffff80001a0875d0 x28: ffff0000e19c8e78 x27: 0000000007f27c62 x26: dfff800000000000 x25: ffff80001a087560 x24: 00000000000000ff x23: 0000000000000010 x22: ffff80001a087520 x21: 00000000000000ff x20: ffff0000e19c8e28 x19: ffff80001a0874e0 x18: 0000000000000000 x17: 0000000000000002 x16: ffff8000098570c8 x15: 0000000000000001 x14: ffff0000cc2b8000 x13: 0000000000ff0100 x12: 0000000000040000 x11: 00000000000094f6 x10: ffff80001e22c000 x9 : 00000000000094f7 x8 : ffff800009876f9c x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001 x2 : ffff80001a0874e8 x1 : 0000000007f27c62 x0 : 0000000000000000 Call trace: udf_truncate_extents+0xbf4/0xdc8 udf_write_failed+0x164/0x1b4 fs/udf/inode.c:179 udf_write_begin+0x94/0x98 fs/udf/inode.c:214 generic_perform_write+0x24c/0x520 mm/filemap.c:3785 __generic_file_write_iter+0x230/0x454 mm/filemap.c:3912 udf_file_write_iter+0x234/0x490 fs/udf/file.c:163 do_iter_readv_writev+0x420/0x5f8 do_iter_write+0x1b8/0x664 fs/read_write.c:855 vfs_writev fs/read_write.c:928 [inline] do_pwritev+0x1ec/0x334 fs/read_write.c:1025 __do_sys_pwritev2 fs/read_write.c:1084 [inline] __se_sys_pwritev2 fs/read_write.c:1075 [inline] __arm64_sys_pwritev2+0xd4/0x108 fs/read_write.c:1075 __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: 140 hardirqs last enabled at (139): [] lookup_bh_lru fs/buffer.c:1294 [inline] hardirqs last enabled at (139): [] __find_get_block+0x1d0/0xdd4 fs/buffer.c:1306 hardirqs last disabled at (140): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (74): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (74): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (63): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (63): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (63): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (63): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 8131afacb8f12a0f ]---