On Wed, Feb 18, 2015 at 10:34:50AM +0700, Johan Hovold wrote:
> Fix return value in probe error path, which could end up returning
> success (0) on errors. This could in turn lead to use-after-free or
> double free (e.g. in port_remove) when the port device is removed.
>
> Fixes: c706ebdfc895 ("USB: usb-serial: call port_probe and port_remove
> at the right times")
> Cc: stable <[email protected]> # v2.6.31
>
> Signed-off-by: Johan Hovold <[email protected]>
> ---
> drivers/usb/serial/bus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Nice job with all of these:
Acked-by: Greg Kroah-Hartman <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html