From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754525AbdDNSar (ORCPT ); Fri, 14 Apr 2017 14:30:47 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:42896 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752042AbdDNSan (ORCPT ); Fri, 14 Apr 2017 14:30:43 -0400 Date: Fri, 14 Apr 2017 20:30:33 +0200 (CEST) From: Thomas Gleixner To: David Howells cc: linux-kernel@vger.kernel.org, matthew.garrett@nebula.com, linux-efi@vger.kernel.org, Kees Cook , gnomes@lxorguk.ukuu.org.uk, gregkh@linuxfoundation.org, x86@kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org Subject: Re: [PATCH 14/24] x86: Restrict MSR access when the kernel is locked down In-Reply-To: <149142339340.5101.1283602261267937893.stgit@warthog.procyon.org.uk> Message-ID: References: <149142326734.5101.4596394505987813763.stgit@warthog.procyon.org.uk> <149142339340.5101.1283602261267937893.stgit@warthog.procyon.org.uk> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 5 Apr 2017, David Howells wrote: Can you please change the subsys in $subject to 'x86/msr:' ? > From: Matthew Garrett > > Writing to MSRs should not be allowed if the kernel is locked down, since > it could lead to execution of arbitrary code in kernel mode. Based on a > patch by Kees Cook. > > Signed-off-by: Matthew Garrett > Signed-off-by: David Howells > Acked-by: Kees Cook > cc: x86@kernel.org Reviewed-by: Thomas Gleixner From mboxrd@z Thu Jan 1 00:00:00 1970 From: tglx@linutronix.de (Thomas Gleixner) Date: Fri, 14 Apr 2017 20:30:33 +0200 (CEST) Subject: [PATCH 14/24] x86: Restrict MSR access when the kernel is locked down In-Reply-To: <149142339340.5101.1283602261267937893.stgit@warthog.procyon.org.uk> References: <149142326734.5101.4596394505987813763.stgit@warthog.procyon.org.uk> <149142339340.5101.1283602261267937893.stgit@warthog.procyon.org.uk> Message-ID: To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On Wed, 5 Apr 2017, David Howells wrote: Can you please change the subsys in $subject to 'x86/msr:' ? > From: Matthew Garrett > > Writing to MSRs should not be allowed if the kernel is locked down, since > it could lead to execution of arbitrary code in kernel mode. Based on a > patch by Kees Cook. > > Signed-off-by: Matthew Garrett > Signed-off-by: David Howells > Acked-by: Kees Cook > cc: x86 at kernel.org Reviewed-by: Thomas Gleixner -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html