From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH] x86: make IDT read-only Date: Mon, 08 Apr 2013 15:48:21 -0700 Message-ID: <51634935.9010905@zytor.com> References: <20130408224328.GA17641@www.outflux.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130408224328.GA17641@www.outflux.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Kees Cook Cc: Alexander Duyck , Alex Shi , Jeremy Fitzhardinge , Will Drewry , Julien Tinnes , Konrad Rzeszutek Wilk , Frederic Weisbecker , Dan Rosenberg , x86@kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt , Borislav Petkov , Ingo Molnar , kernel-hardening@lists.openwall.com, Thomas Gleixner , "Paul E. McKenney" , virtualization@lists.linux-foundation.org, xen-devel@lists.xensource.com List-Id: virtualization@lists.linuxfoundation.org On 04/08/2013 03:43 PM, Kees Cook wrote: > This makes the IDT unconditionally read-only. This primarily removes > the IDT from being a target for arbitrary memory write attacks. It has > an added benefit of also not leaking (via the "sidt" instruction) the > kernel base offset, if it has been relocated. > > Signed-off-by: Kees Cook > Cc: Eric Northup Also, tglx: does this interfere with your per-cpu IDT efforts? -hpa