[PATCH 5/7] efi: Get the secure boot status [ver #3]

Ard Biesheuvel ard.biesheuvel at linaro.org
Fri Nov 25 01:52:28 PST 2016


On 25 November 2016 at 09:30, David Howells <dhowells at redhat.com> wrote:
> James Bottomley <James.Bottomley at HansenPartnership.com> wrote:
>
>> Since you seem to be using this to mean "is the platform locked down?",
>> this looks to be no longer complete in the UEFI 2.6 world.  If
>> DeployedMode == 0, even if SecureBoot == 1 and SetupMode == 0, you can
>> remove the platform key by writing 1 to AuditMode and gain control of
>> the secure variables.  The lock down state becomes DeployedMode == 1,
>> SecureBoot == 1 and SetupMode == 0
>>
>> See the diagram on page 1817
>>
>> http://www.uefi.org/sites/default/files/resources/UEFI%20Spec%202_6.pdf
>
> How many pages?!
>
> Does the DeployedMode variable not exist in older versions of the UEFI spec?
>

No, it was added in 2.6



More information about the linux-arm-kernel mailing list