public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Ming Lei <ming.lei@canonical.com>
Cc: nirinA raseliarison <nirina.raseliarison@gmail.com>,
	linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>,
	Bjorn Helgaas <bhelgaas@google.com>,
	stable <stable@vger.kernel.org>
Subject: Re: [PATCH] firmware loader: fix use-after-free by double abort
Date: Mon, 17 Jun 2013 16:59:15 -0700	[thread overview]
Message-ID: <20130617235915.GA19162@kroah.com> (raw)
In-Reply-To: <1371285398-18566-1-git-send-email-ming.lei@canonical.com>

On Sat, Jun 15, 2013 at 04:36:38PM +0800, Ming Lei wrote:
> fw_priv->buf is accessed in both request_firmware_load() and
> writing to sysfs file of 'loading' context, but not protected
> by 'fw_lock' entirely. The patch makes sure that access on
> 'fw_priv->buf' is protected by the lock.
> 
> So fixes the double abort problem reported by nirinA raseliarison:
> 
> 	http://lkml.org/lkml/2013/6/14/188
> 
> Reported-and-tested-by: nirinA raseliarison <nirina.raseliarison@gmail.com>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Cc: stable <stable@vger.kernel.org>
> Signed-off-by: Ming Lei <ming.lei@canonical.com>

So this is a 3.9-stable thing?  Anything newer than that?

thanks,

greg k-h

  reply	other threads:[~2013-06-17 23:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-15  8:36 [PATCH] firmware loader: fix use-after-free by double abort Ming Lei
2013-06-17 23:59 ` Greg Kroah-Hartman [this message]
2013-06-18  0:33   ` Ming Lei
2013-06-18  4:05     ` Guenter Roeck
2013-06-18  4:13       ` Ming Lei

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=20130617235915.GA19162@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=bhelgaas@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=ming.lei@canonical.com \
    --cc=nirina.raseliarison@gmail.com \
    --cc=stable@vger.kernel.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