Re: general protection fault in kernfs_add_one

From: syzbot
Date: Tue Nov 19 2019 - 01:27:03 EST


syzbot has bisected this bug to:

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

drivers: core: Remove glue dirs from sysfs earlier

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=168e1012e00000
start commit: 5e335542 Merge branch 'for-linus' of git://git.kernel.org/..
git tree: upstream
final crash: https://syzkaller.appspot.com/x/report.txt?x=158e1012e00000
console output: https://syzkaller.appspot.com/x/log.txt?x=118e1012e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9917ff4b798e1a1e
dashboard link: https://syzkaller.appspot.com/bug?extid=db1637662f412ac0d556
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10a66c11400000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1346c771400000

Reported-by: syzbot+db1637662f412ac0d556@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: 726e41097920 ("drivers: core: Remove glue dirs from sysfs earlier")

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