Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3365729imm; Mon, 4 Jun 2018 02:16:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLngnCT3oTUokhczNu2OWmrS2w339wSkgqVgjTfVDQC2sMPUj8PuMdC3CU1m0AsfDp+Iaf4 X-Received: by 2002:a17:902:4c88:: with SMTP id b8-v6mr20763477ple.285.1528103809591; Mon, 04 Jun 2018 02:16:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528103809; cv=none; d=google.com; s=arc-20160816; b=NLITkt37BfEvOc2sC3PNv2JX9Js1dbHMlPpysvFobtNr5wc3Yu/SYF3lD0CmYRDHrC QYUiCjzFJIr3VBHLQlmvm76P88w2E/Sj4bCVuo6zAGMvrKoU0t1aUCt3E1UIMHAoPhTQ imJQvuprkoNTu9GCDADMt2sSBEptnJkz4WqsXOGWxJ8p2iW2RxBwcK6kVl971wpaKj0j FXD43y+/45Q5KtvvCGd6CACe97hdKQ0xunHF/wxN/oyvf9etqaMlA4+EoksDZC4nZitH kELjkV7a/+f+S1TAb+RX0OAniO3uJpq2Qye7JXMRYrKuFBC13feRDUn1KzVw2WZB10Qv M0vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=+MLOh9O1aygG/SWx2bVW4BoAV9NazaDF8sHb6IfKfFc=; b=J5uimKiBD4s+6stgHWVmO4VZdGSS0HxvJ8L9CO1ftBH+ZXIhb2GqDznEUcpYTlCDLu V2S3ILgr/byY6LPyltKVPaRkQG30RD2gTfA5ZGUz4/OvfjkIWKt3QE3ZWEDZ8nCm13Yv po341NxUBRDH2YDmKj8jmvEHl+mIRV4/98gn9ePF/Er6Xo6pggO/iabZFc7cDABAY65f 0PdHQVunNbIKrZvEsP/GtQaTCSOfYtJNi/bLuO1pDVI7JsRc1WMyNtmMj+Tu2fw8cL3u WZWMcMiSn/3DM3C+fDzBy1NufqBrJnvTIyKKHxNYnAFnQjf7LHYcGcHokPBTai7aii9S 4i2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=NUkGyGw+; 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 g13-v6si3109289pgo.121.2018.06.04.02.16.34; Mon, 04 Jun 2018 02:16:49 -0700 (PDT) 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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=NUkGyGw+; 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 S1752116AbeFDJPP (ORCPT + 99 others); Mon, 4 Jun 2018 05:15:15 -0400 Received: from merlin.infradead.org ([205.233.59.134]:34612 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751854AbeFDJPO (ORCPT ); Mon, 4 Jun 2018 05:15:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+MLOh9O1aygG/SWx2bVW4BoAV9NazaDF8sHb6IfKfFc=; b=NUkGyGw+5CMQ54+kGsJjS6gU7 rEGSztNi7WfAPLzQAeRZLsRLseLAJ9ufkDBF+1xbnEXuCIgJ74sZD3Fcgw9mP0cTo62G+z8eG9sbP XTO8BEGqJxmDsgXHaRLTHRYeyEcxRo5V5RTl974HnOJA4Ugg3Kri3EopsqMCPf1bFuuVHkJlBzm/j riVR71BShHS8fFsL8Uv5A9rEY6IjOuS4lcn+EGxAAuFSw5P0vhKqqi1kBZKPGx0XcjvuplQy+m2DU hYrWkjCJhcxYExwes12PPjhZEAqGmZOsbH0ioSJB1B31MnEGEqQvbXL/IqcfUVwQnbJjx3OLzYbZJ mvbbhXVAw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fPla4-0002rw-EO; Mon, 04 Jun 2018 09:15:12 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5BA48201F0961; Mon, 4 Jun 2018 11:15:09 +0200 (CEST) Date: Mon, 4 Jun 2018 11:15:09 +0200 From: Peter Zijlstra To: Andreas Hartmann Cc: LKML Subject: Re: Spectre mitigation doesn't seem to work at all?! Message-ID: <20180604091509.GP12217@hirez.programming.kicks-ass.net> References: <141672d1-8dcb-9a84-7f8f-60c7a2c58b07@01019freenet.de> <20180604081502.GE12258@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 04, 2018 at 10:50:07AM +0200, Andreas Hartmann wrote: > Ok, this means every program running on the machine has to care itself > to be spectre v1 - safe. Correct. Compiler and static analyser teams are looking hard at this to help. > A malicious program most probably won't care about that. Therefore, my > next question is: which memory regions can be exploited by a malicious > program? The complete physical memory or only the memory provided to the > malicious program? Should be the latter if this approach should have any > impact. It affects the virtual memory of the target process.