crypto/ccp: Properly NULL variables on sev exit
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | crypto/ccp: Cleanup misc_dev on sev_exit()drivers/ | +3 | 1 reply | |
| 2/2 | crypto/ccp: Cleanup sp_dev_master in psp_dev_destroy()drivers/ drivers/ drivers/ | +13 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Tom Lendacky |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] crypto/ccp: Properly NULL variables on sev exit
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(-)
Signature · 1 line
2.18.2