]> www.infradead.org Git - users/jedix/linux-maple.git/commit
acpi: Limit access to custom_method if securelevel is set
authorMatthew Garrett <matthew.garrett@nebula.com>
Mon, 9 Sep 2013 22:49:40 +0000 (15:49 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 10 Aug 2015 16:24:06 +0000 (09:24 -0700)
commit3c7af10dc5281fbef68a2febb4af5e7ff88fd816
treec78f7551c1961ecb42a8e9e3b5211969ccbb4eb7
parent3fab26a9585e895ae41ce6462bc389327f9a0e63
acpi: Limit access to custom_method if securelevel is set

Orabug: 21539498

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 <matthew.garrett@nebula.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/acpi/custom_method.c