[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200312123816.GA28885@gondor.apana.org.au>
Date: Thu, 12 Mar 2020 23:38:16 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: John Allen <john.allen@....com>
Cc: linux-crypto@...r.kernel.org, thomas.lendacky@....com,
davem@...emloft.net, brijesh.singh@....com, bp@...e.de,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] crypto/ccp: Properly NULL variables on sev exit
On Tue, Mar 03, 2020 at 07:57:22AM -0600, John Allen wrote:
> Stale pointers left in static variables misc_dev and sp_dev_master will
> trigger use-after-free error when DEBUG_TEST_DRIVER_REMOVE is configured.
>
> John Allen (2):
> crypto/ccp: Cleanup misc_dev on sev exit
> crypto/ccp: Cleanup sp_dev_master on psp device destroy
>
> drivers/crypto/ccp/psp-dev.c | 3 +++
> drivers/crypto/ccp/sev-dev.c | 6 +++---
> drivers/crypto/ccp/sp-dev.h | 1 +
> drivers/crypto/ccp/sp-pci.c | 9 +++++++++
> 4 files changed, 16 insertions(+), 3 deletions(-)
All applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists