Lune

OSDI2022Top-tier venue

CAP-VMs: Capability-Based Isolation and Sharing in the Cloud

Vasily A. Sartakov, Lluís Vilanova, David M. Eyers, Takahiro Shinagawa, Peter R. Pietzuch

Abstract

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.

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.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Accelerating Extra Dimensional Page Walks for Confidential Computing cites Shreds: Fine-Grained Execution Units with Private Memory
  • Accelerating Extra Dimensional Page Walks for Confidential Computing cites CubicleOS: a library OS with software componentisation for practical isolation
  • Accelerating Extra Dimensional Page Walks for Confidential Computing cites ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • ORC: Increasing Cloud Memory Density via Object Reuse with Capabilities cites CubicleOS: a library OS with software componentisation for practical isolation
  • AlloyStack: A Library Operating System for Serverless Workflow Applications cites ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • CubicleOS: a library OS with software componentisation for practical isolation cites ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication cites ORC: Increasing Cloud Memory Density via Object Reuse with Capabilities
  • Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication cites Shreds: Fine-Grained Execution Units with Private Memory
  • Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication cites ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK) cites Shreds: Fine-Grained Execution Units with Private Memory
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. ORC: Increasing Cloud Memory Density via Object Reuse with CapabilitiesVasily A. Sartakov, Lluís Vilanova, Munir Geden, David M. Eyers et al.OSDI 2023 · 10 citations
  2. Accelerating Extra Dimensional Page Walks for Confidential ComputingDong Du, Bicheng Yang, Yubin Xia, Haibo ChenMICRO 2023 · 7 citations
  3. AlloyStack: A Library Operating System for Serverless Workflow ApplicationsJianing You, Kang Chen, Laiping Zhao, Yiming Li et al.EuroSys 2025 · 7 citations
  4. Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote CommunicationDinglan Peng, Congyu Liu, Tapti Palit, Anjo Vahldiek-Oberwagner et al.EuroSys 2025 · 6 citations
  5. vBOIDs: Taming Chaos via Coarse-Grained Scheduling Abstraction for ContainersKaesi Manakkal, Nathan Daughety, Yu Sun, Marcus Pendleton et al.OSDI 2026

Builds on4

  1. Panoply: Low-TCB Linux Applications With SGX EnclavesShweta Shinde, Dat Le Tien, Shruti Tople, Prateek SaxenaNDSS 2017 · 274 citations
  2. ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)Anjo Vahldiek-Oberwagner, Eslam Elnikety, Nuno O. Duarte, Michael Sammler et al.USENIX Security 2019 · 247 citations
  3. Shreds: Fine-Grained Execution Units with Private MemoryYaohui Chen, Sebassujeen Reymondjohnson, Zhichuang Sun, Long LuS&P 2016 · 116 citations
  4. CubicleOS: a library OS with software componentisation for practical isolationVasily A. Sartakov, Lluís Vilanova, Peter R. PietzuchASPLOS 2021 · 38 citations

Related papers

  1. Capstone: A Capability-based Foundation for Trustless Secure Memory AccessJason Zhijingcheng Yu, Conrad Watt, Aditya Badole, Trevor E. Carlson et al.USENIX Security 2023
  2. CHERIoT: Complete Memory Safety for Embedded DevicesSaar Amar, David Chisnall, Tony Chen, Nathaniel Wesley Filardo et al.MICRO 2023 · 22 citations
  3. Exit-Less, Isolated, and Shared Access for Virtual MachinesKenichi Yasukata, Hajime Tazaki, Pierre-Louis AublinASPLOS 2023 · 7 citations
  4. Efficient and provable local capability revocation using uninitialized capabilitiesAïna Linn Georges, Armaël Guéneau, Thomas Van Strydonck, Amin Timany et al.POPL 2021 · 30 citations
  5. ZION: A Practical Confidential Virtual Machine Architecture on Commodity RISC-V ProcessorsJie Wang, Juan Wang, Yinqian ZhangDAC 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines