[PATCH v8 1/3] tpm: Return tpm2_sessions_init() when null key creation fails

Jarkko Sakkinen jarkko at kernel.org
Mon Oct 28 15:27:21 UTC 2024


On Mon Oct 28, 2024 at 3:00 PM EET, Stefan Berger wrote:
>
>
> On 10/28/24 1:49 AM, Jarkko Sakkinen wrote:
> > Do not continue tpm2_sessions_init() further if the null key pair creation
> > fails.
> > 
> > Cc: stable at vger.kernel.org # v6.10+
> > Fixes: d2add27cf2b8 ("tpm: Add NULL primary creation")
> > Signed-off-by: Jarkko Sakkinen <jarkko at kernel.org>
>
> Reviewed-by: Stefan Berger <stefanb at linux.ibm.com>

Thanks, patch are applied to

https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/log/?h=next

I will amend these with any further changes (such as tags).

BR, Jarkko



More information about the Linux-security-module-archive mailing list