syzbot


WARNING in udf_expand_dir_adinicb (2)

Status: upstream: reported syz repro on 2025/05/27 03:55
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+545e45805722d117958f@syzkaller.appspotmail.com
First crash: 7d06h, last: 3d01h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [udf?] WARNING in udf_expand_dir_adinicb (2) 0 (2) 2025/05/27 07:11
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in udf_expand_dir_adinicb udf C done 2 845d 841d 22/28 fixed on 2023/06/08 14:41
Cause bisection attempts (1)
Created Duration User Patch Repo Result
2025/05/30 06:41 bisect upstream running

Sample crash report:
UDF-fs: error (device loop1): udf_verify_fi: directory (ino 1408) has entry at pos 128 with incorrect tag 1
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8363 at fs/udf/namei.c:214 udf_expand_dir_adinicb+0xbf6/0xf00 fs/udf/namei.c:214
Modules linked in:
CPU: 1 UID: 0 PID: 8363 Comm: syz.1.1106 Not tainted 6.15.0-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:udf_expand_dir_adinicb+0xbf6/0xf00 fs/udf/namei.c:214
Code: 01 00 00 00 e8 ab 1e fe ff 8b 5c 24 60 e9 aa f6 ff ff e8 0d 12 80 fe 4c 89 ef e8 c5 c8 09 ff e9 ac f8 ff ff e8 fb 11 80 fe 90 <0f> 0b 90 e9 88 fe ff ff bb 8b ff ff ff e9 80 f6 ff ff bb f4 ff ff
RSP: 0018:ffffc9000b4bf400 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000ffffff8b RCX: ffffffff833b31ce
RDX: ffff8880321e1e00 RSI: ffffffff833b3345 RDI: 0000000000000005
RBP: ffffc9000b4bf680 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffffff8b R11: 0000000000000000 R12: 00000000ffffff8b
R13: ffff88805c84d740 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f4d6dc3e6c0(0000) GS:ffff888124ae0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5509c78000 CR3: 0000000034101000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 udf_fiiter_add_entry+0xcf0/0x10d0 fs/udf/namei.c:262
 udf_rename+0x902/0xd90 fs/udf/namei.c:843
 vfs_rename+0xf64/0x2250 fs/namei.c:5121
 do_renameat2+0x82b/0xc90 fs/namei.c:5270
 __do_sys_renameat2 fs/namei.c:5304 [inline]
 __se_sys_renameat2 fs/namei.c:5301 [inline]
 __x64_sys_renameat2+0xe7/0x130 fs/namei.c:5301
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4d6cd8e969
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:00007f4d6dc3e038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f4d6cfb5fa0 RCX: 00007f4d6cd8e969
RDX: 0000000000000004 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007f4d6ce10ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000000980 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f4d6cfb5fa0 R15: 00007ffeb5d70468
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/27 08:55 upstream 0ff41df1cb26 874a1386 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root WARNING in udf_expand_dir_adinicb
2025/05/27 07:10 upstream 0ff41df1cb26 874a1386 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root WARNING in udf_expand_dir_adinicb
2025/05/23 03:48 upstream 94305e83eccb fa44301a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in udf_expand_dir_adinicb
* Struck through repros no longer work on HEAD.