arXiv:2610.34560cs.CROct 2026

Manuscript Offprint

arXiv:2610.34560

CVM-Store: A Secure Storage System for Confidential Virtual Machines

Thore Sommer, Masanori Misono, Dimitrios Stavrakakis, Pramod Bhatotia

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Thore Sommer, Masanori Misono, Dimitrios Stavrakakis, Pramod Bhatotia

Technical University of Munich, Germany

Abstract—Modern stateful cloud workloads require high-performance persistent storage when running on untrusted cloud infrastructure. Examples are AI inference and training pipelines that load multi-gigabyte model weights, checkpoints, and large datasets that must not be silently rolled back, and other workloads such as container runtimes that provision immutable image layers and assets. Confidential Virtual Machines (CVMs) promise to protect these workloads through hardware-enforced memory encryption and isolation without requiring application changes. However, they protect only data in use; persistent storage lies outside the CVM trust boundary, leaving all stateful data exposed to the cloud provider.

Extending the trust boundary to persistent storage presents inherent challenges. High-bandwidth workloads require near-raw NVMe throughput, yet the default kernel CVM I/O stacks are inadequate, and userspace I/O libraries are not designed with CVM use cases in mind. Access patterns and storage semantics vary between workloads, necessitating access-pattern-aware security abstractions rather than uniform block-level encryption. In order to mitigate against rollback, freshness is needed, but CVMs lack hardware primitives for this purpose, requiring alternative solutions.

We present CVM-STORE, a storage system that co-designs a high-throughput userspace I/O engine with CIF (confidentiality, integrity, freshness) data protection. The key insight is that neither authenticated encryption nor I/O is a bottleneck by itself, but their naive combination is. CVM-STORE exploits this by interleaving them, eliminating redundant copies and OS/hypervisor mediation. CIF guarantees are provided as composable primitives that adapt protection to workload access patterns, from which we derive three concrete authenticated abstractions: a key-value store, a shared log, and a filesystem. An asynchronous trusted counter service provides freshness guarantees with epoch-based batching, which in turn enables rollback protection without dedicated hardware support. CVM-STORE delivers full CIF guarantees within ≈\approx1% (write) and 1–19% (read) of raw NVMe bandwidth for large objects.

I. INTRODUCTION

A broad range of sensitive workloads are increasingly deployed in public clouds and require performant persistent storage. These include container runtimes that provision large, immutable image layers and datasets [68], [127], [42], checkpointing and audit-logging services [77], [24], and HPC, AI training and inference pipelines [115], [80], [90], [126], spanning sensitive domains such as healthcare record management and financial transaction processing. In all cases, the cloud provider controls the entire workload lifecycle and may try to undermine the security guarantees such workloads depend on [86], [71].

Recently, Confidential Virtual Machines (CVMs) have become the dominant model for confidential computing [41] in the cloud. CVMs protect entire VMs with hardware-enforced memory encryption and isolation, enabling unmodified applications to run securely on untrusted infrastructure. Major cloud providers [52], [78], [56] have deployed CVMs, offered by various vendors (e.g., AMD SEV-SNP [20], Intel TDX [59], Arm CCA [25]), at scale, making them the de facto foundation for running security-sensitive workloads.

However, CVMs protect only data in use, leaving persistent storage outside their trust boundary. NVMe devices, storage controllers, and the I/O stack remain under full control of the untrusted cloud provider. Thus, a malicious operator can read, corrupt, or replay persistent data, exposing every workload that requires storage outside CVM memory and relies on local storage such as NVMe SSDs. Importantly, fully closing this threat requires not only cryptographic protection of stored data, but also a mechanism to bind that data to a verified, trusted identity. Therefore, designing such secure storage systems for CVMs is necessary but non-trivial.

Simply layering existing confidential-storage techniques [66], [79] onto the CVM I/O path compounds the problem: CVMs encrypt their guest memory by default, preventing devices from performing direct memory access (DMA) to it. All I/O must instead pass through bounce buffers [98], unencrypted shared memory regions where data is copied to and copied back, along with multiple context switches, further degrading I/O performance compared to conventional VMs [66], [89]. Block-level encryption then adds another layer on top. Neither cost is inherent. Userspace I/O frameworks [124], [48] bypass the kernel to optimize I/O operations, and modern AEAD ciphers can saturate NVMe bandwidth on a single core. However, userspace I/O frameworks assume a trusted device model, which does not hold for CVM deployments: a malicious NVMe controller can read from DMA buffers, corrupt control structures, or selectively drop and reorder I/O operations, rendering these frameworks incompatible with the CVM threat model in their current form. This mismatch between a fast I/O path built for trusted devices and the CVMs' untrusted-device reality makes securing CVM storage fundamentally challenging (§ III).

Further, protecting persistent data requires ensuring three properties: confidentiality, integrity, and freshness (CIF). Existing solutions fall short, as generic block-level encryption [13], [36] protects only data uniformly across all access patterns, performing redundant cryptographic operations, and application-level schemes [28], [102] bind their guarantees to a single workload. Both remain vulnerable to rollback attacks where adversaries replay cryptographically valid but stale data after crashes or migrations. Although counter-based freshness mechanisms exist [38], [24], they rely on hardware primitives (e.g., Intel SGX monotonic counters) or external distributed systems [74] that suffer from limited write endurance [28], [102] or extreme latency, rendering them unsuitable for high-throughput CVM storage workloads.

As a solution, we present CVM-STORE, a storage system tailored for CVM deployments that delivers end-to-end CIF guarantees. Our key insight is that CVM storage security and I/O performance are not fundamentally at odds. Neither encryption nor userspace I/O is the bottleneck in isolation, only their naive composition is. CVM-STORE's novelty lies in four principles that make this combination work under the CVM threat model, rather than in any single building block: (i) hardening the userspace I/O trust boundary instead of assuming a trusted device, (ii) interleaving cryptographic operations with in-flight DMA instead of serializing them, (iii) aligning integrity structures with each abstraction's access pattern instead of applying uniform block-level protection, and (iv) decoupling freshness into an external, epoch-batched service behind a minimal interface. Precisely, CVM-STORE combines a hardened, kernel-bypass I/O engine, access-pattern-aware CIF primitives instantiated across a key-value store, shared log, and filesystem, an asynchronous trusted counter service that externalizes monotonic state via epoch-based batching, and an attestation and sealing pipeline that binds provisioned keys and counter state to the attested CVM identity.

We implement CVM-STORE for AMD SEV-SNP, contributing upstream fixes to SPDK DMA handling and the SEV-SNP attestation pipeline. Our evaluation demonstrates that CVM-STORE with full CIF protections stays within ≈\approx1% (write) and 1–19% (read) of raw NVMe bandwidth on large objects from a single core (up to 6.6GiB/s and 13.3GiB/s), outperforming unencrypted CVM kernel I/O. End-to-end attestation completes in ≈\approx188 ms, and the trusted counter interval (1–281 ms) allows applications to tune the performance-freshness trade-off according to their needs.

Overall, this paper makes four key contributions:

• A hardened kernel-bypass I/O engine that minimizes exposed state through CVM-aware DMA allocations and hardens the NVMe driver against untrusted infrastructure.

• Composable CIF primitives that interleave AEAD encryption with in-flight DMA, hiding the CIF cost behind I/O.

• Per use-case integrity structures matched to each access pattern, demonstrated through a KVS, shared log, and filesystem.

• A pluggable trusted counter service behind a minimal interface with configurable epoch granularity to bound the rollback window, anchored by an attestation and sealing pipeline binding keys and counter state to the attested CVM identity.

References (77)