Skip to content

Backport missing sccurity and deadlock fix

Shuah Khan linux-usb lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4usb: 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
2/4usbip: fix stub_rx: get_pipe() to validate endpoint numberdrivers/usb/usbip/stub_rx.c+11 -70 replies
3/4usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious inputdrivers/usb/usbip/stub_rx.c+27 -30 replies
4/4usbip: 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

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 4.4 0/4] Backport missing sccurity and deadlock fix

As I started backporting security fixes, I found a deadlock bug that was fixed in a later release. This patch series contains backports for all these problems.

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

Shuah Khan (3):
usbip: fix stub_rx: get_pipe() to validate endpoint number
usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
usbip: prevent leaking socket pointer address in messages

 drivers/usb/usbip/stub_dev.c     |  3 +-
 drivers/usb/usbip/stub_rx.c      | 46 ++++++++++++++++----
 drivers/usb/usbip/usbip_common.c | 15 ++-----
 drivers/usb/usbip/usbip_event.c  |  5 ++-
 drivers/usb/usbip/vhci_hcd.c     | 90 +++++++++++++++++++++++-----------------
 drivers/usb/usbip/vhci_rx.c      | 30 ++++++++------
 drivers/usb/usbip/vhci_sysfs.c   | 19 +++++----
 drivers/usb/usbip/vhci_tx.c      | 14 ++++---
 8 files changed, 134 insertions(+), 88 deletions(-)
Signature · 1 line
2.14.1