From patchwork Thu Aug 8 18:19:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tyler Hicks X-Patchwork-Id: 1144136 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 464Gqk6M4lz9sNy; Fri, 9 Aug 2019 04:19:46 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1hvn0p-0001bB-5Y; Thu, 08 Aug 2019 18:19:43 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1hvn0n-0001b3-LL for kernel-team@lists.ubuntu.com; Thu, 08 Aug 2019 18:19:41 +0000 Received: from 162-237-133-238.lightspeed.rcsntx.sbcglobal.net ([162.237.133.238] helo=elm) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1hvn0m-000665-Sk for kernel-team@lists.ubuntu.com; Thu, 08 Aug 2019 18:19:41 +0000 Date: Thu, 8 Aug 2019 13:19:38 -0500 From: Tyler Hicks To: kernel-team@lists.ubuntu.com Subject: [GIT PULL][SRU][X] CVE-2019-3900: vhost DoS Message-ID: <20190808181937.GB2924@elm> References: <1565239512-11188-1-git-send-email-tyhicks@canonical.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1565239512-11188-1-git-send-email-tyhicks@canonical.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" I've create a pull request to make this large patch set easier to apply in the case that it receives all needed ACKs. The following changes since commit 529f12a49d563e3ff1f54e7baf1920275225762a: Linux 4.4.186 (2019-07-31 02:23:27 -0400) are available in the git repository at: https://git.launchpad.net/~tyhicks/ubuntu/+source/linux/+git/xenial cves/CVE-2019-3900 for you to fetch changes up to 22f96a830b9ef393ed3c4765d327fa1ba7e4c8fb: vhost: scsi: add weight support (2019-08-05 17:51:27 +0000) ---------------------------------------------------------------- Jason Wang (6): vhost: introduce vhost_vq_avail_empty() vhost_net: tx batching vhost_net: introduce vhost_exceeds_weight() vhost: introduce vhost_exceeds_weight() vhost_net: fix possible infinite loop vhost: scsi: add weight support Paolo Abeni (1): vhost_net: use packet weight for rx handler, too Willem de Bruijn (1): vhost_net: do not stall on zerocopy depletion haibinzhang(张海斌) (1): vhost-net: set packet weight of tx polling to 2 * vq size drivers/vhost/net.c | 60 ++++++++++++++++++++++++++++++++------------------- drivers/vhost/scsi.c | 14 ++++++++---- drivers/vhost/vhost.c | 34 ++++++++++++++++++++++++++++- drivers/vhost/vhost.h | 7 +++++- 4 files changed, 87 insertions(+), 28 deletions(-)