[PATCH 14/24] x86: Restrict MSR access when the kernel is locked down

Thomas Gleixner tglx at linutronix.de
Fri Apr 14 18:30:33 UTC 2017


On Wed, 5 Apr 2017, David Howells wrote:

Can you please change the subsys in $subject to 'x86/msr:' ?

> From: Matthew Garrett <matthew.garrett at nebula.com>
> 
> 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 <matthew.garrett at nebula.com>
> Signed-off-by: David Howells <dhowells at redhat.com>
> Acked-by: Kees Cook <keescook at chromium.org>
> cc: x86 at kernel.org

Reviewed-by: Thomas Gleixner <tglx at linutronix.de>
--
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



More information about the Linux-security-module-archive mailing list