------------[ cut here ]------------ WARNING: CPU: 1 PID: 8765 at fs/udf/truncate.c:224 udf_truncate_extents+0x985/0xa80 fs/udf/truncate.c:224 Modules linked in: CPU: 1 UID: 0 PID: 8765 Comm: syz.6.738 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:udf_truncate_extents+0x985/0xa80 fs/udf/truncate.c:224 Code: fe e9 4c f8 ff ff 48 8b 7c 24 18 e8 35 79 df fe e9 09 f9 ff ff 48 8b 7c 24 18 e8 26 79 df fe e9 a9 f7 ff ff e8 7c 0f 7a fe 90 <0f> 0b 90 e9 a5 f9 ff ff e8 6e 0f 7a fe 90 0f 0b 48 8b 7c 24 10 48 RSP: 0018:ffffc90004717990 EFLAGS: 00010287 RAX: 0000000000000fde RBX: ffff888054bebab8 RCX: ffffc9001574e000 RDX: 0000000000080000 RSI: ffffffff83418ea4 RDI: 0000000000000007 RBP: ffffc90004717a88 R08: 0000000000000007 R09: 0000000000000000 R10: 000000000000000a R11: 0000000000000000 R12: ffff888053cf4000 R13: 0000000000000000 R14: 000000000000000a R15: ffffc90004717a48 FS: 00007f12f91426c0(0000) GS:ffff8881247b4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c35f773 CR3: 0000000057f75000 CR4: 0000000000350ef0 Call Trace: udf_write_failed.isra.0+0x170/0x1c0 fs/udf/inode.c:178 udf_write_begin+0x21f/0x2a0 fs/udf/inode.c:265 generic_perform_write+0x3c5/0x900 mm/filemap.c:4175 __generic_file_write_iter+0x1ce/0x240 mm/filemap.c:4288 udf_file_write_iter+0x233/0x7b0 fs/udf/file.c:111 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f12f838eba9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f12f9142038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f12f85d5fa0 RCX: 00007f12f838eba9 RDX: 000000000000b000 RSI: 0000200000000000 RDI: 0000000000000005 RBP: 00007f12f8411e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f12f85d6038 R14: 00007f12f85d5fa0 R15: 00007fffead0ad68