Files
linux/drivers
Johan Hovold 9fd948c1b7 USB: serial: fix potential use-after-free after failed probe
commit 07fdfc5e9f upstream.

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: c706ebdfc8 ("USB: usb-serial: call port_probe and port_remove
at the right times")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-18 13:22:31 +01:00
..
2013-12-08 07:29:25 -08:00
2015-02-26 17:48:49 -08:00
2014-03-06 21:30:14 -08:00
2014-04-14 06:42:18 -07:00
2015-01-29 17:40:55 -08:00