SoftVN: efficient memory protection via software-provided version numbers
Muhammad Umar, Weizhe Hua, Zhiru Zhang, G. Edward Suh
Abstract
Trusted execution environments (TEEs) in processors protect off-chip memory (DRAM), and ensure its confidentiality and integrity using memory encryption and integrity verification. However, such memory protection can incur significant performance overhead as it requires additional memory accesses for protection metadata such as version numbers (VNs) and MACs. This paper proposes SoftVN, an extension to the current memory protection schemes, which significantly reduces the overhead of today's state-of-the-art by allowing software to provide VNs for memory accesses. For memory-intensive applications with simple memory access patterns for large data structures, the VNs only need to be maintained for data structures instead of individual cache blocks and can be tracked in software with low efforts. Off-chip VN accesses for memory reads can be removed if they are tracked and provided by software. We evaluate SoftVN by simulating a diverse set of memory-intensive applications, including deep learning, graph processing, and bioinformatics algorithms. The experimental results show that SoftVN reduces the memory protection overhead by 82% compared to the baseline similar to Intel SGX, and improves the performance by 33% on average. The maximum performance improvement can be as high as 65%.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites Toleo: Scaling Freshness to Tera-scale Memory Using CXL and PIM
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites Keystone: an open framework for architecting trusted execution environments
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites TNPU: Supporting Trusted Execution with Tree-less Integrity Protection for Neural Processing Unit
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites Plutus: Bandwidth-Efficient Memory Security for GPUs
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Efficient Security Support for CXL Memory through Adaptive Incremental Offloaded (Re-)Encryption cites Toleo: Scaling Freshness to Tera-scale Memory Using CXL and PIM
- Efficient Security Support for CXL Memory through Adaptive Incremental Offloaded (Re-)Encryption cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
- Efficient Security Support for CXL Memory through Adaptive Incremental Offloaded (Re-)Encryption cites TNPU: Supporting Trusted Execution with Tree-less Integrity Protection for Neural Processing Unit
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing cites Keystone: an open framework for architecting trusted execution environments
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing cites TNPU: Supporting Trusted Execution with Tree-less Integrity Protection for Neural Processing Unit
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing cites Plutus: Bandwidth-Efficient Memory Security for GPUs
- Toleo: Scaling Freshness to Tera-scale Memory Using CXL and PIM cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
- Toleo: Scaling Freshness to Tera-scale Memory Using CXL and PIM cites TNPU: Supporting Trusted Execution with Tree-less Integrity Protection for Neural Processing Unit
- Keystone: an open framework for architecting trusted execution environments cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Enabling Rack-scale Confidential Computing using Heterogeneous Trusted Execution Environment cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Plutus: Bandwidth-Efficient Memory Security for GPUs cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
- Plutus: Bandwidth-Efficient Memory Security for GPUs cites TNPU: Supporting Trusted Execution with Tree-less Integrity Protection for Neural Processing Unit
Cited by top-tier papers6
- Plutus: Bandwidth-Efficient Memory Security for GPUsRahaf Abdullah, Huiyang Zhou, Amro AwadHPCA 2023 · 13 citations
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor ComputingHusheng Han, Xinyao Zheng, Yuanbo Wen, Yifan Hao et al.ASPLOS 2024 · 12 citations
- Toleo: Scaling Freshness to Tera-scale Memory Using CXL and PIMJuechu Dong, Jonah Rosenblum, Satish NarayanasamyASPLOS 2024 · 8 citations
- Efficient Security Support for CXL Memory through Adaptive Incremental Offloaded (Re-)EncryptionChuanhan Li, Jishen Zhao, Yuanchao XuMICRO 2025 · 5 citations
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous ProcessorsSunho Lee, Seonjin Na, Jeongwon Choi, Jinwon Pyo et al.ISCA 2025 · 2 citations
Builds on5
- Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 citations
- Keystone: an open framework for architecting trusted execution environmentsDayeol Lee, David Kohlbrenner, Shweta Shinde, Krste Asanovic et al.EuroSys 2020 · 381 citations
- Enabling Rack-scale Confidential Computing using Heterogeneous Trusted Execution EnvironmentJianping Zhu, Rui Hou, XiaoFeng Wang, Wenhao Wang et al.S&P 2020 · 95 citations
- TNPU: Supporting Trusted Execution with Tree-less Integrity Protection for Neural Processing UnitSunho Lee, Jungwoo Kim, Seonjin Na, Jongse Park et al.HPCA 2022 · 37 citations
- Common Counters: Compressed Encryption Counters for Secure GPU MemorySeonjin Na, Sunho Lee, Yeonjae Kim, Jongse Park et al.HPCA 2021 · 34 citations
Related papers
- MGX: near-zero overhead memory protection for data-intensive acceleratorsWeizhe Hua, Muhammad Umar, Zhiru Zhang, G. Edward SuhISCA 2022 · 27 citations
- GuardNN: secure accelerator architecture for privacy-preserving deep learningWeizhe Hua, Muhammad Umar, Zhiru Zhang, G. Edward SuhDAC 2022 · 28 citations
- vSGX: Virtualizing SGX Enclaves on AMD SEVShixuan Zhao, Mengyuan Li, Yinqian Zhang, Zhiqiang LinS&P 2022 · 32 citations
- Attest the Whole, Verify Incrementally: Whole-Program Integrity via Lazy Verification in Trusted Execution EnvironmentsZhen Huang, Junhong Cheng, Yijia Ma, Guoxing Chen et al.CCS 2026
- The Road to Trust: Building Enclaves within Confidential VMsWenhao Wang, Linke Song, Benshan Mei, Shuang Liu et al.NDSS 2025
