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: 179d, last: 30d
Bug presence (1)
Date Name Commit Repro Result
2023/12/29 upstream (ToT) 8735c7c84d1b C [report] WARNING in inc_nlink
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 575d 1331d 0/1 upstream: reported C repro on 2020/11/01 15:25
linux-5.15 WARNING in inc_nlink origin:lts-only C done 20 31d 462d 0/3 upstream: reported C repro on 2023/03/20 05:26
upstream WARNING in inc_nlink (2) fs C inconclusive done 21 839d 1176d 20/27 fixed on 2022/03/08 16:11
upstream WARNING in inc_nlink (3) fs C error error 1115 3d11h 830d 0/27 upstream: reported C repro on 2022/03/17 16:37
linux-6.1 WARNING in inc_nlink 81 419d 441d 0/3 auto-obsoleted due to no activity on 2023/07/31 15:23
linux-4.19 WARNING in inc_nlink C done 8 1405d 1554d 1/1 fixed on 2020/09/18 07:23
linux-4.14 WARNING in inc_nlink C done 21 1413d 1555d 1/1 fixed on 2020/09/11 09:49
linux-4.14 WARNING in inc_nlink (2) C 47 491d 1326d 0/1 upstream: reported C repro on 2020/11/06 09:55
upstream WARNING in inc_nlink C done 26 1443d 1546d 15/27 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 (36):
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/05/25 22:11 linux-6.1.y 88690811da69 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/25 18:13 linux-6.1.y 88690811da69 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/25 00:14 linux-6.1.y 4078fa637fcd a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/24 22:15 linux-6.1.y 4078fa637fcd a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/24 14:30 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/24 05:08 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/24 03:43 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/24 03:42 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/23 14:04 linux-6.1.y 4078fa637fcd 4c2072ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/23 12:41 linux-6.1.y 4078fa637fcd 4c2072ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/22 15:47 linux-6.1.y 4078fa637fcd 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/21 21:42 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/18 13:11 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/18 05:54 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/18 05:53 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/18 05:51 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/18 05:51 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/18 03:21 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/17 23:13 linux-6.1.y 4078fa637fcd a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/17 23:01 linux-6.1.y 4078fa637fcd a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/17 22:48 linux-6.1.y 4078fa637fcd a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/15 22:02 linux-6.1.y 909ba1f1b414 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/07 18:23 linux-6.1.y 909ba1f1b414 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/07 18:21 linux-6.1.y 909ba1f1b414 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/03 03:46 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/02 18:54 linux-6.1.y 909ba1f1b414 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/01 02:48 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/01 02:48 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/05/01 02:47 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan 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/05/18 15:10 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 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.