syzbot


WARNING in inc_nlink (2)

Status: upstream: reported C repro on 2023/12/28 21:17
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+9e9d439464190b89a70c@syzkaller.appspotmail.com
First crash: 397d, last: 13h22m
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/12/27 linux-6.1.y (ToT) 563edd786f0a C [report] WARNING in inc_nlink
2023/12/29 upstream (ToT) 8735c7c84d1b C [report] WARNING in inc_nlink
2024/12/27 upstream (ToT) d6ef8b40d075 C Didn't crash
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 793d 1549d 0/1 upstream: reported C repro on 2020/11/01 15:25
linux-5.15 WARNING in inc_nlink origin:lts-only C done 269 12h24m 680d 0/3 upstream: reported C repro on 2023/03/20 05:26
upstream WARNING in inc_nlink (2) fs C inconclusive done 21 1057d 1394d 20/28 fixed on 2022/03/08 16:11
upstream WARNING in inc_nlink (3) fs C error error 4944 1h13m 1048d 0/28 upstream: reported C repro on 2022/03/17 16:37
linux-6.1 WARNING in inc_nlink 81 637d 659d 0/3 auto-obsoleted due to no activity on 2023/07/31 15:23
linux-4.19 WARNING in inc_nlink C done 8 1623d 1772d 1/1 fixed on 2020/09/18 07:23
linux-4.14 WARNING in inc_nlink C done 21 1631d 1773d 1/1 fixed on 2020/09/11 09:49
linux-4.14 WARNING in inc_nlink (2) C 47 709d 1544d 0/1 upstream: reported C repro on 2020/11/06 09:55
upstream WARNING in inc_nlink C done 26 1661d 1764d 15/28 fixed on 2020/09/16 22:51
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/08/14 23:18 2m bisect fix linux-6.1.y error job log
2024/07/05 01:13 1h28m bisect fix linux-6.1.y OK (0) job log log
2024/03/20 09:43 1h03m bisect fix linux-6.1.y OK (0) job log log
2024/02/01 03:08 1h06m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
VFS: Found a Xenix FS (block size = 1024) on device loop0
syz-executor147: attempt to access beyond end of device
loop0: rw=0, sector=6491536, nr_sectors = 2 limit=128
Buffer I/O error on dev loop0, logical block 3245768, async page read
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4244 at fs/inode.c:389 inc_nlink+0x120/0x130
Modules linked in:
CPU: 1 PID: 4244 Comm: syz-executor147 Not tainted 6.1.114-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:inc_nlink+0x120/0x130 fs/inode.c:389
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 6a 04 ea ff e9 3c ff ff ff e8 c0 82 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:ffffc90003b5fd40 EFLAGS: 00010293
RAX: ffffffff81f810a0 RBX: 1ffff1100dc03810 RCX: ffff88802f8e5940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81f8101a R09: ffffed1002fc2b57
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88806e01c080 R14: ffff88806e01c038 R15: 0000000000000000
FS:  0000555587d8b380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557c00f00368 CR3: 0000000073b61000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inode_inc_link_count include/linux/fs.h:2576 [inline]
 sysv_mkdir+0x1d/0x120 fs/sysv/namei.c:119
 vfs_mkdir+0x3b6/0x590 fs/namei.c:4106
 do_mkdirat+0x225/0x360 fs/namei.c:4131
 __do_sys_mkdir fs/namei.c:4151 [inline]
 __se_sys_mkdir fs/namei.c:4149 [inline]
 __x64_sys_mkdir+0x6a/0x80 fs/namei.c:4149
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ff05c3ba639
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 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:00007ffe41316a28 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007ffe41316c08 RCX: 00007ff05c3ba639
RDX: 00007ff05c3b9930 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 00007ff05c437610 R08: 0000000000009e89 R09: 0000000000000000
R10: 00007ffe413168f0 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffe41316bf8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (186):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/28 03:25 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in inc_nlink
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
2025/01/26 05:12 linux-6.1.y 75cefdf153f5 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/26 04:44 linux-6.1.y 75cefdf153f5 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/20 00:37 linux-6.1.y f4f677285b38 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/17 20:46 linux-6.1.y 60ceadf9247e 953d1c45 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/13 07:57 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/11 03:39 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/10 14:54 linux-6.1.y c63962be84ef 67d7ec0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/07 16:23 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/06 14:37 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/04 22:01 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2025/01/01 12:49 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/31 01:46 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/30 18:16 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/30 14:40 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/26 08:55 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/26 04:28 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/23 15:28 linux-6.1.y 29f02ec58a94 b4fbdbd4 .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
2025/01/28 09:44 linux-6.1.y 75cefdf153f5 18070896 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/27 05:46 linux-6.1.y 75cefdf153f5 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/26 23:19 linux-6.1.y 75cefdf153f5 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/25 17:17 linux-6.1.y 75cefdf153f5 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/24 13:17 linux-6.1.y 75cefdf153f5 521b0ce3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/20 05:57 linux-6.1.y f4f677285b38 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/19 22:01 linux-6.1.y f4f677285b38 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/17 01:34 linux-6.1.y c63962be84ef f9e07a6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/12 18:29 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/12 11:50 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/12 02:15 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/11 17:08 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/11 03:32 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/08 22:21 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/08 17:08 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/08 03:49 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/07 18:59 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/07 05:40 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/06 21:06 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/06 14:37 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/03 12:42 linux-6.1.y 7dc732d24ff7 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2025/01/01 08:21 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/28 20:25 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/25 19:57 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/25 17:42 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/25 09:25 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/25 00:29 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/24 13:00 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/23 16:54 linux-6.1.y 29f02ec58a94 b4fbdbd4 .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.