Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935414AbdCXJlK (ORCPT ); Fri, 24 Mar 2017 05:41:10 -0400 Received: from mail.skyhub.de ([5.9.137.197]:38598 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935303AbdCXJlC (ORCPT ); Fri, 24 Mar 2017 05:41:02 -0400 Date: Fri, 24 Mar 2017 10:40:34 +0100 From: Borislav Petkov To: Ard Biesheuvel Cc: Ingo Molnar , Dave Young , Baoquan He , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "x86@kernel.org" , "linux-efi@vger.kernel.org" , Thomas Garnier , Kees Cook , Andrew Morton , Masahiro Yamada , Bhupesh Sharma Subject: Re: [PATCH v2] x86/mm/KASLR: EFI region is mistakenly included into KASLR VA space for randomization Message-ID: <20170324094034.2afxgg43wlezdka5@pd.tnic> References: <1490331592-31860-1-git-send-email-bhe@redhat.com> <20170324080833.GA15200@gmail.com> <20170324083451.GC30442@x1> <20170324084609.GA6807@dhcp-128-65.nay.redhat.com> <20170324092433.GA3237@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 480 Lines: 13 On Fri, Mar 24, 2017 at 09:37:36AM +0000, Ard Biesheuvel wrote: > No. It is the firmware's EFI code, and the virtual translation applied > by the OS is made known to the firmware by means of a call into the > runtime service SetVirtualAddressMap(). We can still randomize within those 64G before calling SetVirtualAddressMap(). The question is, do we want to or need to, even? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.