public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Shuah Khan <shuahkh@osg.samsung.com>
To: valentina.manea.m@gmail.com, shuah@kernel.org,
	gregkh@linuxfoundation.org
Cc: Shuah Khan <shuahkh@osg.samsung.com>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Subject: [PATCH 4.4 0/4] Backport missing sccurity and deadlock fix
Date: Thu, 25 Jan 2018 11:37:40 -0700	[thread overview]
Message-ID: <cover.1516904424.git.shuahkh@osg.samsung.com> (raw)

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(-)

-- 
2.14.1

             reply	other threads:[~2018-01-25 18:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25 18:37 Shuah Khan [this message]
2018-01-25 18:37 ` [PATCH 4.4 1/4] usb: usbip: Fix possible deadlocks reported by lockdep Shuah Khan
2018-01-25 18:37 ` [PATCH 4.4 2/4] usbip: fix stub_rx: get_pipe() to validate endpoint number Shuah Khan
2018-01-25 18:37 ` [PATCH 4.4 3/4] usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input Shuah Khan
2018-01-25 18:37 ` [PATCH 4.4 4/4] usbip: prevent leaking socket pointer address in messages Shuah Khan
2018-01-26  9:33 ` [PATCH 4.4 0/4] Backport missing sccurity and deadlock fix Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1516904424.git.shuahkh@osg.samsung.com \
    --to=shuahkh@osg.samsung.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=shuah@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=valentina.manea.m@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox