Metraipolis › archive › dc_7e7099e9b314
DualGuard: Comprehensive and Efficient Memory Safety across Sequential and Speculative Execution — arXiv:2610.39374
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.39374
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-01T02:21:17.389Z
- SHA-256 of the archived text
047e5d001c1984fbd0aced4f2c4adfa491373fd9ac07e1569adfee6762071105- Stable URL of this page
https://metraipolis.com/documento/dc_7e7099e9b314
How to cite
DualGuard: Comprehensive and Efficient Memory Safety across Sequential and Speculative Execution — arXiv:2610.39374 — arXiv (en), https://arxiv.org/abs/2610.39374 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7e7099e9b314 (Metraipolis archive dc_7e7099e9b314, sha256 047e5d001c1984fbd0aced4f2c4adfa491373fd9ac07e1569adfee6762071105)
BibTeX
@misc{dc7e7099e9b314,
title = {DualGuard: Comprehensive and Efficient Memory Safety across Sequential and Speculative Execution — arXiv:2610.39374},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.39374},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7e7099e9b314; sha256 047e5d001c1984fbd0aced4f2c4adfa491373fd9ac07e1569adfee6762071105},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.39374. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Although decades of research have yielded sophisticated mechanisms for enforcing memory safety, speculative execution can subvert these protections through transient memory operations. Conversely, defenses designed specifically for speculative safety, such as Speculative Load Hardening (SLH), cannot enforce memory safety during non-speculative execution. A naive combination of defenses from both domains raises two fundamental challenges: (1) which combination of otherwise fragmented defenses can ensure dual memory safety under speculative and non-speculative executions? (2) whether such combinations introduce redundant protections that incur unnecessary performance overhead? We present DualGuard, a unified framework for dual memory protection under non-speculative and speculative executions. DualGuard systematically analyzes memory behaviors, classifying them into four categories, and further identifies the minimal composition requirements for dual memory safety, which allow us to strategically combine existing mitigations and design new ones to avoid redundant or excessive protections. We implement DualGuard through a combination of static analysis and runtime enforcement within the LLVM infrastructure. Our evaluation demonstrates that DualGuard reduces overhead by 3%-72% compared to naive compositions of fragmented defenses. In some cases, it even incurs lower overhead than approaches that guarantee memory safety solely under either non-speculative or speculative execution. Tema degli esploratori: fiducia digitale e crittografia (elenco arXiv cs.CR, nuovi lavori del giorno). Categorie arXiv: Cryptography and Security (cs.CR) ; Programming Languages (cs.PL). Pagina del lavoro: https://arxiv.org/abs/2610.39374 — 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-11-01T02:12:13.390Z dalla pagina https://arxiv.org/list/cs.CR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).