What does NTSTATUS 0xC00004A2 (STATUS_ENCLAVE_VIOLATION) mean?

 
Previous Next
STATUS_EXTERNAL_SYSKEY_NOT_SUPPORTED STATUS_FILE_PROTECTED_UNDER_DPL

STATUS_ENCLAVE_VIOLATION

Secure enclave memory policy was violated

Windows returns STATUS_ENCLAVE_VIOLATION while enforcing the secure-enclave lifecycle or memory boundary. Code attempted to access protected enclave memory from an invalid context or with disallowed permissions. Treat this as a trust-boundary failure, not a normal access-denied retry.

Preserve the faulting address and instruction, enclave lifecycle state and access direction. Audit pointer validation and host/enclave marshalling.

Treat the first violation as the primary evidence. Later enclave failures may only reflect teardown after the policy breach, so preserve the original exception context and access direction before cleanup changes state.

References


Looking for a different code? Search another status or error code.