[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190524190443.GB29565@kroah.com>
Date: Fri, 24 May 2019 21:04:43 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Muchun Song <smuchun@...il.com>
Cc: rafael@...nel.org, benh@...nel.crashing.org, prsood@...eaurora.org,
mojha@...eaurora.org, gkohli@...eaurora.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
zhaowuyun@...gtech.com
Subject: Re: [PATCH v4] driver core: Fix use-after-free and double free on
glue directory
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
Powered by blists - more mailing lists