Files
linux/drivers/usb/storage
Petr Vandrovec ab0867dd8b Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
commit 2ce9d2272b upstream.

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>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-12-02 09:09:00 +01:00
..
2012-09-05 17:21:36 -07:00
2013-12-09 23:45:39 -08:00
2016-04-20 15:42:07 +09:00