Vsock-net: Safe and Fast Paravirtualized Network I/O for Confidential VMs
Abstract
Confidential Virtual Machines (CVMs) are increasingly deployed to secure proprietary workloads and data in multi-tenant cloud environments. However, the Trusted Computing Base (TCB) of CVMs includes a complex and potentially buggy kernel network stack, in which any vulnerability can compromise their security guarantees. We present Vsock-net, a novel paravirtualized network delegation architecture for Linux-based CVMs that leverages the virtio-vsock device to transparently proxy guest network traffic to the host, completely eliminating the TCP/IP stack from the guest TCB. Vsock-net optimizes the network data path to reduce the performance overhead typically associated with network delegation, while enhancing virtio-vsock to meet the demands of cloud workloads. The evaluation of our Linux Vsock-net prototype on KVM demonstrates that it significantly outperforms the state-of-the-art approach. Furthermore, we show that reducing TCB for security does not compromise efficiency: Vsock-net can outperform de facto virtio-net configurations that rely on a full in-guest Linux TCP/IP stack. In addition, our virtio-vsock optimizations substantially improve performance over mainline virtio-vsock, enabling a highly efficient communication channel within the virtualization infrastructure.
Create a lesson
Metadata
- Categories
- cs.CR, cs.NI, cs.OS
- Comments
- 14 pages, 7 figures
Related papers
Fast-Encodable Locally Testable Codes for Collective Data Availability Sampling
Shared title terminologycs.CRZihao Zhang, Kexi Huang, Jiaheng Zhang et al.
Confidential Model Sharing Protocol for Distributed Transfer Learning and Blockchain-Governed Access
Shared title terminologycs.CRZeeshan Ali, Walter Tiberti, Andrea Marotta et al.
Fast Decisions, Hidden Risks: Measuring the Security Portrait of System One Model Applications from Jev and Beyond
Shared title terminologycs.CRBo Li, Yue Yang, Xin Zheng et al.