------------[ cut here ]------------ WARNING: CPU: 0 PID: 5842 at fs/udf/truncate.c:224 udf_truncate_extents+0xd4c/0xec0 fs/udf/truncate.c:224 Modules linked in: CPU: 0 UID: 0 PID: 5842 Comm: syz-executor366 Not tainted 6.16.0-rc3-syzkaller-00042-g78f4e737a53e #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:udf_truncate_extents+0xd4c/0xec0 fs/udf/truncate.c:224 Code: 01 64 0f 48 3b 84 24 80 01 00 00 75 77 44 89 e0 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 25 7d 8a fe 90 <0f> 0b 90 eb 88 44 89 e9 80 e1 07 38 c1 0f 8c e4 f3 ff ff 4c 89 ef RSP: 0018:ffffc9000430f3e0 EFLAGS: 00010293 RAX: ffffffff8335cefb RBX: 1ffff1100eea51a0 RCX: ffff88802f670000 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000000 RBP: ffffc9000430f5b8 R08: ffff88802f670000 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 000000000000000a R15: 000000000000000a FS: 00007fd5b39466c0(0000) GS:ffff888125c83000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f060ed5ec8 CR3: 00000000764e2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_write_failed+0x185/0x1c0 fs/udf/inode.c:178 udf_write_begin+0x1fd/0x260 fs/udf/inode.c:259 generic_perform_write+0x2c7/0x910 mm/filemap.c:4112 __generic_file_write_iter+0x1ae/0x230 mm/filemap.c:4226 udf_file_write_iter+0x2d5/0x6c0 fs/udf/file.c:111 iter_file_splice_write+0x93a/0x1000 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x101/0x160 fs/splice.c:1158 splice_direct_to_actor+0x5a5/0xcc0 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x181/0x270 fs/splice.c:1227 do_sendfile+0x4da/0x7e0 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1417 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd5b39b2639 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 18 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd5b3946218 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fd5b3a3a618 RCX: 00007fd5b39b2639 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fd5b3a3a610 R08: 00007fff91855dc7 R09: 0000000000000000 R10: 0000000020fffe82 R11: 0000000000000246 R12: 00007fd5b3a0757c R13: 7947d390134939b0 R14: 0000200000002484 R15: 0000200000002480