Lune

S&P2025Top-tier venue

Training Solo: On the Limitations of Domain Isolation Against Spectre-v2 Attacks

Sander Wiebing, Cristiano Giuffrida

Abstract

Spectre-v2 vulnerabilities have been increasingly gaining momentum, as they enable particularly powerful cross-domain transient execution attacks. Attackers can train the indirect branch predictor in one protection domain (e.g., user process) in order to speculatively hijack control flow and disclose data in a victim domain (e.g., kernel). In response to these attacks, vendors have deployed increasingly strong domain isolation techniques (e.g., eIBRS and IBPB) to prevent the predictor in one domain from being influenced by another domain's execution. While recent attacks such as BHI and Post-barrier Spectre have evidenced (now patched) implementation flaws of such techniques, the common assumption is that, barring implementation issues, domain isolation can close the attack surface in the practical cases of interest. In this paper, we challenge this assumption and show that even perfect domain isolation is insufficient to deter practical attacks. To this end, we systematically analyze self-training Spectre-v2 attacks, where both training and speculative control-flow hijacking occur in the same (victim) domain. While self-training attacks are believed to be limited to the in-domain scenario–where attackers can run arbitrary code and inject their own disclosure gadgets in a (default-off) sandbox such as eBPF–our analysis shows cross-domain variants are possible in practice. Specifically, we describe three new classes of attacks against the Linux kernel and present two end-to-end exploits that leak kernel memory on recent Intel CPUs at up to 17 KB/sec. During our investigation, we also stumbled upon two Intel issues which completely break (user, guest, and hypervisor) isolation and re-enable classic Spectre-v2 attacks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Spectre on RISC-V Silicon: Attacks and Defenses on Commercial Out-of-Order Processors cites Spectre Attacks: Exploiting Speculative Execution
  • Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Spectre Attacks: Exploiting Speculative Execution cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Transient Architectural Execution: From Weird Gates to Weird Programs cites Spectre Attacks: Exploiting Speculative Execution
  • Transient Architectural Execution: From Weird Gates to Weird Programs cites RIDL: Rogue In-Flight Data Load
  • RIDL: Rogue In-Flight Data Load cites Spectre Attacks: Exploiting Speculative Execution
  • iEnFlow: Endogenous Control-Flow Attacks via Conditional Branch Prediction on Apple Silicon cites Spectre Attacks: Exploiting Speculative Execution
  • Speculative Probing: Hacking Blind in the Spectre Era cites Spectre Attacks: Exploiting Speculative Execution
  • Speculative Probing: Hacking Blind in the Spectre Era cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Speculative Probing: Hacking Blind in the Spectre Era cites RIDL: Rogue In-Flight Data Load
  • TONTOU: On the Exploitability of Time-of-Neutralization to Time-of-Use Windows cites Spectre Attacks: Exploiting Speculative Execution
  • Defeating Transient Execution Attacks by Limiting Secret Reachability Through Register Hiding and ShadowCFI cites Spectre Attacks: Exploiting Speculative Execution
  • Defeating Transient Execution Attacks by Limiting Secret Reachability Through Register Hiding and ShadowCFI cites Speculative Probing: Hacking Blind in the Spectre Era
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Defeating Transient Execution Attacks by Limiting Secret Reachability Through Register Hiding and ShadowCFIDaniël Trujillo, Jagadish Kotra, David Kaplan, Mengjia YanS&P 2026 · 1 citation
  2. Spectre on RISC-V Silicon: Attacks and Defenses on Commercial Out-of-Order ProcessorsLukas Gerlach, Marton Bognar, Daniel Weber, Michael Schwarz et al.USENIX Security 2026
  3. Transient Architectural Execution: From Weird Gates to Weird ProgramsPing-Lun Wang, Fraser Brown, Riccardo Paccagnella, Eyal Ronen et al.S&P 2026
  4. iEnFlow: Endogenous Control-Flow Attacks via Conditional Branch Prediction on Apple SiliconKaiyuan Rong, Jiajie Chen, Junqi Fang, Peng Qu et al.CCS 2026
  5. TONTOU: On the Exploitability of Time-of-Neutralization to Time-of-Use WindowsDaniël Trujillo, Mengjia YanUSENIX Security 2026

Builds on18

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim et al.USENIX Security 2017 · 536 citations
  3. RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo et al.S&P 2019 · 408 citations
  4. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp et al.CCS 2016 · 278 citations
  5. Speculative Probing: Hacking Blind in the Spectre EraEnes Göktas, Kaveh Razavi, Georgios Portokalidis, Herbert Bos et al.CCS 2020 · 36 citations

Related papers

  1. Branch Privilege Injection: Compromising Spectre v2 Hardware Mitigations by Exploiting Branch Predictor Race ConditionsSandro Rüegge, Johannes Wikner, Kaveh RazaviUSENIX Security 2025
  2. InSpectre Gadget: Inspecting the Residual Attack Surface of Cross-privilege Spectre v2Sander Wiebing, Alvise de Faveri Tron, Herbert Bos, Cristiano GiuffridaUSENIX Security 2024 · 32 citations
  3. Breaking the Barrier: Post-Barrier Spectre AttacksJohannes Wikner, Kaveh RazaviS&P 2025
  4. Branch History Injection: On the Effectiveness of Hardware Mitigations Against Cross-Privilege Spectre-v2 AttacksEnrico Barberis, Pietro Frigo, Marius Muench, Herbert Bos et al.USENIX Security 2022
  5. Branch Target Reuse: Practical Spectre-v2 Attacks in JIT Engines via Stale Branch Prediction EntriesSander Wiebing, Yuhui Zhu, Alessandro Biondi, Cristiano GiuffridaCCS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines