------------[ cut here ]------------ WARNING: CPU: 0 PID: 5450 at fs/udf/truncate.c:208 udf_truncate_extents+0xfd7/0x11c0 Modules linked in: CPU: 0 PID: 5450 Comm: syz-executor164 Not tainted 6.2.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:udf_truncate_extents+0xfd7/0x11c0 fs/udf/truncate.c:208 Code: 01 00 00 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 8a 97 88 fe bb fb ff ff ff 4c 8b 6c 24 58 eb 89 e8 79 97 88 fe <0f> 0b eb 80 89 d9 80 e1 07 38 c1 0f 8c 68 f1 ff ff 48 89 df e8 10 RSP: 0018:ffffc9000403f720 EFLAGS: 00010293 RAX: ffffffff830343f7 RBX: 0000000000000000 RCX: ffff88802155d7c0 RDX: 0000000000000000 RSI: 000000000000001f RDI: 0000000000000000 RBP: ffffc9000403f920 R08: ffffffff83033844 R09: ffffffff8300e683 R10: 0000000000000002 R11: ffff88802155d7c0 R12: 000000000000001f R13: 1ffff92000807efc R14: 000000000000001f R15: ffff888072d907c0 FS: 00007fa30fec2700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3182f8e10 CR3: 0000000079feb000 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:209 generic_perform_write+0x2e4/0x5e0 mm/filemap.c:3772 __generic_file_write_iter+0x29b/0x400 mm/filemap.c:3868 udf_file_write_iter+0x325/0x5f0 fs/udf/file.c:170 do_iter_write+0x6c2/0xc20 fs/read_write.c:861 vfs_writev fs/read_write.c:934 [inline] do_pwritev+0x200/0x350 fs/read_write.c:1031 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa3182b7739 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa30fec22e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fa31833d7f0 RCX: 00007fa3182b7739 RDX: 0000000000000001 RSI: 0000000020000680 RDI: 0000000000000007 RBP: 00007fa318309b10 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0031656c69662f2e R13: 0030656c69662f2e R14: 65732f636f72702f R15: 00007fa31833d7f8