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@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt