diff options
author | Oliver Neukum <oneukum@suse.com> | 2019-04-30 12:21:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-30 17:51:42 +0200 |
commit | 3ae62a42090f1ed48e2313ed256a1182a85fb575 (patch) | |
tree | c9b5feacf9c6259fb527fb27cc5fc8b8fbccbb66 /drivers/usb/common | |
parent | 0f02321e4bd1b17eb957e077e868ef1611f5dbbd (diff) | |
download | linux-next-3ae62a42090f1ed48e2313ed256a1182a85fb575.tar.gz |
UAS: fix alignment of scatter/gather segments
This is the UAS version of
747668dbc061b3e62bc1982767a3a1f9815fcf0e
usb-storage: Set virt_boundary_mask to avoid SG overflows
We are not as likely to be vulnerable as storage, as it is unlikelier
that UAS is run over a controller without native support for SG,
but the issue exists.
The issue has been existing since the inception of the driver.
Fixes: 115bb1ffa54c ("USB: Add UAS driver")
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/common')
0 files changed, 0 insertions, 0 deletions