mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 12:41:55 +00:00
6286d85e8e
Prevents dereferencing an invalid struct usb_interface pointer. Always delete entry from device list whether or not the rest of the device state cleanup is postponed. The device list uses desc->intf as key, and wdm_open will dereference this key while searching for a matching device. A device should not appear in the list unless probe() has succeeded and disconnect() has not finished. Cc: Oliver Neukum <oliver@neukum.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
cdc-acm.c | ||
cdc-acm.h | ||
cdc-wdm.c | ||
Kconfig | ||
Makefile | ||
usblp.c | ||
usbtmc.c |