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

2021-03-22 Thread Oliver Neukum
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 alr

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

2021-03-18 Thread 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 hand