Messages in this thread | | | Date | Tue, 18 Jun 2013 08:33:55 +0800 | Subject | Re: [PATCH] firmware loader: fix use-after-free by double abort | From | Ming Lei <> |
| |
On Tue, Jun 18, 2013 at 7:59 AM, Greg Kroah-Hartman <gregkh@linuxfoundation.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@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?
Yes, only 3.9-stable need this.
Thanks, -- Ming Lei
| |