------------[ cut here ]------------ WARNING: CPU: 0 PID: 5126 at fs/udf/truncate.c:204 udf_truncate_extents+0x10a8/0x12c0 Modules linked in: CPU: 0 PID: 5126 Comm: syz-executor129 Not tainted 6.6.0-syzkaller-10396-g4652b8e4f3ff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:udf_truncate_extents+0x10a8/0x12c0 fs/udf/truncate.c:204 Code: 0f 85 1e 02 00 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 15 75 82 fe 41 be fb ff ff ff eb 86 e8 08 75 82 fe <0f> 0b eb 87 48 8d 8c 24 60 01 00 00 80 e1 07 80 c1 03 38 c1 0f 8c RSP: 0018:ffffc90004567880 EFLAGS: 00010293 RAX: ffffffff830c48c8 RBX: dffffc0000000000 RCX: ffff88807d519dc0 RDX: 0000000000000000 RSI: 0000000000001400 RDI: 0000000000000000 RBP: ffffc90004567a78 R08: ffffffff830c3cc5 R09: ffffffff830a1914 R10: 0000000000000002 R11: ffff88807d519dc0 R12: ffff8880774da018 R13: 0000000000001400 R14: 0000000000000000 R15: 00000000000000ff FS: 00007ff95f0006c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200007c8 CR3: 0000000028180000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_write_failed+0x172/0x1b0 fs/udf/inode.c:178 udf_write_begin+0x170/0x1a0 fs/udf/inode.c:264 generic_perform_write+0x31b/0x630 mm/filemap.c:3969 udf_file_write_iter+0x2fd/0x660 fs/udf/file.c:111 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x792/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7ff95f043cc9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff95f000218 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ff95f0cc6c8 RCX: 00007ff95f043cc9 RDX: 000000000000fd14 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 0000000000000017 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff95f0cc6c0 R13: 00007ff95f098cd8 R14: 0030656c69662f2e R15: 6c75662f7665642f