← Lab /Software

DualGuard cuts memory-safety overhead up to 72% while protecting speculative and non-speculative code

Software Method · Prototype · arXiv Threat model

The claim

DualGuard provides dual memory safety with lower performance overhead than naive combinations of existing defenses

Sixuan Dang, Quan Zhou, Kaiming Huang, Jianan Zhu, Anitha Gollamudi, Trent Jaeger, Danfeng Zhang · arXiv Paper PDF

Published as: “DualGuard: Comprehensive and Efficient Memory Safety across Sequential and Speculative Execution”

So what

Deploying DUALGUARD can harden existing software against both classic out-of-bounds bugs and Spectre-style speculative attacks with modest performance cost.

The five-minute version

DUALGUARD achieves dual memory safety with substantially lower performance overhead than naïve stacking of sequential and speculative defenses, cutting average overhead from 148.4% to 43.6% for Baggy, from 119.7% to 33.6% for Delta Pointers, and from 103.2% to 99.5% for SafeStack. The paper provides a formal safety-preservation framework and implements dual-safe variants (DUALBAGGY, DUALDELTAPOINTERS) that eliminate redundant checks. Evidence comes from SPEC CPU 2017 and real-world cryptographic library benchmarks, though some configurations see only modest gains and a few cases incur slightly higher overhead.

What they found 2

What undercuts it the paper’s own results

Stated limits 3

What’s new here 4

Threat model stated by the source

Adversaryattacker who can fully exploit speculative program execution, including controlling the branch predictor and providing malicious inputs
Capabilitycan induce speculative out-of-bounds memory accesses and exploit any resulting transient accesses via cache side channels, Rowhammer, or ROP
Assumesfocuses on spatial memory-safety violations only; targets Spectre v1 (bounds-check bypass) attacks; temporal errors are out of scope

Artifacts & methods 7

Topics

spatial memory safetyspeculative executionSpectre v1safety preservationdual memory safetystatic analysisLLVMselective composition
← Previous ARBITRA achieves higher precision in document-level ATT&CK extraction and halves precision loss under…