Received: by 10.223.176.46 with SMTP id f43csp906768wra; Fri, 26 Jan 2018 08:44:13 -0800 (PST) X-Google-Smtp-Source: AH8x2247hAVbvEO3vbjt8tPC8/FciELrVpaFm3iGhjehU7e+tGr4zwXYatMN7vh+DPNiL+mE+4x6 X-Received: by 2002:a17:902:584b:: with SMTP id f11-v6mr15155345plj.244.1516985053596; Fri, 26 Jan 2018 08:44:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516985053; cv=none; d=google.com; s=arc-20160816; b=o3hvKRoPWDx3tJEUPWB1cJEN5wsyGXk5Z2yRwAgLN7TEG6HPGrLs+NOsnmDcUUAT3X TISyMu04N1y5A/SuI5HqEc3mFF8+Ym6BkaKcH83mimWCBdNgNM3vFiA1o7kSLFkSQfl2 gD9DBYFZzGVtYEupfVFkrmkrOQk2sc3BR0ViONJQswW1ABEPLuH/NOq91jhE+KY4jNgM FQWWCvCB4Bs1xDJplMOSOVCwfbi9lMfeX9vU2sR5ujPt37GZa7gkXB8+1Chkrzq+O0U+ p52Md6ZLx+7yuERddCKWPl7nsWnYHdx9KgT0zB9Cqp6M94jdeDYcEUcOVCE/Ym7XzHw9 YuSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=uGl1xt3Rwaa1TvjPZM+2ZjgySbgc+UMZZ+yLA1RU5ZM=; b=BzQfstnoIkTUXiPtrGFoRaHtLNyISyexOUetlZqYdv0SHCUSb3EbOfR4be0tzZjraE 7FWcy+TZMqb72S0IbDbtJp0I0X10p3iLxQedqpP9R8xllEd1T2El803Z25ooitMzN4MG 9HuuOrUOgrwooeQ84PUNxC3DpdA7DDeqQ1J28t/OvhGXXxy6h+JmFl5QGr+kT0Mwo/yI Cw8sk7qczB22ndUwV4KGlUitIKU7OMrdgdq8BudyMl3U5KmMWR7oxP2oHm5lu5+hVbHC G0j+SZs4oy7nYu21AYClhSJ9fh/zjDpGeQ86Zn/Cht+M6v2iDSwI59Q2uAJkRcD1hldT Qs0g== ARC-Authentication-Results: i=1; mx.google.com; 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 69-v6si3949704plc.814.2018.01.26.08.43.59; Fri, 26 Jan 2018 08:44:13 -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; 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 S1752373AbeAZQn1 (ORCPT + 99 others); Fri, 26 Jan 2018 11:43:27 -0500 Received: from www.llwyncelyn.cymru ([82.70.14.225]:46084 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751836AbeAZQn0 (ORCPT ); Fri, 26 Jan 2018 11:43:26 -0500 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w0QGhBuF021369; Fri, 26 Jan 2018 16:43:11 GMT Date: Fri, 26 Jan 2018 16:43:10 +0000 From: Alan Cox To: "Jason A. Donenfeld" Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Subject: Re: [PATCH v2] cpu: do not leak vulnerabilities to unprivileged users Message-ID: <20180126164310.13a29ad2@alans-desktop> In-Reply-To: <20180126123158.9575-1-Jason@zx2c4.com> References: <20180126123158.9575-1-Jason@zx2c4.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Jan 2018 13:31:58 +0100 "Jason A. Donenfeld" wrote: > While it's public information if the CPU in general has spectre/meltdown > bugs, it probably shouldn't be as globally obvious to all unprivileged > users As I replied to you last time you posted this a) The info is already trivially accessible via /proc/cpuinfo or by measurement to an attacker b) Some JIT and other environments need to know Alan