Uncovering and Exploiting AMD Speculative Memory Access Predictors for Fun and Profit
Chang Liu, Dongsheng Wang, Yongqiang Lyu, Pengfei Qiu, Yu Jin, Zhuoyuan Lu, Yinqian Zhang, Gang Qu
Abstract
This paper presents a comprehensive investigation into the security vulnerabilities associated with speculative memory access on AMD processors. Firstly, employing novel reverse engineering techniques, our study uncovers two key predictors, namely the Predictive Store Forwarding Predictor (PSFP) and the Speculative Store Bypass Predictor (SSBP), along with elucidating their internal structures and state machine designs. Secondly, our research empirically confirms that these predictors can be deliberately manipulated and altered during transient execution, resulting in secret leakage across security domains. Leveraging these discoveries, we propose innovative attacks targeting these predictors, including an out-of-place variant of Spectre-STL and an entirely new form of Spectre attack named Spectre-CTL. Finally, we establish experimentally that enabling Speculative Store Bypass Disable alleviates the vulnerabilities. However, this comes at the expense of significant performance degradation.
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.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side Channels cites Spectre Attacks: Exploiting Speculative Execution
- MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side Channels cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
- MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side Channels cites Meltdown: Reading Kernel Memory from User Space
- MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side Channels cites A Systematic Evaluation of Transient Execution Attacks and Defenses
- ZombieLoad: Cross-Privilege-Boundary Data Sampling cites Spectre Attacks: Exploiting Speculative Execution
- ZombieLoad: Cross-Privilege-Boundary Data Sampling cites A Systematic Evaluation of Transient Execution Attacks and Defenses
- RIDL: Rogue In-Flight Data Load cites Spectre Attacks: Exploiting Speculative Execution
- RIDL: Rogue In-Flight Data Load cites Meltdown: Reading Kernel Memory from User Space
- iEnFlow: Endogenous Control-Flow Attacks via Conditional Branch Prediction on Apple Silicon cites Spectre Attacks: Exploiting Speculative Execution
- Meltdown: Reading Kernel Memory from User Space cites Spectre Attacks: Exploiting Speculative Execution
- Exploiting Hidden Resource Contention in Selective Speculation Defenses cites Spectre Attacks: Exploiting Speculative Execution
- Exploiting Hidden Resource Contention in Selective Speculation Defenses cites RIDL: Rogue In-Flight Data Load
- Exploiting Hidden Resource Contention in Selective Speculation Defenses cites Meltdown: Reading Kernel Memory from User Space
- A Systematic Evaluation of Transient Execution Attacks and Defenses cites Spectre Attacks: Exploiting Speculative Execution
- SSBench: Automated Characterization of Memory Dependence Predictors on Modern CPUs cites MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side Channels
- SSBench: Automated Characterization of Memory Dependence Predictors on Modern CPUs cites Spectre Attacks: Exploiting Speculative Execution
- SSBench: Automated Characterization of Memory Dependence Predictors on Modern CPUs cites Meltdown: Reading Kernel Memory from User Space
- SSBench: Automated Characterization of Memory Dependence Predictors on Modern CPUs cites A Systematic Evaluation of Transient Execution Attacks and Defenses
Cited by top-tier papers4
- MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side ChannelsChang Liu, Shuaihu Feng, Yuan Li, Dongsheng Wang et al.ASPLOS 2025 · 7 citations
- SSBench: Automated Characterization of Memory Dependence Predictors on Modern CPUsChang Liu, Yu Jin, Yuchen Fan, Tianrui Xiao et al.ISCA 2026 · 1 citation
- iEnFlow: Endogenous Control-Flow Attacks via Conditional Branch Prediction on Apple SiliconKaiyuan Rong, Jiajie Chen, Junqi Fang, Peng Qu et al.CCS 2026
- Exploiting Hidden Resource Contention in Selective Speculation DefensesXiaoyu Cheng, Fei Tong, Zhenyu Lei, Fang Jiang et al.USENIX Security 2026
Builds on27
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
- Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
- ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck et al.CCS 2019 · 464 citations
- A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp et al.USENIX Security 2019 · 442 citations
- RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo et al.S&P 2019 · 408 citations
Related papers
- SSBleed: Non-Speculative Side-Channel Attacks via Speculative Store Bypass on Armv9 CPUsChang Liu, Hongpei Zheng, Xin Zhang, Dapeng Ju et al.HPCA 2026 · 1 citation
- I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op CachesXida Ren, Logan Moody, Mohammadkazem Taram, Matthew Jordan et al.ISCA 2021 · 59 citations
- Breaking the Barrier: Post-Barrier Spectre AttacksJohannes Wikner, Kaveh RazaviS&P 2025
- ret2spec: Speculative Execution Using Return Stack BuffersGiorgi Maisuradze, Christian RossowCCS 2018 · 282 citations
- 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
