Re: [PATCH v4] driver core: Fix use-after-free and double free on glue directory

From: Greg KH
Date: Tue Jun 18 2019 - 12:18:47 EST


On Wed, Jun 19, 2019 at 12:09:40AM +0800, Muchun Song wrote:
> Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> ä2019å6æ18æåä äå11:29åéï
> >
> > On Tue, Jun 18, 2019 at 09:40:13PM +0800, Muchun Song wrote:
> > > Ping guys ? I think this is worth fixing.
> >
> > That's great (no context here), but I need people to actually agree on
> > what the correct fix should be. I had two different patches that were
> > saying they fixed the same issue, and that feels really wrong.
>
> Another patch:
> Subject: [PATCH v3] drivers: core: Remove glue dirs early only
> when refcount is 1
>
> My first v1 patch:
> Subject: [PATCH] driver core: Fix use-after-free and double free
> on glue directory
>
> The above two patches are almost the same that fix is based on the refcount.
> But why we change the solution from v1 to v4? Some discussion can
> refer to the mail:
>
> Subject: [PATCH] driver core: Fix use-after-free and double free
> on glue directory

Again, I am totally confused and do not see a patch in an email that I
can apply...

Someone needs to get people to agree here...

thanks,

greg k-h