Return-Path: =?utf-8?q?=3CBATV+548dd5b08e86edcb207b+5468+infradead=2Eorg+d?= =?utf-8?q?wmw2=40twosheds=2Esrs=2Einfradead=2Eorg=3E?= Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 13 Aug 2018 21:16:21 -0000 Received: from twosheds.infradead.org ([2001:8b0:10b:1:21d:7dff:fe04:dbe2]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from =?utf-8?q?=3CBATV+548dd5b08e86edcb207b+5468+infradea?= =?utf-8?q?d=2Eorg+dwmw2=40twosheds=2Esrs=2Einfradead=2Eorg=3E=29?= id 1fpKA2-0006J0-GB for speck@linutronix.de; Mon, 13 Aug 2018 23:13:59 +0200 Received: from [54.239.6.177] (helo=vpn-10-85-95-167.fra53.corp.amazon.com) by twosheds.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpKA1-001wMA-Ea for speck@linutronix.de; Mon, 13 Aug 2018 21:13:57 +0000 Message-ID: <1534194836.2538.76.camel@infradead.org> Subject: [MODERATED] Re: Cache load gadgets From: David Woodhouse In-Reply-To: References: <1533736415.3615.64.camel@infradead.org> <20180808145316.GX4238@tassilo.jf.intel.com> <20180808153429.quokqzwwvnripsdj@treble> <20180813151727.GA15539@char.us.oracle.com> <20180813172303.5d3umkf3ciqrkz5b@treble> <20180813185922.GE5606@kroah.com> <20180813195404.es23nco6ydyorlyi@treble> <20180813204859.udixjnld4v33n4q4@treble> Date: Mon, 13 Aug 2018 23:13:56 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: speck@linutronix.de List-ID: On Mon, 2018-08-13 at 13:56 -0700, speck for Linus Torvalds wrote: > > On Mon, 13 Aug 2018, speck for Josh Poimboeuf wrote: > >  > > Well, but we're talking about Spectre v1 here. > > No we're not. We're just talking about loading an arbitrary cacheline,  > without any actual data leak. There is no spectre there. > > That *will* continue to happen. Exactly because of what I said: those  > things are *everywhere*. And it's not a leak on its own. It just fills the  > cacheline. > > The data leak is due to non-spectre-v1 bugs, ie "smt + L1TF". > > That's the one people should fix, or just decide "I don't care". > > Trying to avoid filling the L1 cache is a pointless stupid exercize. Don't  > do it. Right. The only way to stop that — assuming we do care — is to take certain pages out of the kernel memory map altogether so they *cannot* be in L1$ while some other potentially malicious process/guest is running.