LayerTEE: Decoupled Memory Protection for Scalable Multilayer Communication on RISC-V
Abstract
The Trusted Execution Environment (TEE) has been widely implemented by modern hardware vendors to protect security and privacy-sensitive applications and data, such as Intel SGX/TDX, ARM TrustZone, AMD SEV, and RISC-V Penglai. However, existing TEE systems face challenges in balancing memory isolation among security, performance, and scalability requirements. Segment-based memory isolation mechanisms, like RISC-V PMP, struggle to scale effectively to the large number of segments needed for confidential cloud and data center environments. On the other hand, table-based isolation methods, such as page tables, combine address translation with memory protection, leading to inefficient cross-enclave communication and potential security vulnerabilities like Rowhammer attacks. This paper introduces a novel TEE system, which decouples memory protection (to segments) from address translation (to page tables). This design improves communication performance by dynamically adjusting memory protection capabilities, without sacrificing application compatibility. LayerTEE enhances enclave security and scalability by designing a multi-layer segment-based isolation mechanism. We have built a prototype of based on FPGA, incorporating hardware extensions and software support. The evaluation demonstrates that significantly surpasses existing TEE solutions, achieving three orders of magnitude lower communication latency and 10x greater scalability while maintaining robust security guarantees.
BibTeX
@article{pan2026layertee,
author = {Shangjie Pan and Yugang Yang and Xinlv Peng and Xiquan Zhao and Dong Du and Hang Lü and Yubin Xia and Xiaowei Li},
title = {{LayerTEE: Decoupled Memory Protection for Scalable Multilayer Communication on RISC-V}},
journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
year = {2026},
doi = {10.1109/tcad.2025.3575014},
}Ask Althea to put this paper to the test.
Loading related content...