Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4289213ybf; Wed, 4 Mar 2020 00:50:21 -0800 (PST) X-Google-Smtp-Source: ADFU+vuXW5rjwad0N7qNeNIHZMtxQQj5n9u9/4Sax96kWo0j2DqlGwYdbeQRw+qg/8/8/gRV5BC+ X-Received: by 2002:aca:cc41:: with SMTP id c62mr1039926oig.58.1583311821737; Wed, 04 Mar 2020 00:50:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583311821; cv=none; d=google.com; s=arc-20160816; b=LBGKfnQAvUtyN8UNRgMdEeQ/ru6oG47SdVB0C3usuWbBgm5WYC88K7CYnRUmDF4MQ0 4LWQesxjR1vIZtbqDkgNSoU1ViKm3ftrcdb6DeeMcyD6cwZJezZQOsfnz+EQFyJL8BRF +wT/8l1dOV8QGvKaPXPeg1MDLJROdLEINi+CWmYDAiP9eY/uFaX1R5xMKsE9eQDYncdn VN1+hInGkWlQVe/M512Bpt7/dJESItuCN+vQUVHfWDOTgurgtADzfUwC8ZFrpx+89m2X +NQ5oo85giUBU2xwtfwbk/f2zx8an463ceVsUyr9RNLEwd0UgG5VyQw5S07E4/TJv1rV wg9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2t5+UU+//WHzzfHR1K3hCw0teKYC1554ZoiB/4mCLOw=; b=Kkqe5wkWFv5WxVpz3tRwnl7l8rEQtwOL9jwF2Ixbe5LvJYZcqMlBX4IC9DO/f9BrRA 3COZHTUiUlSKHhORCxal/8LajlMxxoGV16kEAKfKn+8qGxl+saEGPXpkw7K9cILYyn9A pEEn+RVB6WrMatpgjtNJU24QB3Heou3CHjn3g8NafPkcTPg/OwjnMiYEj+zbHhCskcVx JosNfmbeI1X7RL2ZDwafocUVv1/ae9yF9ebutyPqSbUSseNsoEbeJDBU/IPxIoF0QqOn QEZXC2B5PPDCiatKGw1/72sldf0BX9+gsEBeRROeOpkNkpaa1wb70fOyppgKb6QN23I7 RriQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="yaKcWw/4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h6si755513otk.276.2020.03.04.00.50.02; Wed, 04 Mar 2020 00:50:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="yaKcWw/4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728974AbgCDItu (ORCPT + 99 others); Wed, 4 Mar 2020 03:49:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:56778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725271AbgCDItt (ORCPT ); Wed, 4 Mar 2020 03:49:49 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A754F2166E; Wed, 4 Mar 2020 08:49:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583311789; bh=42+lF99vxgLst4sZuC1LxXvVtp7nX+zCrtrak2Bngw0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yaKcWw/4pvF/wZ8OYOF0n7AK0GQoFZ8VZANQqcYtPlrq9Hqcp5488eXgPTxoaStHp ZcpF/QXL/B6ZMnyE7tVDk0p/EeVJ48w9R1liWMFKJZXsKx2EKgnf9HiL/6N0tzfV5o TyxS4OEGxikqto8SSEOw08F/CyPA6iRfj+xR+FLs= Date: Wed, 4 Mar 2020 09:49:46 +0100 From: Greg Kroah-Hartman To: Naresh Kamboju Cc: open list , Shuah Khan , patches@kernelci.org, lkft-triage@lists.linaro.org, Ben Hutchings , linux- stable , Andrew Morton , Linus Torvalds , Guenter Roeck Subject: Re: [PATCH 5.5 000/176] 5.5.8-stable review Message-ID: <20200304084946.GB1416015@kroah.com> References: <20200303174304.593872177@linuxfoundation.org> <20200304081128.GC1401372@kroah.com> <20200304084702.GA1416015@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200304084702.GA1416015@kroah.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 04, 2020 at 09:47:02AM +0100, Greg Kroah-Hartman wrote: > On Wed, Mar 04, 2020 at 09:11:28AM +0100, Greg Kroah-Hartman wrote: > > On Wed, Mar 04, 2020 at 12:43:42PM +0530, Naresh Kamboju wrote: > > > On Tue, 3 Mar 2020 at 23:16, Greg Kroah-Hartman > > > wrote: > > > > > > > > This is the start of the stable review cycle for the 5.5.8 release. > > > > There are 176 patches in this series, all will be posted as a response > > > > to this one. If anyone has any issues with these being applied, please > > > > let me know. > > > > > > > > Responses should be made by Thu, 05 Mar 2020 17:42:06 +0000. > > > > Anything received after that time might be too late. > > > > > > > > The whole patch series can be found in one patch at: > > > > https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.5.8-rc1.gz > > > > or in the git tree and branch at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.5.y > > > > and the diffstat can be found below. > > > > > > > > thanks, > > > > > > > > greg k-h > > > > > > > > > > Results from Linaro’s test farm. > > > Regressions detected on x86_64 and i386. > > > > > > Test failure output: > > > CVE-2017-5715: VULN (IBRS+IBPB or retpoline+IBPB+RSB filling, is > > > needed to mitigate the vulnerability) > > > > > > Test description: > > > CVE-2017-5715 branch target injection (Spectre Variant 2) > > > > > > Impact: Kernel > > > Mitigation 1: new opcode via microcode update that should be used by > > > up to date compilers to protect the BTB (by flushing indirect branch > > > predictors) > > > Mitigation 2: introducing "retpoline" into compilers, and recompile > > > software/OS with it > > > Performance impact of the mitigation: high for mitigation 1, medium > > > for mitigation 2, depending on your CPU > > > > So these are regressions or just new tests? > > > > If regressions, can you do 'git bisect' to find the offending commit? > > > > Also, are you sure you have an updated microcode on these machines and a > > proper compiler for retpoline? > > As an example of just how crazy that script is, here's the output of my > machine for that first CVE issue: > > CVE-2017-5715 aka 'Spectre Variant 2, branch target injection' > * Mitigated according to the /sys interface: YES (Mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling) > * Mitigation 1 > * Kernel is compiled with IBRS support: YES > * IBRS enabled and active: YES (for firmware code only) > * Kernel is compiled with IBPB support: YES > * IBPB enabled and active: YES > * Mitigation 2 > * Kernel has branch predictor hardening (arm): NO > * Kernel compiled with retpoline option: YES > * Kernel compiled with a retpoline-aware compiler: YES (kernel reports full retpoline compilation) > * Kernel supports RSB filling: UNKNOWN (couldn't check (couldn't find your kernel image in /boot, if you used netboot, this is normal)) > > STATUS: VULNERABLE (IBRS+IBPB or retpoline+IBPB+RSB filling, is needed to mitigate > > So why is this "Vulnerable"? Because it didn't think it could find my > kernel image for some odd reason, despite it really being in /boot/ (I > don't use netboot) > > So please verify that this really is a real issue, and not just the > script doing foolish things. And, if I tell the script where my kernel image is, suddenly all is good: CVE-2017-5715 aka 'Spectre Variant 2, branch target injection' * Mitigation 1 * Kernel is compiled with IBRS support: YES * IBRS enabled and active: N/A (not testable in offline mode) * Kernel is compiled with IBPB support: YES * IBPB enabled and active: N/A (not testable in offline mode) * Mitigation 2 * Kernel has branch predictor hardening (arm): UNKNOWN * Kernel compiled with retpoline option: UNKNOWN (couldn't read your kernel configuration) * Kernel supports RSB filling: YES > STATUS: NOT VULNERABLE (offline mode: kernel supports IBRS + IBPB to mitigate the vulnerability)