------------[ cut here ]------------ WARNING: CPU: 1 PID: 15230 at fs/udf/truncate.c:224 udf_truncate_extents+0xd46/0xeb0 fs/udf/truncate.c:224 Modules linked in: CPU: 1 PID: 15230 Comm: syz.6.1864 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:udf_truncate_extents+0xd46/0xeb0 fs/udf/truncate.c:224 Code: 65 48 8b 04 25 28 00 00 00 48 3b 84 24 80 01 00 00 75 70 44 89 e0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ca d4 8d fe <0f> 0b eb 8e 44 89 e9 80 e1 07 38 c1 0f 8c ec f3 ff ff 4c 89 ef e8 RSP: 0018:ffffc9000f637880 EFLAGS: 00010287 RAX: ffffffff82f7b606 RBX: 1ffff1100f0d01a2 RCX: 0000000000080000 RDX: ffffc90018c6e000 RSI: 000000000000c2b7 RDI: 000000000000c2b8 RBP: ffffc9000f637a48 R08: ffff88802b613c00 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000000 R14: 000000000000000a R15: 000000000000000a FS: 00007fd35b2d46c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4b4f2885f9 CR3: 000000007d6c8000 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:3941 __generic_file_write_iter+0x11b/0x230 mm/filemap.c:4097 udf_file_write_iter+0x2c0/0x620 fs/udf/file.c:111 do_iter_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x79a/0xc70 fs/read_write.c:860 vfs_writev fs/read_write.c:933 [inline] do_pwritev+0x205/0x340 fs/read_write.c:1030 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd35a38efc9 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:00007fd35b2d4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fd35a5e5fa0 RCX: 00007fd35a38efc9 RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000008 RBP: 00007fd35a411f91 R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd35a5e6038 R14: 00007fd35a5e5fa0 R15: 00007ffe9eb3e8a8