CAP-VMs: Capability-Based Isolation and Sharing in the Cloud
Vasily A. Sartakov, Lluís Vilanova, David M. Eyers, Takahiro Shinagawa, Peter R. Pietzuch
摘要
Cloud stacks must isolate application components, while permitting efficient data sharing between components deployed on the same physical host. Traditionally, the MMU enforces isolation and permits sharing at page granularity. MMU approaches, however, lead to cloud stacks with large TCBs in kernel space, and page granularity requires inefficient OS interfaces for data sharing. Forthcoming CPUs with hardware support for memory capabilities offer new opportunities to implement isolation and sharing at a finer granularity. We describe cVMs, a new VM-like abstraction that uses memory capabilities to isolate application components while supporting efficient data sharing, all without mandating application code to be capability-aware. cVMs share a single virtual address space safely, each having only capabilities to access its own memory. A cVM may include a library OS, thus minimizing its dependency on the cloud environment. cVMs efficiently exchange data through two capability-based primitives assisted by a small trusted monitor: (i) an asynchronous read-write interface to buffers shared between cVMs; and (ii) a call interface to transfer control between cVMs. Using these two primitives, we build more expressive mechanisms for efficient cross-cVM communication. Our prototype implementation using CHERI RISC-V capabilities shows that cVMs isolate services (Redis and Python) with low overhead while improving data sharing.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Accelerating Extra Dimensional Page Walks for Confidential Computing 引用了 Shreds: Fine-Grained Execution Units with Private Memory
- Accelerating Extra Dimensional Page Walks for Confidential Computing 引用了 CubicleOS: a library OS with software componentisation for practical isolation
- Accelerating Extra Dimensional Page Walks for Confidential Computing 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- ORC: Increasing Cloud Memory Density via Object Reuse with Capabilities 引用了 CubicleOS: a library OS with software componentisation for practical isolation
- AlloyStack: A Library Operating System for Serverless Workflow Applications 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- CubicleOS: a library OS with software componentisation for practical isolation 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication 引用了 ORC: Increasing Cloud Memory Density via Object Reuse with Capabilities
- Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication 引用了 Shreds: Fine-Grained Execution Units with Private Memory
- Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK) 引用了 Shreds: Fine-Grained Execution Units with Private Memory
引用它的顶会 Paper6
- ORC: Increasing Cloud Memory Density via Object Reuse with CapabilitiesVasily A. Sartakov, Lluís Vilanova, Munir Geden, David M. Eyers 等OSDI 2023 · 10 次引用
- Accelerating Extra Dimensional Page Walks for Confidential ComputingDong Du, Bicheng Yang, Yubin Xia, Haibo ChenMICRO 2023 · 7 次引用
- AlloyStack: A Library Operating System for Serverless Workflow ApplicationsJianing You, Kang Chen, Laiping Zhao, Yiming Li 等EuroSys 2025 · 7 次引用
- Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote CommunicationDinglan Peng, Congyu Liu, Tapti Palit, Anjo Vahldiek-Oberwagner 等EuroSys 2025 · 6 次引用
- vBOIDs: Taming Chaos via Coarse-Grained Scheduling Abstraction for ContainersKaesi Manakkal, Nathan Daughety, Yu Sun, Marcus Pendleton 等OSDI 2026
它引用的 Paper4
- Panoply: Low-TCB Linux Applications With SGX EnclavesShweta Shinde, Dat Le Tien, Shruti Tople, Prateek SaxenaNDSS 2017 · 274 次引用
- ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)Anjo Vahldiek-Oberwagner, Eslam Elnikety, Nuno O. Duarte, Michael Sammler 等USENIX Security 2019 · 247 次引用
- Shreds: Fine-Grained Execution Units with Private MemoryYaohui Chen, Sebassujeen Reymondjohnson, Zhichuang Sun, Long LuS&P 2016 · 116 次引用
- CubicleOS: a library OS with software componentisation for practical isolationVasily A. Sartakov, Lluís Vilanova, Peter R. PietzuchASPLOS 2021 · 38 次引用
相关 Paper
- Capstone: A Capability-based Foundation for Trustless Secure Memory AccessJason Zhijingcheng Yu, Conrad Watt, Aditya Badole, Trevor E. Carlson 等USENIX Security 2023
- CHERIoT: Complete Memory Safety for Embedded DevicesSaar Amar, David Chisnall, Tony Chen, Nathaniel Wesley Filardo 等MICRO 2023 · 22 次引用
- Exit-Less, Isolated, and Shared Access for Virtual MachinesKenichi Yasukata, Hajime Tazaki, Pierre-Louis AublinASPLOS 2023 · 7 次引用
- Efficient and provable local capability revocation using uninitialized capabilitiesAïna Linn Georges, Armaël Guéneau, Thomas Van Strydonck, Amin Timany 等POPL 2021 · 30 次引用
- ZION: A Practical Confidential Virtual Machine Architecture on Commodity RISC-V ProcessorsJie Wang, Juan Wang, Yinqian ZhangDAC 2025 · 3 次引用
