Metraipolis › archive › dc_f261169b8c8b
FRESCO: Complete and Scalable Temporal Safety for CHERI Application Processors — arXiv:2608.26353
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.26353
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T15:54:36.590Z
- SHA-256 of the archived text
069844a4add6baa0330354be0fdc0eb8f122bf905765101a194caa75a074a2f7- Stable URL of this page
https://metraipolis.com/documento/dc_f261169b8c8b
How to cite
FRESCO: Complete and Scalable Temporal Safety for CHERI Application Processors — arXiv:2608.26353 — arXiv (en), https://arxiv.org/abs/2608.26353 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f261169b8c8b (Metraipolis archive dc_f261169b8c8b, sha256 069844a4add6baa0330354be0fdc0eb8f122bf905765101a194caa75a074a2f7)
BibTeX
@misc{dcf261169b8c8b,
title = {FRESCO: Complete and Scalable Temporal Safety for CHERI Application Processors — arXiv:2608.26353},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.26353},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f261169b8c8b; sha256 069844a4add6baa0330354be0fdc0eb8f122bf905765101a194caa75a074a2f7},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.26353. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
CHERI provides hardware-enforced spatial memory safety. While prior work extends it with heap temporal safety, stack use-after-return remains unaddressed. Existing defenses fall short: compiler analysis reliably catches only references that escape as function return values, while dynamic sanitizers impose overheads that preclude production deployment. We present FRESCO, built on the principle that a stack capability must not outlive the frame that created it. FRESCO "colors" the stack pointer with per-invocation provenance identifiers; every capability derived from it inherits that lifetime and is hardware-invalidated the moment the function exits, regardless of how or where it escaped. Because stack frames retire orders of magnitude more frequently than heap allocations, FRESCO manages the resulting color pressure through: 1) Color Saver, a static capability-aware escape analysis that confines coloring to functions needing it, and whose core algorithm we mechanically verify in Rocq, and 2) capability-color segmentation, which partitions memory into disjoint segments, each with an independent color namespace. Color segmentation lets stack and heap temporal safety coexist on one system, making FRESCO the first hardware/software co-design to provide complete and scalable temporal safety for CHERI application processors. We realize FRESCO on the CHERI-RISC-V QEMU full-system emulator and the out-of-order CHERI-Toooba FPGA softcore, with software support in the CHERI-enabled Clang/LLVM compiler and CheriBSD OS. FRESCO systematically prevents use-after-return, use-after-free, and double-free across the NIST Juliet Test Suite and CVEs, with only a small run-time overhead in SPEC CPU (4% g.m.), SQLite, and PostgreSQL (10-14%). Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-28 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2608.26353 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T15:31:38.252Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).