Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 13 Aug 2018 19:54:16 -0000 Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fpIuq-00051C-3k for speck@linutronix.de; Mon, 13 Aug 2018 21:54:13 +0200 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9A8117D84D for ; Mon, 13 Aug 2018 19:54:05 +0000 (UTC) Received: from treble (ovpn-124-166.rdu2.redhat.com [10.10.124.166]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 756BD10073A1 for ; Mon, 13 Aug 2018 19:54:05 +0000 (UTC) Date: Mon, 13 Aug 2018 14:54:04 -0500 From: Josh Poimboeuf Subject: [MODERATED] Re: Cache load gadgets Message-ID: <20180813195404.es23nco6ydyorlyi@treble> 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> MIME-Version: 1.0 In-Reply-To: <20180813185922.GE5606@kroah.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Mon, Aug 13, 2018 at 08:59:22PM +0200, speck for Greg KH wrote: > On Mon, Aug 13, 2018 at 12:23:03PM -0500, speck for Josh Poimboeuf wrote: > > On Mon, Aug 13, 2018 at 11:17:27AM -0400, speck for Konrad Rzeszutek Wilk wrote: > > > On Wed, Aug 08, 2018 at 10:34:29AM -0500, speck for Josh Poimboeuf wrote: > > > > On Wed, Aug 08, 2018 at 07:53:16AM -0700, speck for Andi Kleen wrote: > > > > > On Wed, Aug 08, 2018 at 02:53:35PM +0100, speck for David Woodhouse wrote: > > > > > > If we aren't disabling hyperthreading, then we get to lose sleep over > > > > > > what a VM guest can trick us into loading into L1$ while a sibling runs > > > > > > the attack. > > > > > > > > > > > > For this they only need half a Spectre-v1 gadget; they only need to > > > > > > load something into L1. We've tweaked our scanner and trawled through > > > > > > the false positives, and we have a handful of patches which look > > > > > > something like the one below. > > > > > > > > > > > > Should we be getting these into the tree for next Tuesday's release? > > > > > > > > > > I don't think it's absolutely needed for Tuesday, can go in slower. > > > > > > > > > > There will be a range of enhancements for L1TF beyond Tuesday anyways. > > > > > > > > Yet this patch is trivial, no harm in merging it now. We already have a > > > > similar one in RHEL (and several hundred more like it). > > > > > > Josh, and David, would it be possible to include me (konrad.wilk@oracle.com), > > > jamie.iles@oracle.com, liran.alon@oracle.com on anything that is sent > > > after Tuesday? > > > > > > As in we want to help in analyzing and reviewing them to minimize the > > > effect on the upstream kernel for this particular nasty attack and the > > > above folks aren't reading every LKML email :-). > > > > Sure, I asked Jeremy Cline (a Red Hatter whose been posting some of > > these) to add you all to CC for future postings. And I'll do so as > > well. > > And you all need to remember to cc: stable on these, I'm not seeing that > happen :( Ok, I relayed that message to Jeremy. > > Though there have been others doing these, so the best way to catch all > > of them would be to create a mail filter for, e.g. "array_index_nospec" > > and "barrier_nospec". > > I do search for these and not many are making it into the tree. > Certainly not 300... It will take time. Jeremy has been out the last few weeks and I've been preoccupied with L1TF. And BTW, it will be a lot more than 300... -- Josh