Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 17 Aug 2018 09:13:33 -0000 Received: from mail.skyhub.de ([5.9.137.197]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fqana-0001yi-B9 for speck@linutronix.de; Fri, 17 Aug 2018 11:12:02 +0200 Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id QI5T6NXnsQhZ for ; Fri, 17 Aug 2018 11:11:38 +0200 (CEST) Received: from canaan.localdomain (p50991abe.dip0.t-ipconnect.de [80.153.26.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 5E5441EC0104 for ; Fri, 17 Aug 2018 11:11:38 +0200 (CEST) Subject: [MODERATED] Re: Cache load gadgets References: <1533736415.3615.64.camel@infradead.org> <20180808145316.GX4238@tassilo.jf.intel.com> <20180808153429.quokqzwwvnripsdj@treble> <20180813151727.GA15539@char.us.oracle.com> <1534178427.2538.64.camel@infradead.org> <20180813192757.GA25361@agluck-desk> <74d17229-bb72-5d2b-7ea9-46402c0f0b07@alien8.de> <20180814150010.GB10097@tassilo.jf.intel.com> From: Julian Stecklina Message-ID: <8fbc0b4a-7c2a-e8bb-2da4-fc7ea67085b7@alien8.de> Date: Fri, 17 Aug 2018 11:11:33 +0200 MIME-Version: 1.0 In-Reply-To: <20180814150010.GB10097@tassilo.jf.intel.com> Content-Type: multipart/mixed; boundary="LIVSQet3jHeKw4ppxMr85sWLTaxgjl8k8"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --LIVSQet3jHeKw4ppxMr85sWLTaxgjl8k8 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Content-Language: en-US On 08/14/2018 05:00 PM, speck for Andi Kleen wrote: >> That's unfortunately not sufficient. You could still end up pulling >> arbitrary memory in the cache by misspeculating in the kernel. In the > You claim that, but where are the exploits? > > There is lots of theoretical speculation on how attacks could > be chained, but in practice everyone who tried it found it > quite difficult.=20 > > All the newer attacks are usually somewhat fragile to start > with, and if you start combining them they become more and more > difficult. At some point theoretical turns into impractical. L1TF in combination with a suitable cache load gadget on a HT-enabled system is very practical. As we are not going to fix pure cache load gadgets in the kernel, this leaves two options for the security minded: a) Turn off HT and take a large performance hit for some workloads or b) carry their own patches on top of upstream. I guess there are quite some people in the b) camp at the moment. Julian --LIVSQet3jHeKw4ppxMr85sWLTaxgjl8k8--