Closed dimakuv closed 3 years ago
Untrusted RSP value (SSA[0].ursp) is not sanitized by the SGX hardware upon EENTER/ERESUME and may be controlled by the attacker. To prevent any possibility of tampering with this value, we simply disallow it to point inside the SGX enclave.
SSA[0].ursp
All tests must pass.
This change is
Description of the changes
Untrusted RSP value (
SSA[0].ursp
) is not sanitized by the SGX hardware upon EENTER/ERESUME and may be controlled by the attacker. To prevent any possibility of tampering with this value, we simply disallow it to point inside the SGX enclave.How to test this PR?
All tests must pass.
This change is