Skip to main content
QUICK REVIEW

[Paper Review] Store-to-Leak Forwarding: Leaking Data on Meltdown-resistant CPUs

Michael Schwarz, Claudio Canella|arXiv (Cornell University)|May 14, 2019
Security and Verification in ComputingComputer Science53 references23 citations
TL;DR

This paper demonstrates that Meltdown-like attacks remain feasible on modern, Meltdown-resistant CPUs by exploiting the store buffer and TLB for side-channel data leakage. It shows practical attacks breaking KASLR and ASLR from user space and JavaScript, and enables arbitrary memory reading when combined with a Spectre gadget, proving software mitigations are still essential for kernel-user isolation.

ABSTRACT

Meltdown and Spectre exploit microarchitectural changes the CPU makes during transient out-of-order execution. Using side-channel techniques, these attacks enable leaking arbitrary data from memory. As state-of-the-art software mitigations for Meltdown may incur significant performance overheads, they are only seen as a temporary solution. Thus, software mitigations are disabled on more recent processors, which are not susceptible to Meltdown anymore. In this paper, we show that Meltdown-like attacks are still possible on recent CPUs which are not vulnerable to the original Meltdown attack. We show that the store buffer---a microarchitectural optimization to reduce the latency for data stores---in combination with the TLB enables powerful attacks. We present several ASLR-related attacks, including a KASLR break from unprivileged applications, and breaking ASLR from JavaScript. We can also mount side-channel attacks, breaking the atomicity of TSX, and monitoring control flow of the kernel. Furthermore, when combined with a simple Spectre gadget, we can leak arbitrary data from memory. Our paper shows that Meltdown-like attacks are still possible, and software fixes are still necessary to ensure proper isolation between the kernel and user space.

Motivation & Objective

  • To investigate whether Meltdown-style attacks persist on modern CPUs that are no longer vulnerable to the original Meltdown vulnerability.
  • To explore how microarchitectural components like the store buffer and TLB can be abused to leak sensitive data across privilege boundaries.
  • To demonstrate practical side-channel attacks that break kernel address space layout randomization (KASLR) from unprivileged user applications.
  • To evaluate the feasibility of leaking arbitrary memory contents using a combination of store-to-leak forwarding and a Spectre-style gadget.
  • To argue that software mitigations remain necessary despite hardware fixes, due to ongoing exploitation vectors in microarchitectural components.

Proposed method

  • Exploiting the store buffer's behavior during transient execution to forward data from stores to subsequent loads, enabling side-channel leakage.
  • Combining the store buffer with the Translation Lookaside Buffer (TLB) to observe memory access patterns and infer sensitive data.
  • Designing side-channel techniques to monitor kernel control flow and break atomicity in Intel's TSX (Total Store Execute) instructions.
  • Constructing a malicious Spectre gadget that, when combined with store-to-leak forwarding, enables arbitrary memory reads from kernel memory.
  • Performing experiments from unprivileged user-space applications and within JavaScript environments to demonstrate real-world exploitability.
  • Using timing side-channel measurements to extract kernel base addresses and break KASLR and ASLR protections.

Experimental results

Research questions

  • RQ1Can Meltdown-like attacks still be mounted on CPUs that are hardened against the original Meltdown vulnerability?
  • RQ2To what extent can the store buffer and TLB be leveraged as side-channel vectors for data leakage in modern processors?
  • RQ3Is it possible to break KASLR and ASLR from unprivileged user-space applications using microarchitectural side channels?
  • RQ4Can the atomicity of TSX be compromised through store-to-leak forwarding and timing analysis?
  • RQ5Can arbitrary memory contents be leaked from kernel memory using a combination of store-to-leak forwarding and a Spectre gadget?

Key findings

  • The store buffer and TLB can be exploited together to perform side-channel attacks that leak data across privilege boundaries on Meltdown-resistant CPUs.
  • A practical KASLR break was achieved from unprivileged user-space applications using only timing side-channel measurements.
  • ASLR was broken from within JavaScript environments, demonstrating the attack surface in web-based execution contexts.
  • The atomicity of Intel's TSX was compromised, allowing observation of internal kernel control flow through microarchitectural side channels.
  • When combined with a Spectre gadget, the store-to-leak forwarding technique enables arbitrary memory reads from kernel memory, effectively resurrecting Meltdown-like capabilities.
  • The findings demonstrate that hardware mitigations alone are insufficient, and software-level protections remain essential for ensuring kernel-user space isolation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.