Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935564Ab3DISxG (ORCPT ); Tue, 9 Apr 2013 14:53:06 -0400 Received: from mail-oa0-f41.google.com ([209.85.219.41]:41603 "EHLO mail-oa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932780Ab3DISxD (ORCPT ); Tue, 9 Apr 2013 14:53:03 -0400 MIME-Version: 1.0 In-Reply-To: <51646302.2030608@zytor.com> References: <20130408224328.GA17641@www.outflux.net> <51634935.9010905@zytor.com> <51645D6F.7070705@zytor.com> <51646054.3090509@zytor.com> <51646302.2030608@zytor.com> Date: Tue, 9 Apr 2013 11:53:02 -0700 X-Google-Sender-Auth: WRaRLk-kMvJXhf082CuJ2li06cM Message-ID: Subject: Re: [kernel-hardening] Re: [PATCH] x86: make IDT read-only From: Kees Cook To: "H. Peter Anvin" Cc: "kernel-hardening@lists.openwall.com" , Ingo Molnar , LKML , "x86@kernel.org" , Konrad Rzeszutek Wilk , Jeremy Fitzhardinge , Marcelo Tosatti , Alex Shi , Borislav Petkov , Alexander Duyck , Frederic Weisbecker , Steven Rostedt , "Paul E. McKenney" , "xen-devel@lists.xensource.com" , "virtualization@lists.linux-foundation.org" , Dan Rosenberg , Julien Tinnes , Will Drewry , Eric Northup Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 853 Lines: 25 On Tue, Apr 9, 2013 at 11:50 AM, H. Peter Anvin wrote: > On 04/09/2013 11:46 AM, Kees Cook wrote: >> >> Ah-ha! Yes, I see now when comparing the debug/kernel_page_tables >> reports. It's just the High Kernel Mapping that we care about. >> Addresses outside that range are less of a leak. Excellent, then GDT >> may not be a problem. Whew. >> > > It does beg the question if we need to randomize kmalloc... which could > have issues by itself. Agreed, but this should be a separate issue. As is the fact that GDT is writable and a discoverable target. -Kees -- Kees Cook Chrome OS Security -- 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/