Lune

OSDI2023Top-tier venue

Security and Performance in the Delegated User-level Virtualization

Jiahao Chen, Dingji Li, Zeyu Mi, Yuxuan Liu, Binyu Zang, Haibing Guan, Haibo Chen

Abstract

Today's mainstream virtualization systems are plagued by severe security threats due to the large attack surface exposed by in-kernel hypervisor components such as KVM. To address this issue, this paper proposes a novel design called delegated virtualization, which decouples the commodity hypervisor into two planes: the hypervisor plane for hypervisor control (which is typically small and has fixed logic) and the VM plane for handling virtual machine (VM) requests and exceptions at runtime. As our investigation reveals that all known hypervisor vulnerabilities that threaten the host kernel lie in the VM plane, delegated virtualization completely offloads the in-kernel VM plane to a user-space hypervisor called DuVisor that directly interacts with its VM without exiting to the host kernel, based on a small hardware extension (481 lines of Chisel). We have implemented the hardware extension on an open-source RISC-V CPU on FireSim and built a Rust-based DuVisor atop it. The evaluation results demonstrate that DuVisor significantly reduces the attack surface with negligible performance overhead (< 5%). DuVisor's source code is publicly available at https://github. com/IPADS-DuVisor.

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.

8 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

  • PipeLLM: Fast and Confidential Large Language Model Services with Speculative Pipelined Encryption cites Bifrost: Analysis and Optimization of Network I/O Tax in Confidential Virtual Machines
  • PipeLLM: Fast and Confidential Large Language Model Services with Speculative Pipelined Encryption cites CPC: Flexible, Secure, and Efficient CVM Maintenance with Confidential Procedure Calls
  • The HitchHiker's Guide to High-Assurance System Observability Protection with Efficient Permission Switches cites Design and Verification of the Arm Confidential Compute Architecture
  • CPC: Flexible, Secure, and Efficient CVM Maintenance with Confidential Procedure Calls cites Bifrost: Analysis and Optimization of Network I/O Tax in Confidential Virtual Machines
  • CPC: Flexible, Secure, and Efficient CVM Maintenance with Confidential Procedure Calls cites Design and Verification of the Arm Confidential Compute Architecture
  • Design and Verification of the Arm Confidential Compute Architecture cites A Secure and Formally Verified Linux KVM Hypervisor
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Bifrost: Analysis and Optimization of Network I/O Tax in Confidential Virtual MachinesDingji Li, Zeyu Mi, Chenhui Ji, Yifan Tan et al.USENIX ATC 2023 · 31 citations
  2. CPC: Flexible, Secure, and Efficient CVM Maintenance with Confidential Procedure CallsJiahao Chen, Zeyu Mi, Yubin Xia, Haibing Guan et al.USENIX ATC 2024 · 11 citations
  3. PipeLLM: Fast and Confidential Large Language Model Services with Speculative Pipelined EncryptionYifan Tan, Cheng Tan, Zeyu Mi, Haibo ChenASPLOS 2025 · 10 citations
  4. The HitchHiker's Guide to High-Assurance System Observability Protection with Efficient Permission SwitchesChuqi Zhang, Jun Zeng, Yiming Zhang, Adil Ahmad et al.CCS 2024 · 4 citations
  5. Inside Out: A Paradigm Shift in VM IntrospectionDufy Teguia, Louis Duval, Teo Pisenti, Kahina Lazri et al.OSDI 2026

Builds on11

  1. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
  2. Keystone: an open framework for architecting trusted execution environmentsDayeol Lee, David Kohlbrenner, Shweta Shinde, Krste Asanovic et al.EuroSys 2020 · 381 citations
  3. A Secure and Formally Verified Linux KVM HypervisorShih-Wei Li, Xupeng Li, Ronghui Gu, Jason Nieh et al.S&P 2021 · 72 citations
  4. ghOSt: Fast & Flexible User-Space Delegation of Linux SchedulingJack Tigar Humphries, Neel Natu, Ashwin Chaugule, Ofir Weisse et al.SOSP 2021 · 60 citations
  5. Design and Verification of the Arm Confidential Compute ArchitectureXupeng Li, Xuheng Li, Christoffer Dall, Ronghui Gu et al.OSDI 2022 · 60 citations

Related papers

  1. (Mostly) Exitless VM Protection from Untrusted Hypervisor through Disaggregated Nested VirtualizationZeyu Mi, Dingji Li, Haibo Chen, Binyu Zang et al.USENIX Security 2020
  2. Optimizing Nested Virtualization Performance Using Direct Virtual HardwareJin Tack Lim, Jason NiehASPLOS 2020 · 34 citations
  3. The Design and Implementation of a Virtual Firmware MonitorCharly Castes, François Costa, Neelu S. Kalani, Timothy Roscoe et al.SOSP 2025 · 1 citation
  4. Hardening Hypervisors with OmbroEthan Johnson, Colin Pronovost, John CriswellUSENIX ATC 2022
  5. Dorami: Privilege Separating Security Monitor on RISC-V TEEsMark Kuhne, Stavros Volos, Shweta ShindeUSENIX Security 2025
Dusk over the sea between two cliffs drawn in fine vertical lines