linux-stable/drivers/usb/core
Andrey Konovalov 4a4aed9055 USB: core: only clean up what we allocated
commit 32fd87b3bb upstream.

When cleaning up the configurations, make sure we only free the number
of configurations and interfaces that we could have allocated.

Reported-by: Andrey Konovalov <andreyknvl@google.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-27 14:13:55 +09:00
..
buffer.c
config.c USB: core: only clean up what we allocated 2019-03-27 14:13:55 +09:00
devices.c
devio.c USB: fix the usbfs flag sanitization for control transfers 2018-11-10 07:48:36 -08:00
driver.c USB: remove LPM management from usb_driver_claim_interface() 2018-10-03 17:00:56 -07:00
endpoint.c
file.c
generic.c USB:fix USB3 devices behind USB3 hubs not resuming at hibernate thaw 2018-04-24 09:36:25 +02:00
hcd-pci.c usb: Don't die twice if PCI xhci host is not responding in resume 2018-09-26 08:38:06 +02:00
hcd.c USB: Increment wakeup count on remote wakeup. 2018-05-01 12:58:11 -07:00
hub.c usb: hub: delay hub autosuspend if USB3 port is still link training 2019-02-12 19:46:01 +01:00
hub.h
Kconfig
ledtrig-usbport.c USB: ledtrig-usbport: fix of-node leak 2018-03-19 08:42:48 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
message.c usb: Avoid use-after-free by flushing endpoints early in usb_set_interface() 2018-09-26 08:38:07 +02:00
notify.c
of.c
otg_whitelist.h
port.c
quirks.c USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB 2019-01-16 22:07:11 +01:00
sysfs.c usb: Convert to using %pOF instead of full_name 2017-07-22 15:56:53 +02:00
urb.c usb: core: Add a helper function to check the validity of EP type in URB 2018-02-25 11:07:45 +01:00
usb-acpi.c
usb.c USB: check usb_get_extra_descriptor for proper size 2018-12-13 09:18:51 +01:00
usb.h