syzbot


WARNING in udf_truncate_extents

Status: upstream: reported C repro on 2025/06/19 08:31
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+35be3d1eb8fe0c693a42@syzkaller.appspotmail.com
First crash: 7d13h, last: 1d17h
Bug presence (1)
Date Name Commit Repro Result
2025/06/26 upstream (ToT) ee88bddf7f2f C [report] WARNING in udf_truncate_extents
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 11d 830d 0/3 upstream: reported C repro on 2023/03/19 00:16
linux-4.14 WARNING in udf_truncate_extents C error 4 1002d 1213d 0/1 upstream: reported C repro on 2022/03/01 11:21
linux-4.19 WARNING in udf_truncate_extents udf C error 245 847d 1372d 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 20d 831d 0/3 upstream: reported C repro on 2023/03/18 20:24
upstream WARNING in udf_truncate_extents udf C done error 11944 58m 1718d 0/29 upstream: reported C repro on 2020/10/12 13:20

Sample crash report:
UDF-fs: Scanning with blocksize 2048 failed
UDF-fs: error (device loop0): udf_read_tagged: read failed, block=256, location=256
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5770 at fs/udf/truncate.c:224 udf_truncate_extents+0xd46/0xeb0 fs/udf/truncate.c:224
Modules linked in:
CPU: 1 PID: 5770 Comm: syz-executor269 Not tainted 6.6.94-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 3a 0d 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:ffffc900043ef880 EFLAGS: 00010293
RAX: ffffffff82f88896 RBX: 1ffff1100e4930d5 RCX: ffff888020589e00
RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000000
RBP: ffffc900043efa48 R08: ffff888020589e00 R09: 0000000000000002
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 000000000000000a R15: 000000000000000a
FS:  0000555588076380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f836aa05000 CR3: 00000000754cf000 CR4: 00000000003506e0
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:0x7f8372e036b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffecf671d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000148
RAX: ffffffffffffffda RBX: 00007ffecf671ef8 RCX: 00007f8372e036b9
RDX: 0000000000000001 RSI: 0000200000000240 RDI: 0000000000000004
RBP: 00007f8372e77610 R08: 0000000000000000 R09: 0000000000000003
R10: 0000000000002000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffecf671ee8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/23 14:44 linux-6.6.y 6282921b6825 d6cdfb8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-6-kasan WARNING in udf_truncate_extents
2025/06/25 04:00 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in udf_truncate_extents
2025/06/25 04:00 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in udf_truncate_extents
2025/06/25 03:59 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in udf_truncate_extents
2025/06/25 03:59 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in udf_truncate_extents
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.