[Paper Review] Store-to-Leak Forwarding: Leaking Data on Meltdown-resistant CPUs (Updated and Extended Version)
This paper demonstrates that Meltdown-like side-channel attacks remain possible on modern, Meltdown-resistant CPUs through a novel technique called Store-to-Leak Forwarding, exploiting the store buffer and TLB to leak kernel and user-space memory. The attack breaks KASLR in 42 microseconds and enables arbitrary data leakage from JavaScript and Intel SGX enclaves, proving software mitigations are still essential despite hardware fixes.
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 ASLRrelated 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. This updated extended version of the original paper includes new results and explanations on the root cause of the vulnerability and shows how it is different to MDS attacks like Fallout.
Motivation & Objective
- To investigate whether Meltdown-like attacks remain feasible on CPUs patched against the original Meltdown vulnerability.
- To analyze the microarchitectural side effects of the store buffer and its interaction with the TLB for data leakage.
- To demonstrate practical exploitation of these side channels to break kernel ASLR and bypass isolation mechanisms.
- To evaluate the effectiveness of existing software mitigations like KAISER in the face of this new attack vector.
- To show that even with hardware fixes, software-based isolation between user and kernel space remains necessary.
Proposed method
- Exploiting store-to-load forwarding in the store buffer to create a covert channel for data exfiltration.
- Combining store buffer behavior with TLB state changes to leak metadata and break atomicity of TSX.
- Using speculative execution and existing Spectre v1 gadgets to trigger and amplify data leakage.
- Designing side-channel timing attacks to measure microarchitectural state changes and infer secret values.
- Implementing attacks from unprivileged user applications and JavaScript to demonstrate real-world feasibility.
- Validating the attack on modern Intel CPUs (e.g., Whiskey Lake, Coffee Lake) that are considered Meltdown-resistant.
Experimental results
Research questions
- RQ1Can Meltdown-like attacks still be mounted on CPUs that are considered secure against the original Meltdown vulnerability?
- RQ2What microarchitectural components enable new side-channel channels beyond speculative execution?
- RQ3To what extent can the store buffer and TLB be exploited to leak kernel and user-space memory?
- RQ4Can KASLR and ASLR be broken in practical timeframes using this technique?
- RQ5Are existing software mitigations like KAISER sufficient to prevent such attacks?
Key findings
- The attack breaks KASLR on fully patched Intel CPUs in just 42 microseconds, demonstrating a highly efficient side-channel.
- The researchers successfully leaked kernel memory from unprivileged user applications using the Store-to-Leak Forwarding mechanism.
- The attack enables breaking ASLR from JavaScript, showing a critical threat to web-based isolation.
- The technique can also be used to monitor kernel control flow and break the atomicity of Intel's TSX (Total Store Buffer) transactions.
- When combined with a Spectre v1 gadget, the attack can leak arbitrary kernel memory in realistic, practical scenarios.
- The study proves that hardware fixes for Meltdown are insufficient, and software-based isolation remains essential for security.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.