diff options
| author | Petr Vandrovec <petr@vandrovec.name> | 2016-11-10 13:57:14 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:58:07 +0200 |
| commit | f124d1f632bddc073685d5d4c763e44b9c528611 (patch) | |
| tree | dd27334937233083c07d620110a238bbb4350674 /scripts/link-vmlinux.sh | |
| parent | 6c8d196e9678f479cfce84d6115f3fb1530b4d40 (diff) | |
Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
commit 2ce9d2272b98743b911196c49e7af5841381c206 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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts/link-vmlinux.sh')
0 files changed, 0 insertions, 0 deletions
