diff options
| author | Matthew Garrett <[email protected]> | 2019-08-20 00:17:49 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2019-08-20 04:54:16 +0000 |
| commit | 95f5e95f41dff31b2a4566c5a8975c08a49ae4e3 (patch) | |
| tree | 1d11399a1d98cf0cf2b338f45567781559034e12 /drivers/acpi/custom_method.c | |
| parent | x86: Lock down IO port access when the kernel is locked down (diff) | |
| download | kernel-95f5e95f41dff31b2a4566c5a8975c08a49ae4e3.tar.gz kernel-95f5e95f41dff31b2a4566c5a8975c08a49ae4e3.zip | |
x86/msr: Restrict MSR access when the kernel is locked down
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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Acked-by: Kees Cook <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
cc: [email protected]
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'drivers/acpi/custom_method.c')
0 files changed, 0 insertions, 0 deletions
