ACE: Confidential Computing for Embedded RISC-V Systems

Wojciech Ozga, Guerney D. H. Hunt, Michael V. Le, Lennard Gäher, Avraham Shinnar, Elaine R. Palmer, Hani Jamjoom, Silvio DragonearXiv 2025 · DOI

Introduction

As software complexity in mission-critical embedded systems—such as automotive controllers and industrial automation—continues to rise, traditional security through testing is becoming increasingly untenable. The expanding attack surface, driven by complex supply chains and multi-vendor integrations, necessitates a more robust isolation strategy.

Confidential Computing (CC) offers a solution by using hardware-backed isolation to protect data even from a compromised operating system. However, existing CC implementations like Intel TDX or ARM CCA are often tailored for high-end servers or carry significant licensing costs. ACE (Assured Confidential Execution) fills this gap as an open-source, royalty-free confidential computing framework designed specifically for the power and silicon constraints of embedded RISC-V systems.

The ACE Architecture

ACE utilizes a virtual machine-based approach to compartmentalize software into isolated security domains. The architecture is built around two primary components:

  1. TEE Security Manager (TSM): A small, highly privileged software layer running in RISC-V Machine-mode. Written in Rust to eliminate common memory-safety vulnerabilities, the TSM manages the lifecycle of secure domains.
  2. TEE Virtual Machines (TVM): These are isolated environments where sensitive applications reside. Unlike server-grade CC, which requires complex setup procedures, ACE simplifies the process with a single "promote" call, significantly reducing the Trusted Computing Base (TCB).
High-level overview of the ACE architecture showing the TSM isolating the TVM from the untrusted hypervisor.

To further simplify security reasoning, ACE employs static memory partitioning. By dividing memory into confidential and non-confidential regions at boot time, the system avoids the complexity and potential vulnerabilities associated with dynamic memory management.

Verification-First Design

A core philosophy of ACE is that simplicity is a prerequisite for security. The authors integrated formal verification into the design process from the outset, using RefinedRust and the Rocq prover to mathematically verify the "page token" mechanism. This mechanism ensures that one VM cannot access another's memory, providing a provable foundation for data isolation.

This approach is conceptualized as a "Pyramid of Proof," where high-level security guarantees like data confidentiality are built upon a rigorous foundation of hardware correctness, memory safety, and functional correctness.

The pyramid of proof dependencies, illustrating how security guarantees rely on lower-level properties like memory safety.

Performance Evaluation

ACE was evaluated using standard benchmarks to determine the "security tax" imposed by its isolation features:

  • CPU Performance: For compute-intensive tasks (measured via CoreMark), ACE introduced virtually no overhead compared to standard virtual machines.
  • Memory Management: Surprisingly, TVMs demonstrated a 5% to 16% performance increase in page fault handling. This efficiency stems from the TSM handling specific memory tasks more directly than a standard Linux hypervisor.
  • I/O and Networking: The most significant overhead was observed in network throughput, which dropped to roughly 48% of a standard VM. This is due to mandatory security measures, such as the use of "bounce buffers" and frequent context switches required to mitigate side-channel attacks.

Limitations and Future Outlook

While ACE provides a scalable security foundation, several challenges remain. The current implementation protects against software adversaries but does not yet address physical attacks, such as memory probing, which would require hardware-level memory encryption. Additionally, the I/O bottleneck remains a hurdle for high-bandwidth applications, suggesting a need for optimized VirtIO drivers in future iterations.

Despite these limitations, ACE demonstrates that verifiable, high-performance confidential computing is achievable for the embedded RISC-V ecosystem, providing a critical tool for securing the next generation of mission-critical devices.

Summary updated

BibTeX
@misc{ozga2025ace,
  author = {Wojciech Ozga and Guerney D. H. Hunt and Michael V. Le and Lennard Gäher and Avraham Shinnar and Elaine R. Palmer and Hani Jamjoom and Silvio Dragone},
  title = {{ACE: Confidential Computing for Embedded RISC-V Systems}},
  year = {2025},
  eprint = {2505.12995},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.12995},
}
Figure