Lune

ASPLOS2024顶会

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CRCount: Pointer Invalidation with Reference Counting to Mitigate Use-after-free in Legacy C/C++ 引用了 Oscar: A Practical Page-Permissions-Based Scheme for Thwarting Dangling Pointers
  • PoisonCap: Efficient Hierarchical Temporal Safety for CHERI 引用了 PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities
  • PoisonCap: Efficient Hierarchical Temporal Safety for CHERI 引用了 Cornucopia: Temporal Safety for CHERI Heaps
  • CHERIoT: Complete Memory Safety for Embedded Devices 引用了 Cornucopia: Temporal Safety for CHERI Heaps
  • PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities 引用了 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 引用了 CHERIoT: Complete Memory Safety for Embedded Devices
  • PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities 引用了 Cornucopia: Temporal Safety for CHERI Heaps
  • PICASSO: Scaling CHERI Use-After-Free Protection to Millions of Allocations using Colored Capabilities 引用了 Oscar: A Practical Page-Permissions-Based Scheme for Thwarting Dangling Pointers
  • Cornucopia: Temporal Safety for CHERI Heaps 引用了 A Robust and Efficient Defense against Use-after-Free Exploits via Concurrent Pointer Sweeping
  • Cornucopia: Temporal Safety for CHERI Heaps 引用了 CRCount: Pointer Invalidation with Reference Counting to Mitigate Use-after-free in Legacy C/C++
  • Cornucopia: Temporal Safety for CHERI Heaps 引用了 Oscar: A Practical Page-Permissions-Based Scheme for Thwarting Dangling Pointers
  • CHERI-SIMT: Implementing Capability Memory Protection in GPUs 引用了 CHERIoT: Complete Memory Safety for Embedded Devices
  • CHERI-SIMT: Implementing Capability Memory Protection in GPUs 引用了 Cornucopia: Temporal Safety for CHERI Heaps
  • Securing Mixed Rust with Hardware Capabilities 引用了 Cornucopia: Temporal Safety for CHERI Heaps
  • Morello-Cerise: A Proof of Strong Encapsulation for the Arm Morello Capability Hardware Architecture 引用了 CHERIoT: Complete Memory Safety for Embedded Devices
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

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

它引用的 Paper5

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

相关 Paper

  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 等ASPLOS 2024 · 6 次引用
  3. Capstone: A Capability-based Foundation for Trustless Secure Memory AccessJason Zhijingcheng Yu, Conrad Watt, Aditya Badole, Trevor E. Carlson 等USENIX Security 2023
  4. Top of the Heap: Efficient Memory Error Protection of Safe Heap ObjectsKaiming Huang, Mathias Payer, Zhiyun Qian, Jack Sampson 等CCS 2024 · 3 次引用
  5. Mind the Heap: Preventing Capability Leakage Across CHERI CompartmentsSeyedhamed Ghavamnia, Maurice D. Hanisch, Julien VanegueCCS 2026
黄昏的海面,两侧是细线勾勒的悬崖