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: 363d, last: 1h34m
Fix bisection: failed (error log, bisect log)
  
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 760d 1515d 0/1 upstream: reported C repro on 2020/11/01 15:25
linux-5.15 WARNING in inc_nlink origin:lts-only C done 162 2h33m 647d 0/3 upstream: reported C repro on 2023/03/20 05:26
upstream WARNING in inc_nlink (2) fs C inconclusive done 21 1024d 1361d 20/28 fixed on 2022/03/08 16:11
upstream WARNING in inc_nlink (3) fs C error error 3504 13m 1014d 0/28 upstream: reported C repro on 2022/03/17 16:37
linux-6.1 WARNING in inc_nlink 81 603d 626d 0/3 auto-obsoleted due to no activity on 2023/07/31 15:23
linux-4.19 WARNING in inc_nlink C done 8 1590d 1739d 1/1 fixed on 2020/09/18 07:23
linux-4.14 WARNING in inc_nlink C done 21 1597d 1740d 1/1 fixed on 2020/09/11 09:49
linux-4.14 WARNING in inc_nlink (2) C 47 675d 1511d 0/1 upstream: reported C repro on 2020/11/06 09:55
upstream WARNING in inc_nlink C done 26 1627d 1730d 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 (126):
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
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
2024/12/23 12:48 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
2024/12/23 03:25 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
2024/12/21 12:31 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/20 14:17 linux-6.1.y 29f02ec58a94 0f61b415 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/20 05:02 linux-6.1.y 29f02ec58a94 5905cb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/19 16:06 linux-6.1.y 52f863f820fd 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/19 13:58 linux-6.1.y 52f863f820fd 1432fc84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/18 03:24 linux-6.1.y 52f863f820fd a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/08 21:34 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/07 04:20 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/05 19:34 linux-6.1.y e4d90d63d385 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/04 08:53 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/04 06:09 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/04 06:08 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/12/02 03:06 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/11/29 00:17 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/11/28 18:41 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/11/24 15:10 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/11/22 15:08 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/11/20 22:27 linux-6.1.y b67dc5c9ade9 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/11/09 22:56 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in inc_nlink
2024/11/03 06:05 linux-6.1.y 7c15117f9468 f00eed24 .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/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
2024/12/22 22:15 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
2024/12/17 17:09 linux-6.1.y 52f863f820fd f93b2b55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/13 05:32 linux-6.1.y e4d90d63d385 530e80f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/07 21:13 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/06 00:33 linux-6.1.y e4d90d63d385 29f61fce .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/12/04 16:25 linux-6.1.y e4d90d63d385 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/11/30 19:56 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/11/28 13:15 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/11/28 10:39 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/11/21 21:01 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/11/19 07:58 linux-6.1.y b67dc5c9ade9 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/11/14 01:48 linux-6.1.y d7039b844a1c bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/11/10 20:25 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/11/10 02:51 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inc_nlink
2024/11/09 16:49 linux-6.1.y d7039b844a1c 6b856513 .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.