ACPI: configfs: Disallow loading ACPI tables when locked down

Like other vectors already patched, this one here allows the root
user to load ACPI tables, which enables arbitrary physical address
writes, which in turn makes it possible to disable lockdown.

Prevents this by checking the lockdown status before allowing a new
ACPI table to be installed. The link in the trailer shows a PoC of
how this might be used.

Cc: 5.4+ <> # 5.4+
Signed-off-by: Jason A. Donenfeld <>
Signed-off-by: Rafael J. Wysocki <>
1 file changed