[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AADFC21-2BD4-4925-A74B-D366A20D6FF0@live.com>
Date: Fri, 15 Apr 2022 06:17:05 +0000
From: Aditya Garg <gargaditya08@...e.com>
To: Mimi Zohar <zohar@...ux.ibm.com>
CC: "jarkko@...nel.org" <jarkko@...nel.org>,
"dmitry.kasatkin@...il.com" <dmitry.kasatkin@...il.com>,
"jmorris@...ei.org" <jmorris@...ei.org>,
"serge@...lyn.com" <serge@...lyn.com>,
"ast@...nel.org" <ast@...nel.org>,
"daniel@...earbox.net" <daniel@...earbox.net>,
"andrii@...nel.org" <andrii@...nel.org>,
"kafai@...com" <kafai@...com>,
"songliubraving@...com" <songliubraving@...com>,
"yhs@...com" <yhs@...com>,
"john.fastabend@...il.com" <john.fastabend@...il.com>,
"kpsingh@...nel.org" <kpsingh@...nel.org>,
"linux-integrity@...r.kernel.org" <linux-integrity@...r.kernel.org>,
"keyrings@...r.kernel.org" <keyrings@...r.kernel.org>,
"linux-security-module@...r.kernel.org"
<linux-security-module@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"bpf@...r.kernel.org" <bpf@...r.kernel.org>,
Orlando Chamberlain <redecorating@...tonmail.com>,
"admin@...eit.net" <admin@...eit.net>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: Re: [PATCH v5] efi: Do not import certificates from UEFI Secure Boot
for T2 Macs
> Based on your explanation, there seems to be two issues - inability to
> read EFI variables, "users can't add their own" keys. Neither of which
> mean "a non-standard implementation of secure boot". Please fix the
> "cause" and "affect" in the patch description and comments.
Sending a v6
Also, I guess I should just remove the secure boot bit, cause secure boot, though kinda related, doesn’t have much role here.
The “cause” is reading of specific UEFI variables, like db, dbx etc, and the “affect” being crashing of EFI Runtime Services.
The “fix”, simply prevent reading of these variables
The role of secure boot (Which I have removed in the description of v6, cause its not of much significance in regard to this patch) :-
Loading of these certificates is required to “boot securely”. By disabling loading of these certificates, we are technically preventing booting Linux “securely” on these machines. But, this shouldn’t be a matter to worry about. The reason being, Apple doesn’t allow anything other that macOS or Windows to boot if Secure Boot in turned on, on these Macs, making it impossible to boot Linux with secure boot on, unless Apple itself updates the firmware on the T2 Chip, to support Linux as well, which is highly unlikely.
>
> thanks,
>
> Mimi
Powered by blists - more mailing lists