Re: WARNING: refcount bug in kobject_add_internal

From: syzbot
Date: Thu Apr 16 2020 - 02:25:16 EST


syzbot suspects this bug was fixed by commit:

commit 810507fe6fd5ff3de429121adff49523fabb643a
Author: Waiman Long <longman@xxxxxxxxxx>
Date: Thu Feb 6 15:24:08 2020 +0000

locking/lockdep: Reuse freed chain_hlocks entries

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1127249be00000
start commit: 6fbc7275 Linux 5.2-rc7
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=bff6583efcfaed3f
dashboard link: https://syzkaller.appspot.com/bug?extid=32259bb9bc1a487ad206
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=115bad39a00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1241bdd5a00000

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

#syz fix: locking/lockdep: Reuse freed chain_hlocks entries

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