Skip to content

Backports for security and critical bug fixes

Shuah Khan linux-usb lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9usbip: fix stub_rx: get_pipe() to validate endpoint numberdrivers/usb/usbip/stub_rx.c+10 -60 replies
2/9usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious inputdrivers/usb/usbip/stub_rx.c+27 -30 replies
3/9usbip: prevent vhci_hcd driver from leaking a socket pointer addressdrivers/usb/usbip/usbip_common.h drivers/usb/usbip/vhci_sysfs.c tools/usb/usbip/libsrc/vhci_driver.c+20 -150 replies
4/9usbip: Fix potential format overflow in userspace toolstools/usb/usbip/libsrc/usbip_common.c tools/usb/usbip/libsrc/usbip_host_driver.c+30 -60 replies
5/9usb: usbip: Fix possible deadlocks reported by lockdepdrivers/usb/usbip/usbip_event.c drivers/usb/usbip/vhci_hcd.c drivers/usb/usbip/vhci_rx.c +2 more+91 -650 replies
6/9usbip: vhci_hcd: clear just the USB_PORT_STAT_POWER bitdrivers/usb/usbip/vhci_hcd.c+1 -10 replies
7/9usbip: prevent leaking socket pointer address in messagesdrivers/usb/usbip/stub_dev.c drivers/usb/usbip/usbip_common.c drivers/usb/usbip/vhci_hcd.c+6 -140 replies
8/9usbip: stub: stop printing kernel pointer addresses in messagesdrivers/usb/usbip/stub_main.c drivers/usb/usbip/stub_rx.c drivers/usb/usbip/stub_tx.c+7 -90 replies
9/9usbip: vhci: stop printing kernel pointer addresses in messagesdrivers/usb/usbip/vhci_hcd.c drivers/usb/usbip/vhci_rx.c drivers/usb/usbip/vhci_tx.c+13 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 3.18 0/9] Backports for security and critical bug fixes

As I started backporting security fixes, found a few problems that prevent tools to build on newer gcc releases, deadlock bug, and another bug that prevents client from being able to use imported devices.

This patch series consists of security fixes and fixes to critical bugs.

Andrew Goodbody (1):
usb: usbip: Fix possible deadlocks reported by lockdep

Shuah Khan (8):
usbip: fix stub_rx: get_pipe() to validate endpoint number
usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
usbip: prevent vhci_hcd driver from leaking a socket pointer address
usbip: Fix potential format overflow in userspace tools
usbip: vhci_hcd: clear just the USB_PORT_STAT_POWER bit
usbip: prevent leaking socket pointer address in messages
usbip: stub: stop printing kernel pointer addresses in messages
usbip: vhci: stop printing kernel pointer addresses in messages

 drivers/usb/usbip/stub_dev.c               |   3 +-
 drivers/usb/usbip/stub_main.c              |   5 +-
 drivers/usb/usbip/stub_rx.c                |  53 +++++++++++----
 drivers/usb/usbip/stub_tx.c                |   4 +-
 drivers/usb/usbip/usbip_common.c           |  15 ++---
 drivers/usb/usbip/usbip_common.h           |   1 +
 drivers/usb/usbip/usbip_event.c            |   5 +-
 drivers/usb/usbip/vhci_hcd.c               | 102 +++++++++++++++--------------
 drivers/usb/usbip/vhci_rx.c                |  53 ++++++++-------
 drivers/usb/usbip/vhci_sysfs.c             |  45 +++++++------
 drivers/usb/usbip/vhci_tx.c                |  17 +++--
 tools/usb/usbip/libsrc/usbip_common.c      |   9 ++-
 tools/usb/usbip/libsrc/usbip_host_driver.c |  27 ++++++--
 tools/usb/usbip/libsrc/vhci_driver.c       |   8 +--
 14 files changed, 205 insertions(+), 142 deletions(-)
Signature · 1 line
2.14.1