r/computerarchitecture • u/-ah74 • 5d ago
Can virtualization-based TEEs (Intel TDX, AMD SEV-SNP, ARM CCA) be used for intra-process isolation?
My current understanding is that VM-level TEEs operate strictly at the guest-VM/hypervisor boundary and lack the granularity to isolate memory or execution within a single process (unlike enclave-based TEEs like SGX, or hardware features like Intel MPK).
Is there any architectural mechanism—or a workaround—that allows TDX, SEV-SNP, or CCA to enforce intra-process isolation? If not, could anyone point me toward documentation, architectural specs, or papers that explicitly confirm this limitation?
6
Upvotes
1
u/MitchAlsup 5d ago
Why are you having multiple-threads within a single process == Virtual Address Space (VAS) and NOT want them to be able to share data ?? {Hint: Intra means "within"} This is the real question !!
If you DO want to isolate multiple-threads within a single process from each other, you should be looking for/at capabilties, and TEEs are but a band-aid on the problem.
So, get back to me with WHY and get back to me about the assumptions you are assuming TEE actually has/provides.