diff options
author | Matthew Garrett <matthewgarrett@google.com> | 2019-08-20 02:18:04 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2019-08-20 06:54:17 +0200 |
commit | 1957a85b0032a81e6482ca4aab883643b8dae06e (patch) | |
tree | 5adf9fd932190f269677c6a29090ebbec6569a6a /fs | |
parent | tracefs: Restrict tracefs when the kernel is locked down (diff) | |
download | linux-1957a85b0032a81e6482ca4aab883643b8dae06e.tar.xz linux-1957a85b0032a81e6482ca4aab883643b8dae06e.zip |
efi: Restrict efivar_ssdt_load when the kernel is locked down
efivar_ssdt_load allows the kernel to import arbitrary ACPI code from an
EFI variable, which gives arbitrary code execution in ring 0. Prevent
that when the kernel is locked down.
Signed-off-by: Matthew Garrett <mjg59@google.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: linux-efi@vger.kernel.org
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions