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: 204d, last: 5d14h

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 101 12d 701d 0/1 upstream: reported C repro on 2020/11/01 15:25
upstream WARNING in inc_nlink (2) C inconclusive done 21 209d 546d 22/24 fixed on 2022/03/08 16:11
linux-4.19 WARNING in inc_nlink C done 8 775d 924d 1/1 fixed on 2020/09/18 07:23
linux-4.14 WARNING in inc_nlink C done 21 783d 925d 1/1 fixed on 2020/09/11 09:49
linux-4.14 WARNING in inc_nlink (2) C 47 14d 696d 0/1 upstream: reported C repro on 2020/11/06 09:55
upstream WARNING in inc_nlink C done 26 813d 916d 17/24 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: 0 PID: 3607 at fs/inode.c:388 inc_nlink+0x144/0x160 fs/inode.c:388
Modules linked in:
CPU: 0 PID: 3607 Comm: syz-executor993 Not tainted 6.0.0-rc6-syzkaller-00309-g1a61b828566f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:inc_nlink+0x144/0x160 fs/inode.c:388
Code: ff 4c 89 e7 e8 1d ed ea ff e9 42 ff ff ff 4c 89 e7 e8 a0 ec ea ff e9 fc fe ff ff 4c 89 e7 e8 93 ec ea ff eb d4 e8 3c 4e 9f ff <0f> 0b e9 6e ff ff ff e8 90 ec ea ff e9 44 ff ff ff e8 86 ec ea ff
RSP: 0018:ffffc90003007ca0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88806b47c618 RCX: 0000000000000000
RDX: ffff88807e3a8000 RSI: ffffffff81dbe9e4 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 000000000000001d R12: ffff88806b47c660
R13: ffff888071b255e0 R14: 1ffff92000600f9c R15: ffff888076e45e00
FS:  0000555555d0f3c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f36309766a8 CR3: 000000007bb5a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 v9fs_vfs_mkdir_dotl+0x5c5/0x900 fs/9p/vfs_inode_dotl.c:444
 vfs_mkdir+0x489/0x740 fs/namei.c:4013
 do_mkdirat+0x28c/0x310 fs/namei.c:4038
 __do_sys_mkdir fs/namei.c:4058 [inline]
 __se_sys_mkdir fs/namei.c:4056 [inline]
 __x64_sys_mkdir+0xf2/0x140 fs/namei.c:4056
 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+0x63/0xcd
RIP: 0033:0x7fd2f80ab819
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:00007ffdcae60a18 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007ffdcae60a28 RCX: 00007fd2f80ab819
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0
RBP: 00007ffdcae60a20 R08: 00007fd2f8069ae0 R09: 00007fd2f8069ae0
R10: 0000000020000340 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (246):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/09/25 09:32 upstream 1a61b828566f 0042f2b4 .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/08/15 08:54 upstream 7ebfc85e2cd7 8dfcaa3d .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/08/15 07:19 upstream 7ebfc85e2cd7 8dfcaa3d .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/08/15 06:47 upstream 7ebfc85e2cd7 8dfcaa3d .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/07/20 15:16 upstream ca85855bdcae 775344bc .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/07/20 14:46 upstream ca85855bdcae 775344bc .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/07/20 14:15 upstream ca85855bdcae 775344bc .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/07/09 14:27 upstream e5524c2a1fc4 b5765a15 .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/06/02 04:39 upstream 8171acb8bc9b b4bc6a3d .config log report syz C WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/06/02 04:18 upstream 8171acb8bc9b b4bc6a3d .config log report syz C WARNING in inc_nlink
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/07/13 21:59 linux-next cb71b93c2dc3 5d921b08 .config log report syz C WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/07/13 21:30 linux-next cb71b93c2dc3 5d921b08 .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/09/28 06:08 upstream 46452d3786a8 75c78242 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/09/23 11:49 upstream bf682942cd26 0042f2b4 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/09/23 10:39 upstream bf682942cd26 0042f2b4 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/09/23 09:26 upstream bf682942cd26 0042f2b4 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/09/22 19:40 upstream dc164f4fb00a 0042f2b4 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/09/22 17:35 upstream dc164f4fb00a 0042f2b4 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/09/22 14:49 upstream dc164f4fb00a 60af5050 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/09/21 22:57 upstream 06f7db949993 60af5050 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/09/21 21:42 upstream 06f7db949993 380f82fb .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/09/21 16:49 upstream 60891ec99e14 380f82fb .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/09/21 14:57 upstream 60891ec99e14 380f82fb .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/09/19 05:51 upstream 38eddeedbbea dd9a85ff .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/09/18 23:53 upstream 38eddeedbbea dd9a85ff .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/09/14 07:06 upstream d1221cea11fc b884348d .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/09/14 04:28 upstream d1221cea11fc b884348d .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/09/14 03:24 upstream d1221cea11fc b884348d .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/09/14 02:16 upstream d1221cea11fc b884348d .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/09/08 09:09 upstream 0066f1b0e275 435aeef7 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/09/04 14:16 upstream 7726d4c3e60b 28811d0a .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/08/28 02:30 upstream e022620b5d05 07177916 .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/08/28 02:15 upstream 89b749d8552d 07177916 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/08/28 02:04 upstream e022620b5d05 07177916 .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/08/20 14:29 upstream 50cd95ac4654 26a13b38 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/08/20 02:42 upstream 4c2d0b039c5c 26a13b38 .config log report info WARNING in inc_nlink
ci-qemu-upstream 2022/08/01 18:49 upstream 3d7cb6b04c3f fef302b1 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-selinux-root 2022/08/01 14:33 upstream 3d7cb6b04c3f fef302b1 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/06/22 01:28 upstream ca1fdab7fd27 0fc5c330 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/05/30 09:24 upstream b00ed48bb0a7 a46af346 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-smack-root 2022/05/28 16:35 upstream 9d004b2f4fea a46af346 .config log report info WARNING in inc_nlink
ci-upstream-kasan-gce-root 2022/05/28 15:16 upstream 9d004b2f4fea a46af346 .config log report info 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-root 2022/03/13 16:34 upstream aad611a868d1 9e8eaa75 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/09/28 04:43 upstream 46452d3786a8 75c78242 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/09/28 04:43 upstream 46452d3786a8 75c78242 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/09/18 23:33 upstream 38eddeedbbea dd9a85ff .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/09/14 01:14 upstream d1221cea11fc b884348d .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/08/20 07:51 upstream 50cd95ac4654 26a13b38 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/08/01 17:28 upstream 3d7cb6b04c3f fef302b1 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/06/22 00:12 upstream ca1fdab7fd27 0fc5c330 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/05/30 14:30 upstream b00ed48bb0a7 a46af346 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/05/30 14:25 upstream b00ed48bb0a7 a46af346 .config log report info WARNING in inc_nlink
ci-qemu-upstream-386 2022/05/28 13:57 upstream 9d004b2f4fea a46af346 .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-upstream-linux-next-kasan-gce-root 2022/09/15 04:43 linux-next e47eb90a0a9a b884348d .config log report info WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/09/14 01:11 linux-next e47eb90a0a9a b884348d .config log report info WARNING in inc_nlink
ci-upstream-linux-next-kasan-gce-root 2022/09/11 20:14 linux-next e47eb90a0a9a 356d8217 .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
* Struck through repros no longer work on HEAD.