syzbot


WARNING: refcount bug in kobject_add_internal
Status: upstream: reported C repro on 2019/07/01 19:47
Reported-by: syzbot+32259bb9bc1a487ad206@syzkaller.appspotmail.com
First crash: 476d, last: 217d

Cause bisection: introduced by (bisect log):

commit 726e41097920a73e4c7c33385dcc0debb1281e18
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Tue Jul 10 00:29:10 2018 +0000

  drivers: core: Remove glue dirs from sysfs earlier

Crash: WARNING: refcount bug in kobject_get (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log):

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

  locking/lockdep: Reuse freed chain_hlocks entries


Sample crash report:

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Maintainers
ci-upstream-kasan-gce-smack-root 2019/07/01 18:37 upstream 6fbc7275 907bf746 .config log report syz C gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, rafael@kernel.org