Lune

USENIX ATC2022顶会

EPK: Scalable and Efficient Memory Protection Keys

Jinyu Gu, Hao Li, Wentai Li, Yubin Xia, Haibo Chen

摘要

As a hardware mechanism for facilitating intra-process memory isolation, Intel Memory Protection Keys (MPK) has been leveraged to efficiently improve the isolation, security, or performance of the software. However, it can only support 16 isolated memory domains, which significantly limits its applicability in many scenarios.

In this paper, we present EPK which leverages off-theshelf virtualization hardware features to extend the number of available protection domains in MPK. To demonstrate the effectiveness of EPK, we apply it in three scenarios, including better memory isolation for server applications as well as Non-Volatile Memory (NVM) applications, and a fast Inter-Process Communication (IPC) mechanism for microkernels. The evaluation results show that EPK can scale to provide hundreds of isolated domains. It can outperform the stateof-the-art (libmpk) by up to two orders of magnitude and usually achieve 95% of the performance of the system with no memory isolation.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 18 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • ISA-Grid: Architecture of Fine-grained Privilege Control for Instructions and Registers 引用了 Enforcing Least Privilege Memory Views for Multithreaded Applications
  • ISA-Grid: Architecture of Fine-grained Privilege Control for Instructions and Registers 引用了 Harmonizing Performance and Isolation in Microkernels with Efficient Intra-kernel Isolation and Communication
  • ISA-Grid: Architecture of Fine-grained Privilege Control for Instructions and Registers 引用了 IMIX: In-Process Memory Isolation EXtension
  • ISA-Grid: Architecture of Fine-grained Privilege Control for Instructions and Registers 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Endokernel: A Thread Safe Monitor for Lightweight Subprocess Isolation 引用了 Enforcing Least Privilege Memory Views for Multithreaded Applications
  • Endokernel: A Thread Safe Monitor for Lightweight Subprocess Isolation 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • LemonNFV: Consolidating Heterogeneous Network Functions at Line Speed 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Going beyond the Limits of SFI: Flexible and Secure Hardware-Assisted In-Process Isolation with HFI 引用了 Enforcing Least Privilege Memory Views for Multithreaded Applications
  • Going beyond the Limits of SFI: Flexible and Secure Hardware-Assisted In-Process Isolation with HFI 引用了 IMIX: In-Process Memory Isolation EXtension
  • Going beyond the Limits of SFI: Flexible and Secure Hardware-Assisted In-Process Isolation with HFI 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • MOAT: Towards Safe BPF Kernel Extension 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Harmonizing Performance and Isolation in Microkernels with Efficient Intra-kernel Isolation and Communication 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK) 引用了 Enforcing Least Privilege Memory Views for Multithreaded Applications
  • ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK) 引用了 IMIX: In-Process Memory Isolation EXtension
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper18

  1. Going beyond the Limits of SFI: Flexible and Secure Hardware-Assisted In-Process Isolation with HFIShravan Narayan, Tal Garfinkel, Mohammadkazem Taram, Joey Rudek 等ASPLOS 2023 · 27 次引用
  2. LemonNFV: Consolidating Heterogeneous Network Functions at Line SpeedHao Li, Yihan Dang, Guangda Sun, Guyue Liu 等NSDI 2023 · 21 次引用
  3. MOAT: Towards Safe BPF Kernel ExtensionHongyi Lu, Shuai Wang, Yechang Wu, Wanning He 等USENIX Security 2024 · 18 次引用
  4. ISA-Grid: Architecture of Fine-grained Privilege Control for Instructions and RegistersShulin Fan, Zhichao Hua, Yubin Xia, Haibo Chen 等ISCA 2023 · 9 次引用
  5. Endokernel: A Thread Safe Monitor for Lightweight Subprocess IsolationFangfei Yang, Bumjin Im, Weijie Huang, Kelly Kaoudis 等USENIX Security 2024 · 8 次引用

它引用的 Paper14

  1. ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)Anjo Vahldiek-Oberwagner, Eslam Elnikety, Nuno O. Duarte, Michael Sammler 等USENIX Security 2019 · 247 次引用
  2. xMP: Selective Memory Protection for Kernel and User SpaceSergej Proskurin, Marius Momeu, Seyedhamed Ghavamnia, Vasileios P. Kemerlis 等S&P 2020 · 89 次引用
  3. IMIX: In-Process Memory Isolation EXtensionTommaso Frassetto, Patrick Jauernig, Christopher Liebchen, Ahmad-Reza SadeghiUSENIX Security 2018 · 77 次引用
  4. Enforcing Least Privilege Memory Views for Multithreaded ApplicationsTerry Ching-Hsiang Hsu, Kevin J. Hoffman, Patrick Eugster, Mathias PayerCCS 2016 · 71 次引用
  5. Harmonizing Performance and Isolation in Microkernels with Efficient Intra-kernel Isolation and CommunicationJinyu Gu, Xinyue Wu, Wentai Li, Nian Liu 等USENIX ATC 2020 · 51 次引用

相关 Paper

  1. VDom: Fast and Unlimited Virtual Domains on Multiple ArchitecturesZiqi Yuan, Siyu Hong, Rui Chang, Yajin Zhou 等ASPLOS 2023 · 19 次引用
  2. Hardware-Based Domain Virtualization for Intra-Process Isolation of Persistent Memory ObjectsYuanchao Xu, Chencheng Ye, Yan Solihin, Xipeng ShenISCA 2020 · 24 次引用
  3. SpecMPK: Efficient In-Process Isolation with Speculative and Secure Permission Update InstructionDebpratim Adak, Huiyang Zhou, Eric Rotenberg, Amro AwadHPCA 2025 · 3 次引用
  4. Limitations and Opportunities of Modern Hardware Isolation MechanismsXiangdong Chen, Zhaofeng Li, Tirth Jain, Vikram Narayanan 等USENIX ATC 2024 · 7 次引用
  5. μSwitch: Fast Kernel Context Isolation with Implicit Context SwitchesDinglan Peng, Congyu Liu, Tapti Palit, Pedro Fonseca 等S&P 2023
黄昏的海面,两侧是细线勾勒的悬崖