Context-Sensitive Fencing: Securing Speculative Execution via Microcode Customization

By Mohammadkazem Taram, Ashish Venkat, Dean M. Tullsen. 2019

120 citations recorded by the source corpus.

This paper describes context-sensitive fencing (CSF), a microcode-level defense against multiple variants of Spectre. CSF leverages the ability to dynamically alter the decoding of the instruction stream, to seamlessly inject new micro-ops, including fences, only when dynamic conditions indicate they are needed. This enables the processor to protect against the attack, but with minimal impact on the efficacy of key performance features such as speculative execution. This research also examines several alternative fence implementations, and introduces three new types of fences which allow most dynamic reorderings of loads and stores, but in a way that prevents speculative accesses from changing visible cache state. These optimizations reduce the performance overhead of the defense mechanism, compared to state-of-the-art software-based fencing mechanisms by a factor of six.

Subfields: Artificial Intelligence, Electrical and Electronic Engineering, Signal Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Hadi Esmaeilzadeh
  2. Fatemehsadat Mireshghallah
  3. Prakash Ramrakhyani
  4. Mohammadkazem Taram
  5. Dean M. Tullsen

In Electrical and Electronic Engineering

  1. Hadi Esmaeilzadeh
  2. Prakash Ramrakhyani
  3. Fatemehsadat Mireshghallah
  4. Mohammadkazem Taram
  5. Dean M. Tullsen
  6. Sparsh Mittal

In Signal Processing

  1. Hadi Esmaeilzadeh
  2. Prakash Ramrakhyani
  3. Fatemehsadat Mireshghallah
  4. Mohammadkazem Taram
  5. Dean M. Tullsen

Citations in the corpus