Thread (5 messages) 5 messages, 3 authors, 2022-02-20

Re: [PATCH] KEYS: trusted: fix crash when TPM/TEE are built as module

flat view

From: Jarkko Sakkinen <jarkko@kernel.org>
Date: 2022-02-20 23:09:37
Also in: keyrings, linux-integrity, lkml

On Sun, Feb 06, 2022 at 11:36:48AM +0100, Ahmad Fatoum wrote:
Hello Tong,

On 04.02.22 21:03, Tong Zhang wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help