syzbot


WARNING in udf_rename

Status: upstream: reported C repro on 2024/12/11 06:39
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+72f20dcde8dd7e4a788a@syzkaller.appspotmail.com
First crash: 155d, last: 21d
Fix commit to backport (bisect log) :
tree: upstream
commit 6756af923e06aa33ad8894aaecbf9060953ba00f
Author: Jan Kara <jack@suse.cz>
Date: Tue Nov 26 11:55:12 2024 +0000

  udf: Verify inode link counts before performing rename

  
Bug presence (2)
Date Name Commit Repro Result
2024/12/12 linux-6.1.y (ToT) e4d90d63d385 C [report] WARNING in udf_rename
2024/12/12 upstream (ToT) 231825b2e1ff C Didn't crash
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in udf_rename (2) udf C error 8 162d 169d 28/28 fixed on 2025/05/06 15:33
upstream WARNING in udf_rename udf C error 3 874d 875d 0/28 auto-obsoleted due to no activity on 2023/04/22 05:39
linux-5.15 WARNING in udf_rename origin:lts-only C done 27 7d15h 155d 0/3 upstream: reported C repro on 2024/12/11 07:06
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/01/14 06:57 5h25m fix candidate upstream OK (1) job log

Sample crash report:
loop0: detected capacity change from 0 to 2048
UDF-fs: INFO Mounting volume 'LiuxUDF', timestamp 2022/11/22 14:59 (1000)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4244 at fs/inode.c:332 drop_nlink+0xbb/0x100
Modules linked in:
CPU: 1 PID: 4244 Comm: syz-executor180 Not tainted 6.1.119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:drop_nlink+0xbb/0x100 fs/inode.c:332
Code: 49 8b 1e 48 8d bb c0 07 00 00 be 08 00 00 00 e8 3b f1 e9 ff f0 48 ff 83 c0 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 e8 65 66 92 ff <0f> 0b eb 89 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 62 ff ff ff 4c
RSP: 0018:ffffc90003b97650 EFLAGS: 00010293
RAX: ffffffff81f8358b RBX: 1ffff1100e2721ce RCX: ffff88801bf10000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81f8350f R09: fffffbfff2249866
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888071390e70
R13: 0000000067595340 R14: ffff888071390e28 R15: dffffc0000000000
FS:  0000555564030380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e63d6913b8 CR3: 000000002fa14000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inode_dec_link_count include/linux/fs.h:2582 [inline]
 udf_rename+0xa46/0xdd0 fs/udf/namei.c:850
 vfs_rename+0xd32/0x10f0 fs/namei.c:4874
 do_renameat2+0xde0/0x1440 fs/namei.c:5027
 __do_sys_rename fs/namei.c:5073 [inline]
 __se_sys_rename fs/namei.c:5071 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5071
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1a6abac879
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:00007fffb55e70f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f1a6abac879
RDX: 00007f1a6abac879 RSI: 0000000020000080 RDI: 0000000020000400
RBP: 00007f1a6ac20610 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffb55e72c8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (35):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/11 08:54 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in udf_rename
2024/12/11 07:05 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in udf_rename
2025/02/04 16:34 linux-6.1.y 0cbb5f65e52f 8f267cef .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in udf_rename
2025/04/24 03:52 linux-6.1.y 420102835862 73a168d0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/24 03:52 linux-6.1.y 420102835862 73a168d0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/24 03:38 linux-6.1.y 420102835862 73a168d0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/24 03:37 linux-6.1.y 420102835862 73a168d0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/19 23:24 linux-6.1.y 420102835862 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/19 23:24 linux-6.1.y 420102835862 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/17 03:57 linux-6.1.y 420102835862 a95239b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/17 03:57 linux-6.1.y 420102835862 a95239b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/15 01:22 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/15 01:22 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/15 01:21 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/15 00:57 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/15 00:55 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/13 07:51 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/13 07:51 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/04/09 06:41 linux-6.1.y 3dfebb87d7eb a775275d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/03/15 21:26 linux-6.1.y 344a09659766 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/03/15 21:26 linux-6.1.y 344a09659766 e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/03/10 07:49 linux-6.1.y 6ae7ac5c4251 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/03/10 07:49 linux-6.1.y 6ae7ac5c4251 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/03/06 19:56 linux-6.1.y 3a8358583626 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/03/06 19:54 linux-6.1.y 3a8358583626 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/02/21 02:43 linux-6.1.y 0cbb5f65e52f 0808a665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/02/21 02:43 linux-6.1.y 0cbb5f65e52f 0808a665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/01/06 16:40 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/01/06 16:39 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2024/12/13 15:18 linux-6.1.y e4d90d63d385 3547e30f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2024/12/13 15:18 linux-6.1.y e4d90d63d385 3547e30f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2024/12/13 00:15 linux-6.1.y e4d90d63d385 530e80f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2024/12/11 06:38 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2024/12/11 06:38 linux-6.1.y e4d90d63d385 cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in udf_rename
2025/01/18 16:36 linux-6.1.y 60ceadf9247e f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in udf_rename
* Struck through repros no longer work on HEAD.