------------[ cut here ]------------ WARNING: CPU: 1 PID: 5078 at fs/udf/truncate.c:204 udf_truncate_extents+0x10ad/0x12d0 fs/udf/truncate.c:204 Modules linked in: CPU: 1 PID: 5078 Comm: syz-executor183 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:udf_truncate_extents+0x10ad/0x12d0 fs/udf/truncate.c:204 Code: 00 44 89 f0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 c1 5e 79 fe 41 be fb ff ff ff eb 82 e8 b4 5e 79 fe 90 <0f> 0b 90 eb 81 48 8d 8c 24 60 01 00 00 80 e1 07 80 c1 03 38 c1 0f RSP: 0018:ffffc900035cf800 EFLAGS: 00010293 RAX: ffffffff831ca8dc RBX: dffffc0000000000 RCX: ffff888020f2da00 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000000 RBP: ffffc900035cf9f8 R08: ffffffff831c9cd5 R09: ffffffff831a82f4 R10: 0000000000000002 R11: ffff888020f2da00 R12: ffff88807e516018 R13: 000000000000000a R14: 0000000000000000 R15: 00000000000000ff FS: 0000555558d38380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000203da000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_write_failed+0x176/0x1b0 fs/udf/inode.c:178 udf_write_begin+0x176/0x1a0 fs/udf/inode.c:264 generic_perform_write+0x322/0x640 mm/filemap.c:3974 __generic_file_write_iter+0x1b8/0x230 mm/filemap.c:4066 udf_file_write_iter+0x2fd/0x660 fs/udf/file.c:111 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa84/0xcb0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f35726217f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007fff3da957c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fff3da95998 RCX: 00007f35726217f9 RDX: 0000000000000090 RSI: 00000000200003c0 RDI: 0000000000000006 RBP: 00007f3572694610 R08: 00007fff3da95998 R09: 00007fff3da95998 R10: 00007fff3da95998 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff3da95988 R14: 0000000000000001 R15: 0000000000000001