[GIT PULL] USB fixes for 5.2-rc3

From: Greg KH
Date: Thu May 30 2019 - 21:50:18 EST


The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:

Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.2-rc3

for you to fetch changes up to 3ea3091f1bd8586125848c62be295910e9802af0:

usbip: usbip_host: fix stub_dev lock context imbalance regression (2019-05-29 13:26:32 -0700)

----------------------------------------------------------------
USB fixes for 5.2-rc3

Here are some tiny USB fixes for a number of reported issues for
5.2-rc3.

Nothing huge here, just a small collection of xhci and other driver bugs
that syzbot has been finding in some drivers. There is also a usbip fix
and a fix for the usbip fix in here :)

All have been in linux-next with no reported issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Alan Stern (3):
USB: Fix slab-out-of-bounds write in usb_get_bos_descriptor
media: usb: siano: Fix general protection fault in smsusb
media: usb: siano: Fix false-positive "uninitialized variable" warning

Andrey Smirnov (1):
xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()

Carsten Schmid (1):
usb: xhci: avoid null pointer deref when bos field is NULL

Chunfeng Yun (1):
usb: mtu3: fix up undefined reference to usb_debug_root

Fabio Estevam (1):
xhci: Use %zu for printing size_t type

Henry Lin (1):
xhci: update bounce buffer with correct sg num

Jia-Ju Bai (1):
usb: xhci: Fix a potential null pointer dereference in xhci_debugfs_create_endpoint()

Mathias Nyman (1):
xhci: Fix immediate data transfer if buffer is already DMA mapped

Mauro Carvalho Chehab (1):
media: smsusb: better handle optional alignment

Maximilian Luz (1):
USB: Add LPM quirk for Surface Dock GigE adapter

Oliver Neukum (5):
USB: sisusbvga: fix oops in error path of sisusb_probe
USB: rio500: refuse more than one device at a time
USB: rio500: fix memory leak in close after disconnect
USB: rio500: simplify locking
USB: rio500: update Documentation

Shuah Khan (2):
usbip: usbip_host: fix BUG: sleeping function called from invalid context
usbip: usbip_host: fix stub_dev lock context imbalance regression

Documentation/usb/rio.txt | 66 ++++++------------------------
drivers/media/usb/siano/smsusb.c | 33 +++++++++------
drivers/usb/core/config.c | 4 +-
drivers/usb/core/quirks.c | 3 ++
drivers/usb/host/xhci-debugfs.c | 3 ++
drivers/usb/host/xhci-ring.c | 26 ++++++++----
drivers/usb/host/xhci.c | 24 +++++------
drivers/usb/host/xhci.h | 3 +-
drivers/usb/misc/rio500.c | 80 ++++++++++++++++++++++---------------
drivers/usb/misc/sisusbvga/sisusb.c | 15 +++----
drivers/usb/mtu3/mtu3_debugfs.c | 3 +-
drivers/usb/usbip/stub_dev.c | 75 ++++++++++++++++++++++++----------
12 files changed, 182 insertions(+), 153 deletions(-)