OpenCloudOS-Kernel/drivers/usb/chipidea
Lothar Waßmann 98c3553442 USB: chipidea: fix use after free bug
The pointer to a platform_device struct must not be dereferenced after
the device has been unregistered.

This bug produces a crash when unloading the ci13xxx kernel module
compiled with CONFIG_PAGE_POISONING enabled.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Cc: stable <stable@vger.kernel.org> # 3.6
Acked-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-26 14:59:00 -08:00
..
Kconfig USB: EHCI: fix build error by making ChipIdea host a normal EHCI driver 2012-11-02 10:03:50 -07:00
Makefile USB: chipidea: add -DDEBUG if debugging is enabled 2012-09-12 11:20:38 -07:00
bits.h usb: chipidea: add host role 2012-05-11 16:56:15 -07:00
ci.h USB: chipidea: add vbus detect for udc 2012-09-12 11:20:38 -07:00
ci13xxx_imx.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
ci13xxx_imx.h USB: chipidea: add imx usbmisc support 2012-09-12 11:20:38 -07:00
ci13xxx_msm.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
ci13xxx_pci.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
core.c USB: chipidea: fix use after free bug 2012-11-26 14:59:00 -08:00
debug.c usb: gadget: Remove reference to is_dualspeed from sysfs. 2012-11-08 16:04:34 +02:00
debug.h usb: chipidea: split the driver code into units 2012-05-11 16:49:51 -07:00
host.c USB: EHCI: miscellaneous cleanups for the library conversion 2012-11-11 18:06:48 -08:00
host.h usb: chipidea: add host role 2012-05-11 16:56:15 -07:00
udc.c USB: chipidea: add vbus detect for udc 2012-09-12 11:20:38 -07:00
udc.h usb: chipidea: use generic map/unmap routines 2012-05-11 16:59:35 -07:00
usbmisc_imx6q.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00