Messages in this thread | | | Date | Mon, 21 Feb 2022 00:10:06 +0100 | From | Jarkko Sakkinen <> | Subject | Re: [PATCH] KEYS: trusted: fix crash when TPM/TEE are built as module |
| |
On Sun, Feb 06, 2022 at 11:36:48AM +0100, Ahmad Fatoum wrote: > Hello Tong, > > On 04.02.22 21:03, Tong Zhang wrote: > > when TCG_TPM and TEE are built as module, trusted_key_sources will be an > > empty array, loading it won't do what it is supposed to do and unloading > > it will cause kernel crash. > > Jarkko reported picking up an equivalent fix two months ago: > https://lkml.kernel.org/keyrings/YadRAWbl2aiapf8l@iki.fi/ > > But it seems to have never made it to Linus.
Sorry, was not done purposely. I pushed the original fix.
BR, Jarkko
| |