Thread (4 messages) 4 messages, 2 authors, 2022-02-21

Re: [PATCH] KEYS: trusted: Avoid calling null function trusted_key_exit

From: Jarkko Sakkinen <jarkko@kernel.org>
Date: 2022-01-26 20:22:09
Also in: keyrings, linux-integrity, lkml, stable

On Wed, Jan 26, 2022 at 12:41:55PM -0600, Dave Kleikamp wrote:
If one loads and unloads the trusted module, trusted_key_exit can be
NULL. Call it through static_call_cond() to avoid a kernel trap.

Fixes: 5d0682be3189 ("KEYS: trusted: Add generic trusted keys framework")

Signed-off-by: Dave Kleikamp <redacted>
Please re-send with cc stable and the empty line removed and I'll pick it.

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