Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964869AbbKEW14 (ORCPT ); Thu, 5 Nov 2015 17:27:56 -0500 Received: from mail.skyhub.de ([78.46.96.112]:48743 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750940AbbKEW1z (ORCPT ); Thu, 5 Nov 2015 17:27:55 -0500 Date: Thu, 5 Nov 2015 23:27:47 +0100 From: Borislav Petkov To: Linus Torvalds Cc: Dave Jones , Ingo Molnar , Linux Kernel Mailing List , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , Andy Lutomirski , Denys Vlasenko Subject: Re: [GIT PULL] x86/mm changes for v4.4 Message-ID: <20151105222747.GG3579@pd.tnic> References: <20151103111649.GA3477@gmail.com> <20151104233907.GA25925@codemonkey.org.uk> <20151105021710.GA22941@codemonkey.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1030 Lines: 28 On Thu, Nov 05, 2015 at 02:04:55PM -0800, Linus Torvalds wrote: > and there's quite a few other pages there that are RW but not marked > NX. I suspect they come from the EFI runtime services because the Yeah, at least the EFI mappings would need a bit more fiddling until they're NX: https://lkml.kernel.org/r/20151012124113.GD2579@codeblueprint.co.uk Perhaps we don't even have to make them NX - just set the PGD entry containing them before the EFI call and unset it after its done. I.e., something like that. > pattern seems to match what I see in that area, but there's at least a > PSE mapping at START_KERNEL_map too, etc. Maybe we should default n CONFIG_DEBUG_WX until stuff has been fixed...? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/