[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130618040547.GB12181@roeck-us.net>
Date: Mon, 17 Jun 2013 21:05:47 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Ming Lei <ming.lei@...onical.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
nirinA raseliarison <nirina.raseliarison@...il.com>,
linux-kernel@...r.kernel.org, Bjorn Helgaas <bhelgaas@...gle.com>,
stable <stable@...r.kernel.org>
Subject: Re: [PATCH] firmware loader: fix use-after-free by double abort
On Tue, Jun 18, 2013 at 08:33:55AM +0800, Ming Lei wrote:
> On Tue, Jun 18, 2013 at 7:59 AM, Greg Kroah-Hartman
> <gregkh@...uxfoundation.org> wrote:
> > 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@...il.com>
> >> Cc: Guenter Roeck <linux@...ck-us.net>
> >> Cc: Bjorn Helgaas <bhelgaas@...gle.com>
> >> Cc: stable <stable@...r.kernel.org>
> >> Signed-off-by: Ming Lei <ming.lei@...onical.com>
> >
> > So this is a 3.9-stable thing? Anything newer than that?
>
> Yes, only 3.9-stable need this.
>
I may be missing something, but why would mainline not need it ?
Or do you mean "mainline plus 3.9" ?
Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists