OpenCloudOS-Kernel/drivers/usb/storage
Petr Vandrovec 2ce9d2272b Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
Some code (all error handling) submits CDBs that are allocated
on the stack.  This breaks with CB/CBI code that tries to create
URB directly from SCSI command buffer - which happens to be in
vmalloced memory with vmalloced kernel stacks.

Let's make copy of the command in usb_stor_CB_transport.

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Cc: stable <stable@vger.kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-15 11:08:51 +01:00
..
Kconfig PM / Kconfig: Replace PM_RUNTIME with PM in dependencies 2014-12-13 00:44:04 +01:00
Makefile usb: remove libusual 2012-09-05 17:21:36 -07:00
alauda.c usb: storage: alauda: don't print on ENOMEM 2016-08-30 19:17:39 +02:00
cypress_atacb.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
datafab.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
debug.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
debug.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
ene_ub6250.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
freecom.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
initializers.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
initializers.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
isd200.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
jumpshot.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
karma.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
onetouch.c usb: storage: fix module reference for scsi host 2015-05-10 16:03:50 +02:00
option_ms.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
option_ms.h
protocol.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
protocol.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
realtek_cr.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
scsiglue.c scsi: introduce a quirk for false cache reporting 2016-09-13 08:08:24 +02:00
scsiglue.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
sddr09.c usb: storage: sddr09: don't print on ENOMEM 2016-08-30 19:17:39 +02:00
sddr55.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
shuttle_usbat.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
sierra_ms.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
sierra_ms.h
transport.c Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y 2016-11-15 11:08:51 +01:00
transport.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
uas-detect.h uas: Set max_sectors_240 quirk for ASM1053 devices 2015-04-28 12:48:57 +02:00
uas.c USB: uas: Fix slave queue_depth not being set 2016-06-01 14:56:24 -07:00
unusual_alauda.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_cypress.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_datafab.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_devs.h scsi: introduce a quirk for false cache reporting 2016-09-13 08:08:24 +02:00
unusual_ene_ub6250.h Staging: Merge ENE UB6250 SD card codes from keucr to drivers/usb/storage 2011-03-07 13:40:59 -08:00
unusual_freecom.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_isd200.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_jumpshot.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_karma.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_onetouch.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_realtek.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_sddr09.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_sddr55.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_uas.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
unusual_usbat.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
usb.c scsi: introduce a quirk for false cache reporting 2016-09-13 08:08:24 +02:00
usb.h usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00
usual-tables.c usb: storage: fix multi-line comment style 2016-04-26 15:04:38 -07:00