syzbot


WARNING in udf_truncate_extents

Status: upstream: reported on 2025/06/19 08:31
Reported-by: syzbot+35be3d1eb8fe0c693a42@syzkaller.appspotmail.com
First crash: 1d11h, last: 1d11h
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in udf_truncate_extents origin:lts-only C unreliable 409 5d07h 824d 0/3 upstream: reported C repro on 2023/03/19 00:16
linux-4.14 WARNING in udf_truncate_extents C error 4 996d 1207d 0/1 upstream: reported C repro on 2022/03/01 11:21
linux-4.19 WARNING in udf_truncate_extents udf C error 245 841d 1366d 0/1 upstream: reported C repro on 2021/09/23 06:31
linux-5.15 WARNING in udf_truncate_extents origin:lts-only C done 196 14d 824d 0/3 upstream: reported C repro on 2023/03/18 20:24
upstream WARNING in udf_truncate_extents udf C done error 11804 2h19m 1712d 0/29 upstream: reported C repro on 2020/10/12 13:20

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 11127 at fs/udf/truncate.c:224 udf_truncate_extents+0xd46/0xeb0 fs/udf/truncate.c:224
Modules linked in:
CPU: 0 PID: 11127 Comm: syz.6.1152 Not tainted 6.6.93-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 fa 11 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:ffffc90003557880 EFLAGS: 00010283
RAX: ffffffff82f884e6 RBX: 1ffff1100bda2da5 RCX: 0000000000080000
RDX: ffffc900145c3000 RSI: 0000000000013ddf RDI: 0000000000013de0
RBP: ffffc90003557a48 R08: ffff888023e99e00 R09: 0000000000000002
R10: 0000000000000001 R11: 0000000000000002 R12: 0000000000000000
R13: 0000000000000000 R14: 000000000000000a R15: 000000000000000a
FS:  00007fab24e446c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30c13ff8 CR3: 000000007cf77000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 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:0x7fab23f8e929
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:00007fab24e44038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148
RAX: ffffffffffffffda RBX: 00007fab241b5fa0 RCX: 00007fab23f8e929
RDX: 0000000000000001 RSI: 0000200000000240 RDI: 0000000000000004
RBP: 00007fab24010b39 R08: 0000000000000000 R09: 0000000000000003
R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fab241b5fa0 R15: 00007ffc041a5348
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/19 08:34 linux-6.6.y c2603c511feb ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in udf_truncate_extents
2025/06/19 08:33 linux-6.6.y c2603c511feb ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in udf_truncate_extents
2025/06/19 08:32 linux-6.6.y c2603c511feb ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in udf_truncate_extents
2025/06/19 08:31 linux-6.6.y c2603c511feb ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in udf_truncate_extents
* Struck through repros no longer work on HEAD.