------------[ cut here ]------------ WARNING: CPU: 1 PID: 8208 at fs/udf/truncate.c:224 udf_truncate_extents+0xd87/0xef0 fs/udf/truncate.c:224 Modules linked in: CPU: 1 PID: 8208 Comm: syz.6.621 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 f9 78 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:ffffc900046df880 EFLAGS: 00010287 RAX: ffffffff82fd9a27 RBX: 1ffff1100f2180d5 RCX: 0000000000080000 RDX: ffffc9000fa13000 RSI: 0000000000019e02 RDI: 0000000000019e03 RBP: ffffc900046dfa48 R08: ffff88802b4f0000 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000000 R14: 000000000000000a R15: 000000000000000a FS: 00007fdd84be86c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d82b76000 CR3: 00000000691a7000 CR4: 00000000003506e0 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 do_iter_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x738/0xc30 fs/read_write.c:860 vfs_writev fs/read_write.c:933 [inline] do_pwritev+0x241/0x3a0 fs/read_write.c:1030 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:0x7fdd83d9acb9 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:00007fdd84be8028 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fdd84016090 RCX: 00007fdd83d9acb9 RDX: 0000000000000001 RSI: 0000200000000240 RDI: 0000000000000004 RBP: 00007fdd83e08bf7 R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000007a00 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdd84016128 R14: 00007fdd84016090 R15: 00007fffae70ee08