------------[ cut here ]------------ WARNING: CPU: 1 PID: 4148 at fs/udf/truncate.c:226 udf_truncate_extents+0xfd7/0x11c0 Modules linked in: CPU: 0 PID: 4148 Comm: syz-executor.3 Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:udf_truncate_extents+0xfd7/0x11c0 fs/udf/truncate.c:226 Code: 01 00 00 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 7a 71 8e fe bb fb ff ff ff 4c 8b 6c 24 58 eb 89 e8 69 71 8e fe <0f> 0b eb 80 89 d9 80 e1 07 38 c1 0f 8c 68 f1 ff ff 48 89 df e8 60 RSP: 0018:ffffc90005b6ed40 EFLAGS: 00010293 RAX: ffffffff82f85e87 RBX: 0000000000000000 RCX: ffff88801c58d880 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc90005b6ef40 R08: ffffffff82f852d4 R09: ffffffff82f5f793 R10: 0000000000000002 R11: ffff88801c58d880 R12: 0000000000000200 R13: 1ffff92000b6ddc0 R14: 000000000100e000 R15: ffff8880712d47d0 FS: 00007f9dbe1dd700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002007a000 CR3: 0000000022874000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_write_failed+0x197/0x1d0 fs/udf/inode.c:179 udf_write_begin+0x5c/0x60 fs/udf/inode.c:214 generic_perform_write+0x2a8/0x5b0 mm/filemap.c:3745 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3873 udf_file_write_iter+0x325/0x5f0 fs/udf/file.c:170 __kernel_write_iter+0x2f6/0x740 fs/read_write.c:517 dump_emit_page fs/coredump.c:858 [inline] dump_user_range+0x8ca/0xe70 fs/coredump.c:909 elf_core_dump+0x396b/0x4120 fs/binfmt_elf.c:2311 do_coredump+0x1931/0x2970 fs/coredump.c:756 get_signal+0x1417/0x1770 kernel/signal.c:2843 arch_do_signal_or_restart+0x7b/0x730 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x74/0x150 kernel/entry/common.c:166 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:294 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9dbea3c707 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f9dbe1dcf00 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffe5 RBX: 000000000000002b RCX: 00007f9dbea3c707 RDX: 0000000000000020 RSI: 0000000020010000 RDI: 0000000000000008 RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 632e79726f6d656d R11: 0000000000000293 R12: 0000000000000008 R13: 0000000020000230 R14: 0000000000000002 R15: 00007f9dbead4a20