syzbot


WARNING in inc_nlink (3)
Status: upstream: reported C repro on 2022/03/17 16:37
Reported-by: syzbot+2b3af42c0644df1e4da9@syzkaller.appspotmail.com
First crash: 75d, last: 2d01h

Cause bisection: failed (bisect log)
similar bugs (6):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in inc_nlink (2) C error 87 4h49m 572d 0/1 upstream: reported C repro on 2020/11/01 15:25
upstream WARNING in inc_nlink (2) C inconclusive done 21 80d 417d 22/22 fixed on 2022/03/08 16:11
linux-4.19 WARNING in inc_nlink C done 8 646d 795d 1/1 fixed on 2020/09/18 07:23
linux-4.14 WARNING in inc_nlink C done 21 654d 796d 1/1 fixed on 2020/09/11 09:49
linux-4.14 WARNING in inc_nlink (2) C 47 5d10h 567d 0/1 upstream: reported C repro on 2020/11/06 09:55
upstream WARNING in inc_nlink C done 26 683d 787d 17/22 fixed on 2020/09/16 22:51
Patch testing requests:
Created Duration User Patch Repo Result
2022/03/18 15:10 14m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ aad611a868d1 OK
2022/03/18 13:43 22m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ aad611a868d1 error

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 3 PID: 3671 at fs/inode.c:388 inc_nlink+0x144/0x160 fs/inode.c:388
Modules linked in:
CPU: 3 PID: 3671 Comm: syz-executor254 Not tainted 5.17.0-rc7-syzkaller-00235-gaad611a868d1 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:inc_nlink+0x144/0x160 fs/inode.c:388
Code: ff 4c 89 e7 e8 0d 97 ec ff e9 42 ff ff ff 4c 89 e7 e8 90 96 ec ff e9 fc fe ff ff 4c 89 e7 e8 83 96 ec ff eb d4 e8 9c b0 a5 ff <0f> 0b e9 6e ff ff ff e8 80 96 ec ff e9 44 ff ff ff e8 76 96 ec ff
RSP: 0018:ffffc900027cfcc0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff8880266e06c0 RCX: 0000000000000000
RDX: ffff888022f24100 RSI: ffffffff81d244f4 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff8880266e0183
R10: ffffffff81d24460 R11: 000000000000001d R12: ffff8880266e0708
R13: ffff888026531d78 R14: ffff8880266e00f8 R15: ffff88801d309c00
FS:  00005555565363c0(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564785040878 CR3: 000000001626c000 CR4: 0000000000150ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 v9fs_vfs_mkdir_dotl+0x478/0x770 fs/9p/vfs_inode_dotl.c:454
 vfs_mkdir+0x1c3/0x3b0 fs/namei.c:3933
 do_mkdirat+0x285/0x300 fs/namei.c:3959
 __do_sys_mkdir fs/namei.c:3979 [inline]
 __se_sys_mkdir fs/namei.c:3977 [inline]
 __x64_sys_mkdir+0xf2/0x140 fs/namei.c:3977
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5da8ba5829
Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd6deb21e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007ffd6deb21f8 RCX: 00007f5da8ba5829
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0
RBP: 00007ffd6deb21f0 R08: 00007f5da8b63af0 R09: 00007f5da8b63af0
R10: 0000000020000340 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (101):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu-upstream 2022/03/13 16:56 upstream aad611a868d1 9e8eaa75 .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/03/13 16:54 upstream aad611a868d1 9e8eaa75 .config log report syz C WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/03/13 17:07 linux-next 91265a6da44d 9e8eaa75 .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/05/25 18:03 upstream fdaf9a5840ac 647c0e27 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/05/09 17:43 upstream c5eb0a61238d 8b277b8e .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/05/09 12:42 upstream c5eb0a61238d 8b277b8e .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/05/09 11:12 upstream c5eb0a61238d 8b277b8e .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/05/06 15:54 upstream fe27d189e3f4 e60b1103 .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/05/01 02:41 upstream 57ae8a492116 2df221f6 .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/05/01 01:24 upstream 57ae8a492116 2df221f6 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/04/27 02:32 upstream cf424ef014ac 1fa34c1b .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/04/22 12:02 upstream d569e86915b7 2738b391 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/04/22 10:21 upstream 59f0c2447e25 2738b391 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/04/14 12:24 upstream a19944809fe9 b17b2923 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/04/13 14:26 upstream a19944809fe9 faabdb86 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/04/09 01:33 upstream 1831fed55973 15be3cba .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/04/09 01:23 upstream 1831fed55973 15be3cba .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/04/09 01:23 upstream d00c50b35101 15be3cba .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/04/09 01:22 upstream 1831fed55973 15be3cba .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/04/08 19:34 upstream 1831fed55973 15be3cba .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/04/08 19:34 upstream 1831fed55973 15be3cba .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/04/08 18:32 upstream 1831fed55973 15be3cba .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/04/08 18:32 upstream 1831fed55973 15be3cba .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/04/08 12:51 upstream 1831fed55973 c6ff3e05 .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/04/08 12:49 upstream 1831fed55973 c6ff3e05 .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/03/29 20:59 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/03/29 20:55 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/03/29 20:37 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/03/29 18:59 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/03/29 18:24 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/03/29 18:24 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/03/29 15:11 upstream cffb2b72d3ed 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/03/29 15:04 upstream cffb2b72d3ed 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/03/29 15:01 upstream cffb2b72d3ed 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/03/29 15:01 upstream cffb2b72d3ed 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/03/13 16:34 upstream aad611a868d1 9e8eaa75 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/05/25 17:48 upstream fdaf9a5840ac 3037caa9 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/05/06 13:15 upstream fe27d189e3f4 e60b1103 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/05/06 12:02 upstream fe27d189e3f4 e60b1103 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/04/30 23:17 upstream 57ae8a492116 2df221f6 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/04/27 02:37 upstream cf424ef014ac 1fa34c1b .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/04/09 01:22 upstream 1831fed55973 15be3cba .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/03/29 18:37 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/03/29 18:37 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/03/29 18:10 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/05/18 06:26 linux-next 3f7bdc402fb0 744a39e2 .config log report info WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/05/09 14:32 linux-next 38a288f5941e 8b277b8e .config log report info WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/04/13 14:16 linux-next c97e430ab553 faabdb86 .config log report info WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/04/09 01:22 linux-next ff511c1c68a5 15be3cba .config log report info WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/03/29 15:39 linux-next c2528a0cdebd 6bdac766 .config log report info WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/03/29 15:07 linux-next c2528a0cdebd 6bdac766 .config log report info WARNING in inc_nlink