From: Greg KH <gregkh@linuxfoundation.org>
To: Prateek Sood <prsood@codeaurora.org>
Cc: rafael@kernel.org, sramana@codeaurora.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] drivers: core: Remove glue dirs early only when refcount is 1
Date: Fri, 24 May 2019 21:04:09 +0200 [thread overview]
Message-ID: <20190524190409.GA29565@kroah.com> (raw)
In-Reply-To: <1556711999-16898-1-git-send-email-prsood@codeaurora.org>
On Wed, May 01, 2019 at 05:29:59PM +0530, Prateek Sood wrote:
> While loading firmware blobs parallely in different threads, it is possible
> to free sysfs node of glue_dirs in device_del() from a thread while another
> thread is trying to add subdir from device_add() in glue_dirs sysfs node.
<snip>
Is this the same fix that:
Subject: [PATCH v4] driver core: Fix use-after-free and double free on glue directory
is also trying to fix?
Why is it doing so in such a different way?
thanks,
greg k-h
prev parent reply other threads:[~2019-05-24 19:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-30 13:55 [PATCH] drivers: core: Remove glue dirs early only when refcount is 1 Prateek Sood
2019-05-01 4:22 ` [PATCH V2] " Prateek Sood
2019-05-01 6:53 ` Greg KH
2019-05-01 11:59 ` [PATCH v3] " Prateek Sood
2019-05-06 5:11 ` Prateek Sood
2019-05-06 6:21 ` Greg KH
2019-05-24 19:04 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190524190409.GA29565@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=prsood@codeaurora.org \
--cc=rafael@kernel.org \
--cc=sramana@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox