x86/sgx: Bug fixes for v23
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest12 patches 19 repliesApplied
- v14 patches 3 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | x86/sgx: Pass EADD the kernel's virtual address for the source pagearch/ | +2 | 3 replies | |
| 2/12 | x86/sgx: Check the validity of the source page address for EADDarch/ | +3 | 0 replies | |
| 3/12 | x86/sgx: Fix EEXTEND error handlingarch/ | +16 | 1 reply | |
| 4/12 | x86/sgx: Drop mmap_sem before EEXTENDing an enclave pagearch/ | +5 | 1 reply | |
| 5/12 | x86/sgx: Remove redundant message from WARN on non-emtpy mm_listarch/ | +1 | 1 reply | |
| 6/12 | x86/sgx: Fix a memory leak in sgx_encl_destroy()arch/ | +12 | 1 reply | |
| 7/12 | x86/sgx: WARN on any non-zero return from __eremove()arch/ | +1 | 0 replies | |
| 8/12 | x86/sgx: WARN only once if EREMOVE failsarch/ | +1 | 0 replies | |
| 9/12 | x86/sgx: Split second half of sgx_free_page() to a separate helperarch/ arch/ | +35 | 3 replies | |
| 10/12 | x86/sgx: Use the post-reclaim variant of __sgx_free_page()arch/ arch/ arch/ | +9 | 0 replies | |
| 11/12 | x86/sgx: Don't update free page count if EPC section allocation failsarch/ | +2 | 0 replies | |
| 12/12 | x86/sgx: Reinstate per EPC section free page countsarch/ arch/ arch/ | +24 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH for_v23 v3 00/12] x86/sgx: Bug fixes for v23
As requested, the merge of the EPC and EADD bug fix series. The headliners are two critical bug fixes for a memory leak in sgx_encl_destroy() and a livelock due to the EPC page free count getting corrupted.
Sean Christopherson (12):
x86/sgx: Pass EADD the kernel's virtual address for the source page x86/sgx: Check the validity of the source page address for EADD x86/sgx: Fix EEXTEND error handling
x86/sgx: Drop mmap_sem before EEXTENDing an enclave page x86/sgx: Remove redundant message from WARN on non-emtpy mm_list x86/sgx: Fix a memory leak in sgx_encl_destroy()
x86/sgx: WARN on any non-zero return from __eremove() x86/sgx: WARN only once if EREMOVE fails
x86/sgx: Split second half of sgx_free_page() to a separate helper x86/sgx: Use the post-reclaim variant of __sgx_free_page() x86/sgx: Don't update free page count if EPC section allocation fails x86/sgx: Reinstate per EPC section free page counts
arch/x86/kernel/cpu/sgx/encl.c | 29 ++++++++++------- arch/x86/kernel/cpu/sgx/ioctl.c | 52 +++++++++++++++-------------- arch/x86/kernel/cpu/sgx/main.c | 54 ++++++++++++++++++++++--------- arch/x86/kernel/cpu/sgx/reclaim.c | 8 ++--- arch/x86/kernel/cpu/sgx/sgx.h | 19 ++++++++++- 5 files changed, 106 insertions(+), 56 deletions(-)
Signature · 1 line
2.22.0