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 <sta...@vger.kernel.org>   # v2.6.31
> 
> Signed-off-by: Johan Hovold <jo...@kernel.org>
> ---
>  drivers/usb/serial/bus.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Nice job with all of these:

Acked-by: Greg Kroah-Hartman <g...@kroah.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to