Thread (146 messages) 146 messages, 15 authors, 2017-12-07

[PATCH 12/27] x86/msr: Restrict MSR access when the kernel is locked down

From: Alan Cox <hidden>
Date: 2017-10-20 18:10:00
Also in: linux-efi, lkml

On Thu, 19 Oct 2017 15:52:04 +0100
David Howells [off-list ref] wrote:
From: Matthew Garrett <redacted>

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.
There are a load of standard tools that use this so I think you are going
to need a whitelist. Can you at least log *which* MSR in the failing case
so a whitelist can be built over time ?

Alan
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help