保密、可证明和高效的跨CVM通信与Arm CCA
Confidential, Attestable, and Efficient Inter-CVM Communication with Arm CCA
AI总结:
本文提出CAEC系统,利用Arm CCA实现安全共享内存,解决跨CVM通信的性能瓶颈,提供高效且安全的数据共享机制。
摘要:
保密虚拟机(CVMs)日益被采用以保护敏感工作负载免受特权对手如虚拟机监视器的侵害。尽管它们提供了强隔离保证,但现有CVM架构由于内存模型不一致,缺乏跨CVM数据共享的一级机制,导致跨CVM数据交换在分隔或协作多CVM系统中成为性能瓶颈。在该模型下,CVM的可访问内存要么与虚拟机监视器共享,要么被虚拟机监视器和所有其他CVM保护。这种设计简化了内存所有权的推理;然而,它从根本上阻止了CVM之间的明文数据共享,因为所有跨CVM通信必须通过可访问虚拟机监视器内存,需要成本高昂的加密和解密以保持保密性和完整性。在本文中,我们介绍了CAEC,一个使CVM之间能够保护内存共享的系统。CAEC基于Arm保密计算架构(CCA)并扩展其固件以支持保密共享内存(CSM),这是一种安全共享多个CVM之间的内存区域,同时对虚拟机监视器和所有非参与CVM不可访问。CAEC的设计完全兼容CCA硬件,并仅引入固件代码大小的适度增加(4%)。CAEC在一系列工作负载中提供了显著的性能优势。例如,通过CAEC进行的跨CVM通信在可访问虚拟机监视器共享内存上的加密机制中,CPU周期减少高达209倍。通过结合高性能、强隔离保证和可证明的共享语义,CAEC为下一代受信任的多CVM服务提供了实用且可扩展的基础,适用于边缘和云环境。
英文摘要:
Confidential Virtual Machines (CVMs) are increasingly adopted to protect sensitive workloads from privileged adversaries such as the hypervisor. While they provide strong isolation guarantees, existing CVM architectures lack first-class mechanisms for inter-CVM data sharing due to their disjoint memory model, making inter-CVM data exchange a performance bottleneck in compartmentalized or collaborative multi-CVM systems. Under this model, a CVM's accessible memory is either shared with the hypervisor or protected from both the hypervisor and all other CVMs. This design simplifies reasoning about memory ownership; however, it fundamentally precludes plaintext data sharing between CVMs because all inter-CVM communication must pass through hypervisor-accessible memory, requiring costly encryption and decryption to preserve confidentiality and integrity. In this paper, we introduce CAEC, a system that enables protected memory sharing between CVMs. CAEC builds on Arm Confidential Compute Architecture (CCA) and extends its firmware to support Confidential Shared Memory (CSM), a memory region securely shared between multiple CVMs while remaining inaccessible to the hypervisor and all non-participating CVMs. CAEC's design is fully compatible with CCA hardware and introduces only a modest increase (4%) in CCA firmware code size. CAEC delivers substantial performance benefits across a range of workloads. For instance, inter-CVM communication over CAEC achieves up to 209$\times$ reduction in CPU cycles compared to encryption-based mechanisms over hypervisor-accessible shared memory. By combining high performance, strong isolation guarantees, and attestable sharing semantics, CAEC provides a practical and scalable foundation for the next generation of trusted multi-CVM services across both edge and cloud environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。