Messages in this thread | | | Subject | Re: [PATCH 2/7] USB: cdc-acm: fix use-after-free after probe failure | From | Oliver Neukum <> | Date | Mon, 22 Mar 2021 10:39:26 +0100 |
| |
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@vger.kernel.org # 3.9 > Cc: Alexey Khoroshilov <khoroshilov@ispras.ru> > Signed-off-by: Johan Hovold <johan@kernel.org>] Acked-by: Oliver Neukum <oneukum@suse.com>
| |