syzbot


WARNING in bfs_rename

Status: upstream: reported C repro on 2025/01/02 15:51
Subsystems: bfs
[Documentation on labels]
Reported-by: syzbot+80e60df48923e1b7691d@syzkaller.appspotmail.com
First crash: 100d, last: 12d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in bfs_rename (log)
Repro: C syz .config
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] bfs: put a inode if link count is 0 7 (7) 2025/01/17 01:46
[syzbot] [bfs?] WARNING in bfs_rename 0 (1) 2025/01/02 15:51
Last patch testing requests (4)
Created Duration User Patch Repo Result
2025/01/18 17:35 14m retest repro upstream report log
2025/01/18 17:35 18m retest repro upstream report log
2025/01/18 16:36 16m retest repro linux-next error
2025/01/18 16:36 19m retest repro linux-next error

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5828 at fs/inode.c:417 drop_nlink+0xc4/0x110 fs/inode.c:417
Modules linked in:
CPU: 1 UID: 0 PID: 5828 Comm: syz-executor274 Not tainted 6.14.0-syzkaller-03576-g1e1ba8d23dae #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:drop_nlink+0xc4/0x110 fs/inode.c:417
Code: bb 70 07 00 00 be 08 00 00 00 e8 c7 79 e6 ff f0 48 ff 83 70 07 00 00 5b 41 5c 41 5e 41 5f 5d e9 0d 15 cb fe e8 8d 4a 7e ff 90 <0f> 0b 90 eb 83 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 5c ff ff ff
RSP: 0018:ffffc90003df7970 EFLAGS: 00010293
RAX: ffffffff82452c03 RBX: 1ffff1100ee8e154 RCX: ffff8880340abc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff82452b83 R09: 1ffffffff2079d4e
R10: dffffc0000000000 R11: fffffbfff2079d4f R12: ffff888077470aa0
R13: ffffffff933fc020 R14: ffff888077470a58 R15: dffffc0000000000
FS:  00005555743ec380(0000) GS:ffff888125324000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffeb3cc6d28 CR3: 00000000768bc000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 inode_dec_link_count include/linux/fs.h:2573 [inline]
 bfs_rename+0x481/0x570 fs/bfs/dir.c:247
 vfs_rename+0xbd0/0xf10 fs/namei.c:5086
 do_renameat2+0xc8d/0x1290 fs/namei.c:5235
 __do_sys_rename fs/namei.c:5282 [inline]
 __se_sys_rename fs/namei.c:5280 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5280
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb7fa916fd9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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:00007ffd2c24acc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 0000200000000180 RCX: 00007fb7fa916fd9
RDX: 00007fb7fa9162b7 RSI: 0000200000000180 RDI: 0000200000000140
RBP: 0000200000000000 R08: 0000200000000000 R09: 00005555743ed4c0
R10: 00007ffd2c24ab90 R11: 0000000000000246 R12: 0000200000000140
R13: 0030656c69662f2e R14: 0031656c69662f2e R15: 00007fb7fa960095
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/27 17:12 upstream 1e1ba8d23dae 20510e88 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in bfs_rename
2025/01/04 15:53 upstream 63676eefb7a0 f3558dbf .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in bfs_rename
2025/01/04 10:27 upstream 63676eefb7a0 f3558dbf .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in bfs_rename
2024/12/29 17:49 linux-next 8155b4ef3466 d3ccff63 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in bfs_rename
2024/12/29 16:45 linux-next 8155b4ef3466 d3ccff63 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in bfs_rename
2024/12/29 15:43 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in bfs_rename
* Struck through repros no longer work on HEAD.