From patchwork Fri Oct 12 16:09:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kleber Sacilotto de Souza X-Patchwork-Id: 983162 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 42Wt8S47kPz9s55; Sat, 13 Oct 2018 03:10:00 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1gB00d-0002YY-6u; Fri, 12 Oct 2018 16:09:51 +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 1gB00b-0002YQ-FE for kernel-team@lists.ubuntu.com; Fri, 12 Oct 2018 16:09:49 +0000 Received: from mail-wm1-f70.google.com ([209.85.128.70]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1gB00b-0007zb-7r for kernel-team@lists.ubuntu.com; Fri, 12 Oct 2018 16:09:49 +0000 Received: by mail-wm1-f70.google.com with SMTP id z187-v6so7203382wmb.3 for ; Fri, 12 Oct 2018 09:09:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=oVBFOuI3NH6mVrM6TxlSv1isoajg1LWQYCEPiebDUG8=; b=uCVOTgnLD5Uun7FePX76oU8PBVjCB+ibf8ov9qNHf+f5Z0N0v4KSjcZgWW4cTvk3OR um7IMPTF9zHSB0DMbIIDFU6LBfXlH8jF18Bd6SyDvxuUYZEb6zb/u3LHMKIhwdYRKLiM 5vguSOOrK2oLhtOp7o+fch+QeH5muXrPOubJkpKSk5LH6lnZ1tKp0RgidDLaSp4npJ+o zJNWTZtEFT8Y+7iQd9xoaJv9kq6wAaxZc45vE8rnEWrRPaTLk1nPI3NR5toHKHlsiIzs BFlisSEiaOIxeIDBrfTVRWWIOEipdN9cDuFJCZglzvKkdr2GKWtnUurdP/L5y7AkBG+G Ij+w== X-Gm-Message-State: ABuFfog6YG0HePS6E0xWjuOcxHwEHd2lKo0iunV2v3LFTLhFE7D/HUxw cNsHVLnVzjmU91pCyTiIFzY4wzIguXbJ+Sv3DWIx39jZhmYx6gZayDV06nxSMUUTK/MzNO5jOCY px++xMgO/x9RV+QhY8DRma6n4bjYs5HGPkW6r2GcFtQ== X-Received: by 2002:adf:bb41:: with SMTP id x1-v6mr5470255wrg.325.1539360588601; Fri, 12 Oct 2018 09:09:48 -0700 (PDT) X-Google-Smtp-Source: ACcGV63v23dxW/LYBeCXA7wTH6LThlobWOJqLekEnARA6zv4k0KqaOXA2JibBfhwTCWVgAgwka8pzw== X-Received: by 2002:adf:bb41:: with SMTP id x1-v6mr5470231wrg.325.1539360588243; Fri, 12 Oct 2018 09:09:48 -0700 (PDT) Received: from localhost ([212.121.131.210]) by smtp.gmail.com with ESMTPSA id e196-v6sm2956531wmf.43.2018.10.12.09.09.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Oct 2018 09:09:47 -0700 (PDT) From: Kleber Sacilotto de Souza To: kernel-team@lists.ubuntu.com Subject: [SRU][Trusty][Bionic][PATCH 0/1] Fix for CVE-2017-13168 Date: Fri, 12 Oct 2018 18:09:44 +0200 Message-Id: <20181012160946.23935-1-kleber.souza@canonical.com> X-Mailer: git-send-email 2.17.1 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: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" https://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-13168.html It was discovered that the generic SCSI driver in the Linux kernel did not properly enforce permissions on kernel memory access. A local attacker could use this to expose sensitive information or possibly elevate privileges. Clean cherry-pick for Bionic, minor backport needed for Trusty since a couple of helpers are not present in 3.13. Compile tested. Already fixed in Xenial as part as one of the upstream stable updates. Jann Horn (1): scsi: sg: mitigate read/write abuse drivers/scsi/sg.c | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) Acked-by: Khalid Elmously Acked-by: Stefan Bader