From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752063AbcEQTdf (ORCPT ); Tue, 17 May 2016 15:33:35 -0400 Received: from terminus.zytor.com ([198.137.202.10]:47204 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751600AbcEQTdd (ORCPT ); Tue, 17 May 2016 15:33:33 -0400 Subject: Re: [PATCH] x86/boot: Refuse to build with data relocations To: Kees Cook References: <20160512203104.GA7425@www.outflux.net> <8bc4f1fd-c6f8-4643-becf-4f84be378807@zytor.com> <20160516103051.GA11330@gmail.com> <3b9c1266-f69b-50e4-36fd-ab3e75875293@zytor.com> <4a2a6750-5ee3-4549-a92d-f39a2c0e1aad@zytor.com> Cc: Ingo Molnar , Borislav Petkov , Baoquan He , Yinghai Lu , Thomas Gleixner , Ingo Molnar , "x86@kernel.org" , Andrew Morton , Josh Poimboeuf , Andrey Ryabinin , "H.J. Lu" , Dmitry Vyukov , LKML From: "H. Peter Anvin" Message-ID: <4db3947b-741f-c3c4-f1f2-ba6d85de9f1c@zytor.com> Date: Tue, 17 May 2016 12:33:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/17/16 12:28, Kees Cook wrote: >> >> I think there is something way more subtle going on here, and it bothers >> me exactly because it is subtle. It may be that it is OK right now, but >> there are alarm bells going on all over my brain on this. I'm going to >> stare at this for a bit and see if I can make sense of it; but if it >> turns out that what we have is something really problematic it might be >> better to apply a big hammer and avoid future breakage once and for all. > > Sounds good. I would just like to decouple this from the KASLR > improvements. This fragility hasn't changed as a result of that work, > but I'd really like to have that series put to bed -- I've spent a lot > of time already cleaning up it and other areas of the compressed > kernel code. :) > Agreed; this is orthogonal to kASLR. -hpa