------------[ cut here ]------------ WARNING: CPU: 1 PID: 29534 at fs/udf/truncate.c:224 udf_truncate_extents+0xd87/0xef0 fs/udf/truncate.c:224 Modules linked in: CPU: 1 PID: 29534 Comm: syz.4.8350 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:udf_truncate_extents+0xd87/0xef0 fs/udf/truncate.c:224 Code: 65 48 8b 04 25 28 00 00 00 48 3b 84 24 80 01 00 00 75 73 44 89 e0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 39 79 89 fe <0f> 0b e9 6a ff ff ff 44 89 e9 80 e1 07 38 c1 0f 8c e8 f3 ff ff 4c RSP: 0018:ffffc90004d2f9a0 EFLAGS: 00010283 RAX: ffffffff82fd9b77 RBX: 1ffff1100ade35a3 RCX: 0000000000080000 RDX: ffffc9000ddad000 RSI: 000000000001b94b RDI: 000000000001b94c RBP: ffffc90004d2fb68 R08: ffff888046473c00 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000000 R14: 000000000000000a R15: 000000000000000a FS: 00007fee983306c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3001bff8 CR3: 000000006bbd4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000006800 DR2: 0000000000009951 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: udf_write_failed+0x180/0x1b0 fs/udf/inode.c:178 udf_direct_IO+0x1c3/0x200 fs/udf/inode.c:311 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3956 __generic_file_write_iter+0x11b/0x230 mm/filemap.c:4112 udf_file_write_iter+0x2b5/0x610 fs/udf/file.c:111 call_write_iter include/linux/fs.h:2018 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x46c/0x990 fs/read_write.c:584 ksys_pwrite64 fs/read_write.c:699 [inline] __do_sys_pwrite64 fs/read_write.c:709 [inline] __se_sys_pwrite64 fs/read_write.c:706 [inline] __x64_sys_pwrite64+0x19b/0x230 fs/read_write.c:706 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fee9739aeb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fee98330028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007fee97615fa0 RCX: 00007fee9739aeb9 RDX: 0000000000000002 RSI: 0000200000000000 RDI: 0000000000000004 RBP: 00007fee97408c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000404042ffc R11: 0000000000000246 R12: 0000000000000000 R13: 00007fee97616038 R14: 00007fee97615fa0 R15: 00007ffcceafed98