Architectural Contracts for Safe Speculation

Where it appeared

Published in2023 IEEE 41st International Conference on Computer Design (ICCD)
Pages578--586

Related

Distinct fromfuchs2024safe
Distinct fromnienhuis2020rigorous

From bibtex.

Abstract

We propose architectural contracts that specify the allowable limits of speculative execution to enable both software safety guarantees and hardware verification. Transient-execution attacks have presented a major threat in recent years, driving deployment of software mitigations and research into hardware solutions. Recent work on hardware/software contracts for secure speculation recognizes the need for cooperation between hardware guarantees and software analysis, and demonstrates that speculative execution models can enable formal analysis of programs with respect to transient-execution vulnerabilities. Therefore, we have extended these limited models into comprehensive architecture-level contracts that can be verified at a microarchitecture level. We define a set of speculation contracts for translation (TSC) and branching (BSC), and for memory ordering (MOSC). We also develop a set of directed-random test routines that reproduce all known contract violations in a prototype out-of-order processor, most of which represent known transient-execution vulnerabilities. We also extend the RiscyOO processor to enforce each contract and evaluate performance, demonstrating the practicality of the chosen contracts with an overhead between -1.2% and +1.8% for this prototype. These general-purpose contracts set the stage for specification of speculative execution for complete instruction-set architectures, and particularly for new security-focused ISA extensions.

A copy is held

pdf, 521.0 kB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via bibtex
Added2026-09-18 07:34 UTC
Approved bya person 2026-09-18 10:09 UTC

Cite it as

@inproceedings{fuchs2023architectural,
  title        = {Architectural Contracts for Safe Speculation},
  author       = {Franz A. Fuchs and Jonathan Woodruff and Peter Rugg and Marno van der Maas and Alexandre Joannou and Alexander Richardson and Jessica Clarke and Nathaniel Wesley Filardo and Brooks Davis and John Baldwin and Peter G. Neumann and Simon W. Moore and Robert N. M. Watson},
  year         = {2023},
  booktitle    = {2023 IEEE 41st International Conference on Computer Design (ICCD)},
  pages        = {578--586},
  doi          = {10.1109/iccd58817.2023.00093},
}

This record lives at https://refs.drheap.org/fuchs2023architectural/ and will keep doing so.