[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 18 Jun 2013 08:33:55 +0800
From: Ming Lei <ming.lei@...onical.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: nirinA raseliarison <nirina.raseliarison@...il.com>,
linux-kernel@...r.kernel.org, Guenter Roeck <linux@...ck-us.net>,
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 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.
Thanks,
--
Ming Lei
--
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