Return-Path: Received: from mga14.intel.com ([192.55.52.115]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fMI28-0007cL-0K for speck@linutronix.de; Fri, 25 May 2018 21:05:48 +0200 Date: Fri, 25 May 2018 12:05:42 -0700 From: Andi Kleen Subject: [MODERATED] Re: [PATCH v6 1/8] L1TFv6 2 Message-ID: <20180525190542.GX4486@tassilo.jf.intel.com> References: <20180524210148.88D9861100@crypto-ml.lab.linutronix.de> <5073562d-9831-4270-14ce-c0e97c62c21e@linux.intel.com> MIME-Version: 1.0 In-Reply-To: <5073562d-9831-4270-14ce-c0e97c62c21e@linux.intel.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Fri, May 25, 2018 at 10:16:00AM -0700, speck for Dave Hansen wrote: > I'm going to harp on the patch description a bit more. I know some of Have you actually read the description of x86, l1tf: Protect PROT_NONE PTEs against speculation ? > this stuff is obvious to you at this point, but it was clear as mud to > me the first time I read it (I totally got it wrong) and I'm not > _entirely_ uninformed about this stuff. > > *Please* add a simple sentence about what the attack vector is, making > it clear that the attacker here is a guest application, and that it can > attack other apps or the guest kernel: This is all explained in the other patch that implements the PROT_NONE protection. You want to duplicate that description into every other patch? Not repeating the descriptions in other patches is common practice in Linux changelogs. Violating that principle would lead to tons of redundant descriptions, annoying everyone who actually reviews the whole patchkit. > > Mitigates: A guest application using PROT_NONE/L1TF to attack > other guest applications or guest kernel memory. > > I'd also really appreciate a simple, practical example of what this means: Already in the other description in a detailed example. -Andi