Re: KASAN: use-after-free Read in cdev_del

2021-04-06 Thread Hao Sun
> Happy to do it once Hao will echo confirming it works for him. It looks like the patch solved the problem, nice! Here's what I did. First, I compiled the kernel (5e46d1b7) with the attached configuration, then I ran the reproducing program (repro.cprog) and the same vulnerability was triggered,

Re: KASAN: use-after-free Read in cdev_del

2021-04-05 Thread Greg KH
On Sun, Apr 04, 2021 at 08:39:34PM +0800, Hillf Danton wrote: > On Sun, 4 Apr 2021 17:05:17 Hao Sun wrote: > > Besides, the 'refcount bug in cdev_del' bug still exists too. > > Thanks for your report, Hao. > > > > Here is the detailed information: > > commit: