Re: [PATCH] tpm: Call tpm_put_ops() when the validation for @digests fails
From: Jarkko Sakkinen
Date: Fri Sep 13 2019 - 09:50:22 EST
On Tue, Sep 10, 2019 at 08:11:21AM -0700, Jerry Snitselaar wrote:
> On Tue Sep 10 19, Jarkko Sakkinen wrote:
> > The chip is not released when the validation for @digests fails. Add
> > tpm_put_ops() to the failure path.
> > Cc: stable@xxxxxxxxxxxxxxx
> > Reported-by: Roberto Sassu <roberto.sassu@xxxxxxxxxx>
> > Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> Reviewed-by: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>
Roberto, can you just squash this fix with yours to a single patch and
send a new patch version? You can add suggested-by tag from me to v4.