syzbot


WARNING in inc_nlink

Status: upstream: reported C repro on 2023/03/20 05:26
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+642f43b47421d18b19dc@syzkaller.appspotmail.com
First crash: 895d, last: 5h13m
Fix commit to backport (bisect log) :
tree: upstream
commit 97f044f690bac2b094bfb7fb2d177ef946c85880
Author: Miklos Szeredi <mszeredi@redhat.com>
Date: Fri Oct 22 15:03:02 2021 +0000

  fuse: don't increment nlink in link()

  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in inc_nlink (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/14 linux-5.15.y (ToT) b0ece631f84a C [report] WARNING in inc_nlink
2023/05/13 upstream (ToT) d4d58949a6ea C Didn't crash
Similar bugs (10)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 WARNING in inc_nlink origin:lts-only -1 C 15 24d 71d 0/2 upstream: reported C repro on 2025/06/21 08:35
linux-4.19 WARNING in inc_nlink (2) -1 C error 102 1008d 1764d 0/1 upstream: reported C repro on 2020/11/01 15:25
upstream WARNING in inc_nlink (2) fs -1 C inconclusive done 21 1272d 1609d 20/29 fixed on 2022/03/08 16:11
upstream WARNING in inc_nlink (3) fs -1 C error error 6870 11d 1262d 0/29 upstream: reported C repro on 2022/03/17 16:37
linux-6.1 WARNING in inc_nlink -1 81 852d 874d 0/3 auto-obsoleted due to no activity on 2023/07/31 15:23
linux-4.19 WARNING in inc_nlink -1 C done 8 1838d 1987d 1/1 fixed on 2020/09/18 07:23
linux-4.14 WARNING in inc_nlink -1 C done 21 1846d 1988d 1/1 fixed on 2020/09/11 09:49
linux-4.14 WARNING in inc_nlink (2) -1 C 47 924d 1759d 0/1 upstream: reported C repro on 2020/11/06 09:55
upstream WARNING in inc_nlink -1 C done 26 1875d 1978d 15/29 fixed on 2020/09/16 22:51
linux-6.1 WARNING in inc_nlink (2) origin:upstream missing-backport -1 C done 396 5m 611d 0/3 upstream: reported C repro on 2023/12/28 21:17
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2023/12/06 06:14 4h29m fix candidate upstream OK (1) job log
2023/11/30 14:32 2h14m bisect fix linux-5.15.y OK (0) job log log
2023/10/30 05:59 1h16m bisect fix linux-5.15.y OK (0) job log log
2023/09/28 07:46 49m bisect fix linux-5.15.y OK (0) job log log
2023/07/26 19:45 1h39m bisect fix linux-5.15.y OK (0) job log log
2023/06/13 07:26 31m bisect fix linux-5.15.y OK (0) job log log
2023/04/19 09:00 34m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4315 at fs/inode.c:389 inc_nlink+0x11d/0x130 fs/inode.c:389
Modules linked in:
CPU: 0 PID: 4315 Comm: syz.0.17 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:inc_nlink+0x11d/0x130 fs/inode.c:389
Code: 0c ef ff e9 3a ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 4c ff ff ff 48 89 df e8 ad 0c ef ff e9 3f ff ff ff e8 73 a9 aa ff <0f> 0b eb 82 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 57 41
RSP: 0018:ffffc9000309fc28 EFLAGS: 00010293
RAX: ffffffff81cd1aad RBX: ffff888070b00190 RCX: ffff888029b65940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed100e160106
R10: ffffed100e160106 R11: 1ffff1100e160105 R12: dffffc0000000000
R13: 1ffff1100e160032 R14: ffff888070b00148 R15: 0000000000000000
FS:  000055558ac53500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001100 CR3: 0000000029c1e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 v9fs_vfs_mkdir_dotl+0x52c/0x640 fs/9p/vfs_inode_dotl.c:458
 vfs_mkdir+0x387/0x570 fs/namei.c:4065
 do_mkdirat+0x1d7/0x5a0 fs/namei.c:4090
 __do_sys_mkdir fs/namei.c:4110 [inline]
 __se_sys_mkdir fs/namei.c:4108 [inline]
 __x64_sys_mkdir+0x6a/0x80 fs/namei.c:4108
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fd0c8ad4be9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd39a107c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007fd0c8cfbfa0 RCX: 00007fd0c8ad4be9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000004c0
RBP: 00007fd0c8b57e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd0c8cfbfa0 R14: 00007fd0c8cfbfa0 R15: 0000000000000002
 </TASK>

Crashes (712):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/28 01:29 linux-5.15.y c79648372d02 e12e5ba4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/05/16 13:58 linux-5.15.y 3b8db0e4f263 cfde8269 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in inc_nlink
2024/11/21 18:36 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in inc_nlink
2024/05/12 02:59 linux-5.15.y 284087d4f7d5 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in inc_nlink
2023/05/08 08:00 linux-5.15.y 8a7f2a5c5aa1 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/03/02 07:32 linux-5.15.y c16c81c81336 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2024/08/11 19:06 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2024/07/14 10:38 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2023/03/20 05:50 linux-5.15.y 8020ae3c051d 7939252e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/31 10:22 linux-5.15.y 01879f56bdde 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/29 07:33 linux-5.15.y 01879f56bdde d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/29 04:18 linux-5.15.y 01879f56bdde d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/28 00:35 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/21 11:37 linux-5.15.y c79648372d02 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/17 22:48 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/14 03:16 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/13 01:09 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/06 20:04 linux-5.15.y c79648372d02 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/04 15:44 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/04 10:21 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/31 07:25 linux-5.15.y c79648372d02 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/30 17:22 linux-5.15.y c79648372d02 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/30 15:55 linux-5.15.y c79648372d02 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/29 00:00 linux-5.15.y c79648372d02 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/28 21:41 linux-5.15.y c79648372d02 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/26 02:32 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/22 07:31 linux-5.15.y c79648372d02 1555463b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/21 17:13 linux-5.15.y c79648372d02 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/21 09:51 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/20 22:37 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/20 21:10 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/19 14:41 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/17 22:29 linux-5.15.y 89950c454265 0d1223f1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/17 18:25 linux-5.15.y 89950c454265 0d1223f1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/16 18:30 linux-5.15.y 89950c454265 124ec9cc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/15 02:26 linux-5.15.y 89950c454265 d8fc7335 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/13 08:23 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/13 07:09 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/12 12:01 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/12 12:01 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/07/11 18:30 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
2025/08/22 10:43 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/08/18 02:58 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/27 14:45 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/27 06:07 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/26 19:09 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/23 18:23 linux-5.15.y c79648372d02 e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/21 21:57 linux-5.15.y c79648372d02 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/21 19:56 linux-5.15.y c79648372d02 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/20 00:10 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/19 02:50 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/16 01:13 linux-5.15.y 89950c454265 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/15 22:03 linux-5.15.y 89950c454265 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/14 09:11 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/13 03:16 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/12 21:11 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/11 21:28 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/10 02:01 linux-5.15.y 3dea0e7f549e f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2025/07/08 10:25 linux-5.15.y 3dea0e7f549e 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in inc_nlink
2023/03/20 05:26 linux-5.15.y 8020ae3c051d 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inc_nlink
* Struck through repros no longer work on HEAD.