Lune

ASPLOS2024Top-tier venue

Cornucopia Reloaded: Load Barriers for CHERI Heap Temporal Safety

Nathaniel Wesley Filardo, Brett F. Gutstein, Jonathan Woodruff, Jessica Clarke, Peter Rugg, Brooks Davis, Mark Johnston, Robert M. Norton, David Chisnall, Simon W. Moore, Peter G. Neumann, Robert N. M. Watson

Abstract

Violations of temporal memory safety ("use after free", "UAF") continue to pose a significant threat to software security. The CHERI capability architecture has shown promise as a technology for C and C++ language reference integrity and spatial memory safety. Building atop CHERI, prior works -CHERIvoke and Cornucopia -have explored adding heap temporal safety. The most pressing limitation of Cornucopia was its impractical "stop-the-world" pause times.

We present Cornucopia Reloaded, a re-designed drop-in replacement implementation of CHERI temporal safety, using a novel architectural feature -a per-page capability load barrier, added in Arm's Morello prototype CPU and CHERI-RISC-V -to nearly eliminate application pauses. We analyze the performance of Reloaded as well as Cornucopia and CHERIvoke on Morello, using the CHERI-compatible SPEC CPU2006 INT workloads to assess its impact on batch workloads and using pgbench and gRPC QPS as surrogate interactive workloads. Under Reloaded, applications no longer experience significant revocation-induced stop-the-world periods, without additional wall-or CPU-time cost over Cornucopia and with median 87% of Cornucopia's DRAM traffic overheads across SPEC CPU2006 and < 50% for pgbench.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CRCount: Pointer Invalidation with Reference Counting to Mitigate Use-after-free in Legacy C/C++ cites Oscar: A Practical Page-Permissions-Based Scheme for Thwarting Dangling Pointers
  • PoisonCap: Efficient Hierarchical Temporal Safety for CHERI cites PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities
  • PoisonCap: Efficient Hierarchical Temporal Safety for CHERI cites Cornucopia: Temporal Safety for CHERI Heaps
  • CHERIoT: Complete Memory Safety for Embedded Devices cites Cornucopia: Temporal Safety for CHERI Heaps
  • PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities cites A Robust and Efficient Defense against Use-after-Free Exploits via Concurrent Pointer Sweeping
  • PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities cites CHERIoT: Complete Memory Safety for Embedded Devices
  • PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities cites Cornucopia: Temporal Safety for CHERI Heaps
  • PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities cites Oscar: A Practical Page-Permissions-Based Scheme for Thwarting Dangling Pointers
  • Cornucopia: Temporal Safety for CHERI Heaps cites A Robust and Efficient Defense against Use-after-Free Exploits via Concurrent Pointer Sweeping
  • Cornucopia: Temporal Safety for CHERI Heaps cites CRCount: Pointer Invalidation with Reference Counting to Mitigate Use-after-free in Legacy C/C++
  • Cornucopia: Temporal Safety for CHERI Heaps cites Oscar: A Practical Page-Permissions-Based Scheme for Thwarting Dangling Pointers
  • CHERI-SIMT: Implementing Capability Memory Protection in GPUs cites CHERIoT: Complete Memory Safety for Embedded Devices
  • CHERI-SIMT: Implementing Capability Memory Protection in GPUs cites Cornucopia: Temporal Safety for CHERI Heaps
  • Securing Mixed Rust with Hardware Capabilities cites Cornucopia: Temporal Safety for CHERI Heaps
  • Morello-Cerise: A Proof of Strong Encapsulation for the Arm Morello Capability Hardware Architecture cites CHERIoT: Complete Memory Safety for Embedded Devices
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored CapabilitiesMerve Gülmez, Ruben Sturm, Hossam ElAtali, Håkan Englund et al.USENIX Security 2026 · 5 citations
  2. PoisonCap: Efficient Hierarchical Temporal Safety for CHERIYuecheng Wang, Jonathan Woodruff, Alfredo Mazzinghi, Peter Rugg et al.CCS 2026 · 3 citations
  3. Morello-Cerise: A Proof of Strong Encapsulation for the Arm Morello Capability Hardware ArchitectureAngus Hammond, Ricardo Almeida, Thomas Bauereiss, Brian Campbell et al.PLDI 2025 · 2 citations
  4. CHERI-SIMT: Implementing Capability Memory Protection in GPUsMatthew Naylor, Alexandre Joannou, A. Theodore Markettos, Paul Metzger et al.ASPLOS 2026 · 1 citation
  5. Securing Mixed Rust with Hardware CapabilitiesJason Zhijingcheng Yu, Fangqi Han, Kaustab Choudhury, Trevor E. Carlson et al.CCS 2025 · 1 citation

Builds on5

  1. Oscar: A Practical Page-Permissions-Based Scheme for Thwarting Dangling PointersThurston H. Y. Dang, Petros Maniatis, David A. WagnerUSENIX Security 2017 · 77 citations
  2. Cornucopia: Temporal Safety for CHERI HeapsNathaniel Wesley Filardo, Brett F. Gutstein, Jonathan Woodruff, Sam Ainsworth et al.S&P 2020 · 71 citations
  3. A Robust and Efficient Defense against Use-after-Free Exploits via Concurrent Pointer SweepingDaiping Liu, Mingwei Zhang, Haining WangCCS 2018 · 43 citations
  4. CRCount: Pointer Invalidation with Reference Counting to Mitigate Use-after-free in Legacy C/C++Jangseop Shin, Donghyun Kwon, Jiwon Seo, Yeongpil Cho et al.NDSS 2019 · 37 citations
  5. CHERIoT: Complete Memory Safety for Embedded DevicesSaar Amar, David Chisnall, Tony Chen, Nathaniel Wesley Filardo et al.MICRO 2023 · 22 citations

Related papers

  1. Mon CHERI: Mitigating Uninitialized Memory Access with Conditional CapabilitiesMerve Gülmez, Håkan Englund, Jan Tobias Mühlberg, Thomas NymanS&P 2025
  2. Formal Mechanised Semantics of CHERI C: Capabilities, Undefined Behaviour, and ProvenanceVadim Zaliva, Kayvan Memarian, Ricardo Almeida, Jessica Clarke et al.ASPLOS 2024 · 6 citations
  3. Capstone: A Capability-based Foundation for Trustless Secure Memory AccessJason Zhijingcheng Yu, Conrad Watt, Aditya Badole, Trevor E. Carlson et al.USENIX Security 2023
  4. Top of the Heap: Efficient Memory Error Protection of Safe Heap ObjectsKaiming Huang, Mathias Payer, Zhiyun Qian, Jack Sampson et al.CCS 2024 · 3 citations
  5. Mind the Heap: Preventing Capability Leakage Across CHERI CompartmentsSeyedhamed Ghavamnia, Maurice D. Hanisch, Julien VanegueCCS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines