acpi: Limit access to custom_method if securelevel is set
authorMatthew Garrett <mjg59@srcf.ucam.org>
Fri, 9 Mar 2012 13:39:37 +0000 (08:39 -0500)
committerYves-Alexis Perez <corsac@debian.org>
Wed, 21 Feb 2018 15:29:03 +0000 (15:29 +0000)
commitad43fa8bb88d91afdcc92b2b726b75c0d8b55a50
treeb50eeee0ac351eb23090bea98b5a8bb4906e9dd5
parent20e2cfc905ecff2c44f350c5238f02db07e1dec8
acpi: Limit access to custom_method if securelevel is set

custom_method effectively allows arbitrary access to system memory, making
it possible for an attacker to modify the kernel at runtime. Prevent this
if securelevel has been set.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Gbp-Pq: Topic features/all/securelevel
Gbp-Pq: Name acpi-limit-access-to-custom_method-if-securelevel-is.patch
drivers/acpi/custom_method.c