Re: [PATCH] firmware loader: fix use-after-free by double abort

From: Greg Kroah-Hartman
Date: Mon Jun 17 2013 - 19:59:21 EST

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:
> Reported-and-tested-by: nirinA raseliarison <nirina.raseliarison@xxxxxxxxx>
> Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
> Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> Cc: stable <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxxxxx>

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


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at