Re: [syzbot] KASAN: use-after-free Read in __kernfs_remove

From: syzbot
Date: Fri Aug 26 2022 - 20:43:17 EST


Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: syzbot+8bee3285b9e190f1509e@xxxxxxxxxxxxxxxxxxxxxxxxx

Tested on:

commit: 68a00424 Add linux-next specific files for 20220824
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
console output: https://syzkaller.appspot.com/x/log.txt?x=14297dad080000
kernel config: https://syzkaller.appspot.com/x/.config?x=591008a24ae652d0
dashboard link: https://syzkaller.appspot.com/bug?extid=8bee3285b9e190f1509e
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
patch: https://syzkaller.appspot.com/x/patch.diff?x=13cc5157080000

Note: testing is done by a robot and is best-effort only.