[PATCH 0/5][jammy/linux-azure] SGX fixes for 5.15 Azure tuned kernel

Tim Gardner tim.gardner at canonical.com
Wed Jun 22 14:24:56 UTC 2022

BugLink: https://bugs.launchpad.net/bugs/1979541

SRU Justification


https://lore.kernel.org/linux-sgx/dd7c1402-eeb9-cea5-25c6-ab19e8031991@intel.com/T/ = This
fix introduced a bug and fixed and reverted by series added to 5.19

Backport several SGX fixes.

x86/sgx: Ensure no data in PCMD page after truncate
x86/sgx: Fix race between reclaimer and page fault handler
x86/sgx: Obtain backing storage page with enclave mutex held
x86/sgx: Mark PCMD page as dirty when modifying contents
x86/sgx: Disconnect backing page references from dirty status

[Test Plan]

Microsoft tested, "Update from engineer - I was unable to reproduce the softlock issue after the patches were installed"

[Where things could go wrong]

These patches could cause a different soft lockup.

[Other Info]

SF: #00338537

More information about the kernel-team mailing list