Re: [syzbot] WARNING: refcount bug in sys_memfd_secret

From: syzbot
Date: Wed Nov 24 2021 - 08:52:03 EST


syzbot suspects this issue was fixed by commit:

commit 87066fdd2e30fe9dd531125d95257c118a74617e
Author: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Sun Oct 24 19:48:33 2021 +0000

Revert "mm/secretmem: use refcount_t instead of atomic_t"

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11cccf06b00000
start commit: 9c0c4d24ac00 Merge tag 'block-5.15-2021-10-22' of git://gi..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=be398dd7862f4b36
dashboard link: https://syzkaller.appspot.com/bug?extid=b904a1de3ec43711eba5
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=130cabdcb00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=175b91acb00000

If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: Revert "mm/secretmem: use refcount_t instead of atomic_t"

For information about bisection process see: https://goo.gl/tpsmEJ#bisection