syzbot


WARNING in drop_nlink (2)

Status: upstream: reported C repro on 2020/10/13 17:02
Reported-by: syzbot+651ca866e5e2b4b5095b@syzkaller.appspotmail.com
First crash: 845d, last: 1d10h

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config

Fix bisection: the fix commit could be any of (bisect log):
  583090b1b823 Merge tag 'block5.9-2020-10-08' of git://git.kernel.dk/linux-block
  9e9fb7655ed5 Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in drop_nlink C 8 7d10h 309d 0/1 upstream: reported C repro on 2022/03/30 09:01
linux-4.19 WARNING in drop_nlink fat C error 23 20d 847d 0/1 upstream: reported C repro on 2020/10/08 09:54
upstream WARNING in drop_nlink C done error 1 1016d 1012d 17/24 fixed on 2020/09/16 22:51
Last patch testing requests:
Created Duration User Patch Repo Result
2022/10/03 07:30 26m retest repro upstream report log
2021/04/22 05:18 12m ducheng2@gmail.com patch linux-next report log
2021/04/22 03:42 11m ducheng2@gmail.com patch upstream report log
2021/04/22 03:17 11m ducheng2@gmail.com patch upstream report log
2021/04/20 03:10 22m ducheng2@gmail.com upstream report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5089 at fs/inode.c:330 drop_nlink+0xb9/0x100
Modules linked in:
CPU: 0 PID: 5089 Comm: syz-executor136 Not tainted 6.2.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:drop_nlink+0xb9/0x100 fs/inode.c:330
Code: 49 8b 1e 48 8d bb c0 07 00 00 be 08 00 00 00 e8 1d 66 e9 ff f0 48 ff 83 c0 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 e8 77 bc 93 ff <0f> 0b eb 8a 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 63 ff ff ff 4c
RSP: 0018:ffffc90003dbfc30 EFLAGS: 00010293
RAX: ffffffff81f81ef9 RBX: 1ffff1100e8a374b RCX: ffff888021f20000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81f81e7e R09: fffffbfff1d2ccee
R10: fffffbfff1d2ccee R11: 1ffffffff1d2cced R12: ffff88807451ba58
R13: dffffc0000000000 R14: ffff88807451ba10 R15: dffffc0000000000
FS:  00007fde6f4de700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fde6f4de718 CR3: 000000007b70b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vfat_rmdir+0x2e8/0x490 fs/fat/namei_vfat.c:809
 vfs_rmdir+0x358/0x4b0 fs/namei.c:4121
 do_rmdir+0x37f/0x5f0 fs/namei.c:4182
 __do_sys_unlinkat fs/namei.c:4362 [inline]
 __se_sys_unlinkat fs/namei.c:4356 [inline]
 __x64_sys_unlinkat+0xdc/0xf0 fs/namei.c:4356
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fde7755b4a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 18 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:00007fde6f4de208 EFLAGS: 00000246
 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 000000000000003f RCX: 00007fde7755b4a9
RDX: 0000000000000200 RSI: 00000000200001c0 RDI: 0000000000000004
RBP: 00007fde775d96d0 R08: 00007fde775d96d8 R09: 00007fde775d96d8

Crashes (31):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-fs 2022/12/28 10:10 upstream 1b929c02afd3 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in drop_nlink
ci-upstream-kasan-gce-root 2022/12/19 08:37 upstream f9ff5644bcc0 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in drop_nlink
ci2-upstream-fs 2022/11/30 16:10 upstream 01f856ae6d0c 4c2a66e8 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in drop_nlink
ci-upstream-kasan-gce-root 2022/11/11 18:08 upstream 4bbf3422df78 3ead01ad .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in drop_nlink
ci2-upstream-fs 2022/11/10 10:58 upstream f67dd6ce0723 b2488a87 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in drop_nlink
ci2-upstream-fs 2022/11/01 16:28 upstream b229b6ca5abb a1d8560a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in drop_nlink
ci-qemu-upstream 2022/06/25 07:11 upstream cbe232ab07ab a371c43c .config console log report syz C WARNING in drop_nlink
ci-upstream-gce-arm64 2022/11/29 20:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 05dc7993 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in drop_nlink
ci-upstream-kasan-gce-smack-root 2020/10/09 16:56 upstream 583090b1b823 d81b165e .config console log report syz C
ci2-upstream-fs 2023/02/01 05:55 upstream c0b67534c95c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/31 06:17 upstream 6d796c50f84c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/29 04:36 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/28 18:39 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/28 12:17 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/27 22:58 upstream 83abd4d4c4be 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/26 18:01 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/22 12:44 upstream 2241ab53cbb5 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/20 20:22 upstream d368967cb103 dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/15 21:42 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/15 20:07 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/12 14:09 upstream e8f60cd7db24 96166539 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/09 11:20 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/08 16:57 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/06 18:55 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2023/01/04 07:57 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci-upstream-kasan-gce-root 2023/01/02 20:37 upstream 88603b6dc419 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2022/12/29 18:29 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2022/12/27 15:30 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci-upstream-kasan-gce-root 2022/12/19 01:10 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci2-upstream-fs 2022/11/30 17:33 upstream 01f856ae6d0c 4c2a66e8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in drop_nlink
ci-qemu-upstream-386 2022/12/23 10:02 upstream 8395ae05cb5a 9da18ae8 .config console log report info WARNING in drop_nlink
* Struck through repros no longer work on HEAD.