syzbot


WARNING: refcount bug in memfd_secret
Status: closed as dup on 2021/10/25 06:37
Reported-by: syzbot+75639e6a0331cd61d3e2@syzkaller.appspotmail.com
Fix commit: 87066fdd2e30 Revert "mm/secretmem: use refcount_t instead of atomic_t"
First crash: 88d, last: 86d

Cause bisection: introduced by (bisect log) :
commit 110860541f443f950c1274f217a1a3e298670a33
Author: Jordy Zomer <jordy@jordyzomer.github.io>
Date: Wed Sep 8 02:56:18 2021 +0000

  mm/secretmem: use refcount_t instead of atomic_t

Crash: WARNING: refcount bug in sys_memfd_secret (log)
Repro: C syz .config
Duplicate of (1):
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING: refcount bug in sys_memfd_secret C done done 4217 86d 89d

Sample crash report:

Crashes (851):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/10/23 18:29 upstream 9c0c4d24ac00 282f03fb .config log report syz C WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/23 13:38 upstream 9c0c4d24ac00 282f03fb .config log report syz C WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/25 03:28 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/25 03:16 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/25 02:06 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/25 00:39 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 23:36 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 22:56 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 22:30 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 22:01 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 21:38 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 21:19 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 21:00 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 21:00 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 19:41 upstream 6c62666d8879 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 16:56 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 16:01 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 15:40 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 14:33 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 14:30 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 13:27 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 12:26 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 11:36 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 10:49 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 09:51 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 09:10 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 08:19 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 08:18 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 07:17 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 06:38 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 05:57 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 05:11 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 04:26 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 03:42 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 03:42 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 02:41 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 02:09 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 01:40 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 00:56 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 00:04 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/24 00:03 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/23 23:02 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/23 22:01 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/23 21:23 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret
ci-upstream-kasan-gce-smack-root 2021/10/23 10:34 upstream 9c0c4d24ac00 282f03fb .config log report info WARNING: refcount bug in memfd_secret