Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems
Jeonghyun Woo, Gururaj Saileshwar, Prashant J. Nair
Abstract
As Dynamic Random Access Memories (DRAM) scale, they are becoming increasingly susceptible to Row Hammer. By rapidly activating rows of DRAM cells (aggressor rows), attackers can exploit inter-cell interference through Row Hammer to flip bits in neighboring rows (victim rows). A recent work, called Randomized Row-Swap (RRS), proposed proactively swapping aggressor rows with randomly selected rows before an aggressor row can cause Row Hammer.
Our paper observes that RRS is neither secure nor scalable. We first propose the 'Juggernaut attack pattern' that breaks RRS in under 1 day. Juggernaut exploits the fact that the mitigative action of RRS, a swap operation, can itself induce additional target row activations, defeating such a defense. Second, this paper proposes a new defense Secure Row-Swap mechanism that avoids the additional activations from swap (and unswap) operations and protects against Juggernaut. Furthermore, this paper extends Secure Row-Swap with attack detection to defend against even future attacks. While this provides better security, it also allows for securely reducing the frequency of swaps, thereby enabling Scalable and Secure Row-Swap. The Scalable and Secure Row-Swap mechanism provides years of Row Hammer protection with 3.3× lower storage overheads as compared to the RRS design. It incurs only a 0.7% slowdown as compared to a notsecure baseline for a Row Hammer threshold of 1200.
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.
36 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
- RAMBleed: Reading Bits in Memory Without Accessing Them cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- RAMBleed: Reading Bits in Memory Without Accessing Them cites Another Flip in the Wall of Rowhammer Defenses
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites RAMBleed: Reading Bits in Memory Without Accessing Them
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites Another Flip in the Wall of Rowhammer Defenses
- RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites RAMBleed: Reading Bits in Memory Without Accessing Them
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites RowPress: Amplifying Read Disturbance in Modern DRAM Chips
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Another Flip in the Wall of Rowhammer Defenses
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites RAMBleed: Reading Bits in Memory Without Accessing Them
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites Another Flip in the Wall of Rowhammer Defenses
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites RAMBleed: Reading Bits in Memory Without Accessing Them
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites RowPress: Amplifying Read Disturbance in Modern DRAM Chips
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites Another Flip in the Wall of Rowhammer Defenses
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks cites Another Flip in the Wall of Rowhammer Defenses
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites RAMBleed: Reading Bits in Memory Without Accessing Them
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites RowPress: Amplifying Read Disturbance in Modern DRAM Chips
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites Another Flip in the Wall of Rowhammer Defenses
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker cites RAMBleed: Reading Bits in Memory Without Accessing Them
- MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker cites RowPress: Amplifying Read Disturbance in Modern DRAM Chips
- MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
- MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker cites Another Flip in the Wall of Rowhammer Defenses
- MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM Tracker cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites RAMBleed: Reading Bits in Memory Without Accessing Them
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites Another Flip in the Wall of Rowhammer Defenses
Cited by top-tier papers36
- RowPress: Amplifying Read Disturbance in Modern DRAM ChipsHaocong Luo, Ataberk Olgun, Abdullah Giray Yaglikçi, Yahya Can Tugrul et al.ISCA 2023 · 71 citations
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer MitigationAtaberk Olgun, Yahya Can Tugrul, Nisa Bostanci, Ismail Emir Yuksel et al.USENIX Security 2024 · 29 citations
- MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM TrackerMoinuddin Qureshi, Salman Qazi, Aamer JaleelMICRO 2024 · 28 citations
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low CostF. Nisa Bostanci, Ismail Emir Yüksel, Ataberk Olgun, Konstantinos Kanellopoulos et al.HPCA 2024 · 27 citations
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read DisturbanceOguzhan Canpolat, A. Giray Yaglikçi, Geraldo F. Oliveira, Ataberk Olgun et al.HPCA 2025 · 23 citations
Builds on17
- Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
- TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen et al.S&P 2020 · 274 citations
- RAMBleed: Reading Bits in Memory Without Accessing ThemAndrew Kwong, Daniel Genkin, Daniel Gruss, Yuval YaromS&P 2020 · 239 citations
- Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer AttacksLucian Cojocar, Kaveh Razavi, Cristiano Giuffrida, Herbert BosS&P 2019 · 233 citations
- Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation TechniquesJeremie S. Kim, Minesh Patel, Abdullah Giray Yaglikçi, Hasan Hassan et al.ISCA 2020 · 161 citations
Related papers
- Randomized row-swap: mitigating Row Hammer by breaking spatial correlation between aggressor and victim rowsGururaj Saileshwar, Bolin Wang, Moinuddin K. Qureshi, Prashant J. NairASPLOS 2022 · 78 citations
- AQUA: Scalable Rowhammer Mitigation by Quarantining Aggressor Rows at RuntimeAnish Saxena, Gururaj Saileshwar, Prashant J. Nair, Moinuddin K. QureshiMICRO 2022 · 57 citations
- RowArmor: Efficient and Comprehensive Protection Against DRAM Disturbance AttacksMinbok Wi, Yoonyul Yoo, Yoojin Kim, Jaeho Shin et al.ASPLOS 2026 · 3 citations
- BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM RowsAbdullah Giray Yaglikçi, Minesh Patel, Jeremie S. Kim, Roknoddin Azizi et al.HPCA 2021 · 124 citations
- Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future SolutionsAbdullah Giray Yaglikçi, Yahya Can Tugrul, Geraldo F. Oliveira, Ismail Emir Yüksel et al.HPCA 2024 · 22 citations
