From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758028Ab2IUUIx (ORCPT ); Fri, 21 Sep 2012 16:08:53 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:63981 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757778Ab2IUUIv (ORCPT ); Fri, 21 Sep 2012 16:08:51 -0400 Date: Fri, 21 Sep 2012 22:08:46 +0200 From: Ingo Molnar To: Linus Torvalds Cc: "H. Peter Anvin" , Linux Kernel Mailing List , "H. Peter Anvin" , Thomas Gleixner , Kees Cook , Linda Wang , Matt Fleming Subject: Re: [PATCH 00/11] x86: Supervisor Mode Access Prevention Message-ID: <20120921200846.GA25679@gmail.com> References: <1348256595-29119-1-git-send-email-hpa@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Linus Torvalds wrote: > On Fri, Sep 21, 2012 at 12:43 PM, H. Peter Anvin wrote: > > > Supervisor Mode Access Prevention (SMAP) is a new security > > feature disclosed by Intel in revision 014 of the Intel® > > Architecture Instruction Set Extensions Programming > > Reference: > > Looks good. > > Did this find any bugs, btw? We've had a few cases where we > forgot to use the proper user access function, and code just > happened to work because it all boils down to the same thing > and never got any page faults in practice anyway.. The 4g:4g patch sweeped out most of the historic ones - so what we have are perhaps newer bugs (but those should be pretty rare, most new features are cross-arch). Thanks, Ingo