Re: [PATCH 2/7] USB: cdc-acm: fix use-after-free after probe failure

From: Oliver Neukum
Date: Mon Mar 22 2021 - 05:40:19 EST


Am Donnerstag, den 18.03.2021, 16:51 +0100 schrieb Johan Hovold:
> If tty-device registration fails the driver would fail to release the
> data interface. When the device is later disconnected, the disconnect
> callback would still be called for the data interface and would go about
> releasing already freed resources.
>
> Fixes: c93d81955005 ("usb: cdc-acm: fix error handling in acm_probe()")
> Cc: stable@xxxxxxxxxxxxxxx # 3.9
> Cc: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>]
Acked-by: Oliver Neukum <oneukum@xxxxxxxx>