syzbot


WARNING in inc_nlink (2)

Status: upstream: reported C repro on 2023/12/28 21:17
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+9e9d439464190b89a70c@syzkaller.appspotmail.com
First crash: 123d, last: 14d
Bug presence (2)
Date Name Commit Repro Result
2023/12/29 upstream (ToT) 8735c7c84d1b C [report] WARNING in inc_nlink
2024/04/14 upstream (ToT) 7efd0a74039f C Failed due to an error; will retry later
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in inc_nlink (2) C error 102 520d 1276d 0/1 upstream: reported C repro on 2020/11/01 15:25
linux-5.15 WARNING in inc_nlink origin:lts-only C done 11 12d 407d 0/3 upstream: reported C repro on 2023/03/20 05:26
upstream WARNING in inc_nlink (2) fs C inconclusive done 21 784d 1121d 20/26 fixed on 2022/03/08 16:11
upstream WARNING in inc_nlink (3) jfs C error error 701 25m 775d 0/26 upstream: reported C repro on 2022/03/17 16:37
linux-6.1 WARNING in inc_nlink 81 364d 386d 0/3 auto-obsoleted due to no activity on 2023/07/31 15:23
linux-4.19 WARNING in inc_nlink C done 8 1350d 1499d 1/1 fixed on 2020/09/18 07:23
linux-4.14 WARNING in inc_nlink C done 21 1358d 1500d 1/1 fixed on 2020/09/11 09:49
linux-4.14 WARNING in inc_nlink (2) C 47 436d 1271d 0/1 upstream: reported C repro on 2020/11/06 09:55
upstream WARNING in inc_nlink C done 26 1388d 1491d 15/26 fixed on 2020/09/16 22:51
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/03/20 09:43 1h03m bisect fix linux-6.1.y job log (0) log
2024/02/01 03:08 1h06m bisect fix linux-6.1.y job log (0) log

Sample crash report:
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
REISERFS error (device loop0): vs-7000 search_by_entry_key: search_by_key returned item position == 0
REISERFS (device loop0): Remounting filesystem read-only
REISERFS warning (device loop0): PAP-5610 reiserfs_cut_from_item: item [1 0 2342656(0) DIR] not found
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3542 at fs/inode.c:387 inc_nlink+0x120/0x130
Modules linked in:
CPU: 0 PID: 3542 Comm: syz-executor250 Not tainted 6.1.69-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:inc_nlink+0x120/0x130 fs/inode.c:387
Code: ea ff e9 37 ff ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 49 ff ff ff 4c 89 ef e8 3a 25 ea ff e9 3c ff ff ff e8 50 c4 92 ff <0f> 0b eb 80 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 57 41 56 53 48
RSP: 0018:ffffc900039afaa8 EFLAGS: 00010293
RAX: ffffffff81f7c9c0 RBX: 1ffff1100e40a03b RCX: ffff88802995bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81f7c93a R09: fffffbfff2091e5e
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8880720501d8 R14: ffff888072050190 R15: 0000000000000000
FS:  0000555556a2b380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fee28b95ed8 CR3: 000000007966f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 reiserfs_unlink+0x69d/0x790 fs/reiserfs/namei.c:1072
 vfs_unlink+0x359/0x5f0 fs/namei.c:4253
 do_unlinkat+0x49f/0x820 fs/namei.c:4321
 __do_sys_unlink fs/namei.c:4369 [inline]
 __se_sys_unlink fs/namei.c:4367 [inline]
 __x64_sys_unlink+0x45/0x50 fs/namei.c:4367
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f3cb49c81b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 1c 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:00007ffd20ec67c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f3cb49c81b9
RDX: 00007f3cb49c7370 RSI: 00007ffd20ec68b0 RDI: 0000000020000040
RBP: 00007ffd20ec68d0 R08: 00007ffd20ec6567 R09: 0000555556a2bfc0
R10: 0000000000000001 R11: 0000000000000246 R12: 000000000000000c
R13: 0000000000050012 R14: 0000000000000003 R15: 00007ffd20ec68b0
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/29 06:44 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/04/14 09:36 linux-6.1.y cd5d98c0556c c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/04/15 05:39 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2023/12/28 21:16 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/04/15 21:06 linux-6.1.y cd5d98c0556c b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/02/19 08:36 linux-6.1.y 8b4118fabd6e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
* Struck through repros no longer work on HEAD.