Re: [PATCH v4] driver core: Fix use-after-free and double free on glue directory
From: Greg KH
Date: Fri May 24 2019 - 15:07:49 EST
On Thu, May 16, 2019 at 10:23:42PM +0800, Muchun Song wrote:
> There is a race condition between removing glue directory and adding a new
> device under the glue directory. It can be reproduced in following test:
<snip>
Is this related to:
Subject: [PATCH v3] drivers: core: Remove glue dirs early only when refcount is 1
?
If so, why is the solution so different?
thanks,
greg k-h