[论文解读] ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture
ACAI 机制将 Arm CCA 扩展以安全地附加和管理 PCIe 加速器(GPU/FPGA)用于保密虚拟机,实现端到端的设备隔离,开销 modest。
Trusted execution environments in several existing and upcoming CPUs demonstrate the success of confidential computing, with the caveat that tenants cannot securely use accelerators such as GPUs and FPGAs. In this paper, we reconsider the Arm Confidential Computing Architecture (CCA) design, an upcoming TEE feature in Armv9-A, to address this gap. We observe that CCA offers the right abstraction and mechanisms to allow confidential VMs to use accelerators as a first-class abstraction. We build ACAI, a CCA-based solution, with a principled approach of extending CCA security invariants to device-side access to address several critical security gaps. Our experimental results on GPU and FPGA demonstrate the feasibility of ACAI while maintaining security guarantees.
研究动机与目标
- Motivate the need for confidential computing with accelerators in VM-based clouds.
- Propose a principled extension of Arm CCA to enable secure, first-class access of accelerators to realm VMs.
- Define invariants and mechanisms to isolate device access and protect memory in the presence of untrusted hypervisors and devices.
- Demonstrate feasibility through a prototype on Arm simulation/board and evaluate performance with GPUs and FPGAs.
提出的方法
- Extend Arm CCA security invariants to device-side access for PCIe peripherals.
- Define Acai invariants: INV id (identity), INV own (exclusive ownership), INV bind (shared mappings), INV host (1:1 host-guest mappings), INV dev (no overlapping protected memory).
- Architect a protected memory region shared between realm VM and accelerator, synchronized via RMM and SMMU stage-2 translations (INV bind).
- Guard SMMU configuration against hypervisor tampering by marking SMMU data structures as root-only and exposing selective update interfaces.
- Use PCIe-5 IDE for unique accelerator identities and device attestation to enforce INV id and INV own via root-port keys, plus SPDM-based attestation.
- Attach/detach accelerators at realm VM creation/destruction to enforce lifecycle invariants and preserve compatibility.
实验结果
研究问题
- RQ1How can Arm CCA be extended to securely mount and manage PCIe accelerators for realm VMs?
- RQ2What invariants and synchronization mechanisms are required to maintain end-to-end memory and I/O isolation for devices in confidential computing with accelerators?
- RQ3What is the performance impact of Acai on GPUs and FPGAs compared with non-TEE execution?
- RQ4How can device attestation and IDE-based identity be integrated into the Acai workflow to prevent device spoofing and TOCTOU issues?
主要发现
- Acai demonstrates secure PCIe device access for Arm CCA-based confidential VMs without hardware changes to existing accelerators.
- Acai achieves end-to-end isolation by extending CCA invariants to device-side protection and synchronizing host and device MMUs (RMM and SMMU).
- Evaluation shows average overheads of 43.5% for GPUs and 12.1% for FPGAs when protecting CPU+accelerator execution, with minimal system-wide overhead of 3.8% (GPU) and 1.9% (FPGA).
- Enclosures where Acai preserves compatibility with untrusted hypervisors and existing software stacks, enabling confidential acceleration with minimal API changes.
- IDE-based device identity and attestation are integral to enforcing unique accelerator identities and preventing spoofing within the Acai workflow.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。