syzbot


WARNING in nilfs_rmdir

Status: upstream: reported C repro on 2024/12/15 02:00
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+7f26a8adda26dc68e3d5@syzkaller.appspotmail.com
First crash: 15d, last: 7d22h
Bug presence (2)
Date Name Commit Repro Result
2024/12/22 linux-5.15.y (ToT) 91786f140358 C [report] WARNING in nilfs_rmdir
2024/12/22 upstream (ToT) bcde95ce32b6 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in nilfs_rmdir origin:upstream C 42 8d23h 31d 0/3 upstream: reported C repro on 2024/11/28 20:36
upstream WARNING in nilfs_rmdir nilfs C error 290 8d18h 39d 20/28 upstream: reported C repro on 2024/11/20 17:47

Sample crash report:
NILFS (loop0): nilfs_palloc_commit_free_entry (ino=6): entry number 14 already freed
NILFS (loop0): nilfs_palloc_commit_free_entry (ino=6): entry number 15 already freed
NILFS (loop0): nilfs_palloc_commit_free_entry (ino=6): entry number 16 already freed
NILFS (loop0): nilfs_palloc_commit_free_entry (ino=6): entry number 17 already freed
NILFS (loop0): deleting nonexistent file (ino=11), 0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4161 at fs/inode.c:307 drop_nlink+0xbb/0x100
Modules linked in:
CPU: 0 PID: 4161 Comm: syz-executor402 Not tainted 5.15.174-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:307
Code: 49 8b 1e 48 8d bb c8 07 00 00 be 08 00 00 00 e8 4b a4 ed ff f0 48 ff 83 c8 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 e8 95 c7 a3 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:ffffc900011dfc90 EFLAGS: 00010293
RAX: ffffffff81dcbd4b RBX: 1ffff1100ea3c69c RCX: ffff888071883b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81dcbccf R09: ffffed10055100fa
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880751e34e0
R13: 1ffff1100ea3c5cb R14: ffff8880751e3498 R15: dffffc0000000000
FS:  000055555e7d4380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6f74c01130 CR3: 00000000256b4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_rmdir+0x1ac/0x250 fs/nilfs2/namei.c:341
 vfs_rmdir+0x305/0x460 fs/namei.c:4149
 do_rmdir+0x368/0x670 fs/namei.c:4210
 __do_sys_rmdir fs/namei.c:4229 [inline]
 __se_sys_rmdir fs/namei.c:4227 [inline]
 __x64_sys_rmdir+0x45/0x50 fs/namei.c:4227
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f6f74b87c07
Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 54 00 00 00 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:00007ffea93d1aa8 EFLAGS: 00000207 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6f74b87c07
RDX: 0000000000008890 RSI: 0000000000000000 RDI: 00007ffea93d2c50
RBP: 0000000000000065 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000207 R12: 00007ffea93d2c50
R13: 000055555e7e5740 R14: 431bde82d7b634db R15: 00007ffea93d4dd0
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/15 06:49 linux-5.15.y 963e654022cc 7cbfbb3a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in nilfs_rmdir
2024/12/15 01:59 linux-5.15.y 963e654022cc 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in nilfs_rmdir
2024/12/15 02:29 linux-5.15.y 963e654022cc 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in nilfs_rmdir
2024/12/15 02:28 linux-5.15.y 963e654022cc 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in nilfs_rmdir
* Struck through repros no longer work on HEAD.