CIBPU: A Conflict-Invisible Secure Branch Prediction Unit
- 13 April 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Information Forensics and Security
- Vol. 21 (15566013) , 3872-3886
Abstract
Previous schemes for designing secure branch prediction unit (SBPU) based on physical isolation can only offer limited security and significantly affect BPU’s prediction capability, leading to prominent performance degradation. Moreover, encryption-based SBPU schemes based on periodic key re-randomization have the risk of being compromised by advanced attack algorithms, and the performance overhead is also considerable. To this end, this paper proposes conflict-invisible SBPU (CIBPU). CIBPU employs redundant storage design, load-aware indexing, and replacement design, as well as an encryption mechanism without requiring periodic key updates, to prevent attackers’ perception of branch conflicts. We provide a thorough security analysis, which shows that CIBPU achieves strong security throughout the BPU’s lifecycle. We implement CIBPU in a RISC-V core model in gem5. The experimental results show that CIBPU causes an average performance overhead of only 2.9%–4.0% with acceptable hardware storage overhead, which is the lowest among the state-of-the-art SBPU schemes. CIBPU has also been implemented in the open-source RISC-V core, SonicBOOM, which is then burned onto an FPGA board. The evaluation based on the board shows an average performance degradation of 2.01%, which is approximately consistent with the result obtained in gem5.Keywords
All Related Versions
Funding Information
- National Natural Science Foundation of China (625B2047)
- National Natural Science Foundation of China (62472088)
- National Natural Science Foundation of China
This publication has 40 references indexed in Scilit:
- STBPU: A Reasonably Secure Branch Prediction Unit2022
- unXpec: Breaking Undo-based Safe Speculation2022
- A Lightweight Isolation Mechanism for Secure Branch Predictors2021
- Conditional Speculation: An Effective Approach to Safeguard Out-of-Order Execution Against Spectre Attacks2019
- BRB: Mitigating Branch Predictor Side-Channels2019
- Cache Side-Channel Attacks and Time-Predictability in High-Performance Critical Real-Time Systems2018
- Flush+Flush: A Fast and Stealthy Cache Attack2016
- Simultaneous Multithreading2013
- Cache Attacks and Countermeasures: The Case of AES2006
- Measuring Computer Performance2000