Re: [syzbot] [kernel?] KASAN: slab-use-after-free Read in class_register
From: syzbot
Date: Sat Apr 01 2023 - 05:33:16 EST
Hello,
syzbot has tested the proposed patch and the reproducer did not trigger any issue:
Reported-and-tested-by: syzbot+41d665317c811d4d88aa@xxxxxxxxxxxxxxxxxxxxxxxxx
Tested on:
commit: 980c0561 driver core: make sysfs_dev_char_kobj static
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ driver-core-next
console output: https://syzkaller.appspot.com/x/log.txt?x=1188bdd1c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=495034798c39316a
dashboard link: https://syzkaller.appspot.com/bug?extid=41d665317c811d4d88aa
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=115da421c80000
Note: testing is done by a robot and is best-effort only.