Lune

HPCA2025Top-tier venue

AutoRFM: Scaling Low-Cost in-DRAM Trackers to Ultra-Low Rowhammer Thresholds

Moinuddin Qureshi

Abstract

In-DRAM Rowhammer mitigation has the potential to solve the Rowhammer problem without relying on other parts of the system. In-DRAM mitigation requires space (to identify the aggressor rows) and time (to perform the victim refresh). To reduce the storage overheads of tracking, recent works have developed secure low-cost in-DRAM trackers that can probabilistically identify aggressor rows. To obtain the time required for mitigation, these trackers rely on the Refresh Management (RFM) command introduced in DDR5. As RFM stalls the bank for a latency of 200ns-400ns, frequent use of RFM can cause significant slowdowns. For example, scaling the recent MINT tracker to a threshold of 100 incurs 33% slowdown. The goal of this paper is to enable low-cost trackers to tolerate ultralow thresholds (sub-100) while incurring negligible slowdown.

This paper proposes AutoRFM, a transparent RFM mechanism that can provide mitigation time to the DRAM chips without stalling the bank. The key insight in AutoRFM is to leverage the subarray structure (e.g. each bank contains 256 subarrays) and perform mitigation on only one of the subarrays. Operations to all subarrays that are not under mitigation are serviced without any interruption. If activation occurs to the subarray under mitigation, the DRAM chip sends an ALERT signal informing the Memory Controller to retry after a predefined time. As AutoRFM works best if consecutive requests to the same bank do not get mapped to the same subarray, we use Randomized Memory Mapping to break the spatial correlation between memory accesses. Furthermore, we also develop a Fractal Mitigation Algorithm that can tolerate transitive attacks (such as Half-Double) without requiring recursive mitigations to the same subarray. Our design ensures that a declined request does not have to wait more than 200 ns before retrying, thus limiting the slowdown and avoiding any potential for denial of service. Our evaluations, with SPEC, GAP, and stream workloads, show that AutoRFM enables low-cost trackers to tolerate a threshold of as low as 74 while incurring an average slowdown of only 3.1%.

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.

10 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

  • 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 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • RAMBleed: Reading Bits in Memory Without Accessing Them cites Another Flip in the Wall of Rowhammer Defenses
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites Another Flip in the Wall of Rowhammer Defenses
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites DREAM: Enabling Low-Overhead Rowhammer Mitigation via Directed Refresh Management
  • When Mitigations Backfire: Timing Channel Attacks and Defense for PRAC-Based RowHammer Mitigations cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • When Mitigations Backfire: Timing Channel Attacks and Defense for PRAC-Based RowHammer Mitigations cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • When Mitigations Backfire: Timing Channel Attacks and Defense for PRAC-Based RowHammer Mitigations cites Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance
  • When Mitigations Backfire: Timing Channel Attacks and Defense for PRAC-Based RowHammer Mitigations cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • When Mitigations Backfire: Timing Channel Attacks and Defense for PRAC-Based RowHammer Mitigations cites Another Flip in the Wall of Rowhammer Defenses
  • When Mitigations Backfire: Timing Channel Attacks and Defense for PRAC-Based RowHammer Mitigations cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • 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 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 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • 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
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites When Mitigations Backfire: Timing Channel Attacks and Defense for PRAC-Based RowHammer Mitigations
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites Another Flip in the Wall of Rowhammer Defenses
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer Defenses cites DREAM: Enabling Low-Overhead Rowhammer Mitigation via Directed Refresh Management
  • Another Flip in the Wall of Rowhammer Defenses cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • 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 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • TRRespass: Exploiting the Many Sides of Target Row Refresh cites Another Flip in the Wall of Rowhammer Defenses
  • DREAM: Enabling Low-Overhead Rowhammer Mitigation via Directed Refresh Management cites RAMBleed: Reading Bits in Memory Without Accessing Them
  • DREAM: Enabling Low-Overhead Rowhammer Mitigation via Directed Refresh Management cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • DREAM: Enabling Low-Overhead Rowhammer Mitigation via Directed Refresh Management cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • DREAM: Enabling Low-Overhead Rowhammer Mitigation via Directed Refresh Management cites Another Flip in the Wall of Rowhammer Defenses
  • DREAM: Enabling Low-Overhead Rowhammer Mitigation via Directed Refresh Management cites TRRespass: Exploiting the Many Sides of Target Row Refresh
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. 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
  2. ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future SystemsIsmail Emir Yuksel, Ataberk Olgun, Nisa Bostanci, Haocong Luo et al.MICRO 2025 · 15 citations
  3. DREAM: Enabling Low-Overhead Rowhammer Mitigation via Directed Refresh ManagementHritvik Taneja, Moinuddin K. QureshiISCA 2025 · 9 citations
  4. Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer DefensesF. Nisa Bostanci, Oguzhan Canpolat, Ataberk Olgun, Ismail Emir Yüksel et al.MICRO 2025 · 8 citations
  5. When Mitigations Backfire: Timing Channel Attacks and Defense for PRAC-Based RowHammer MitigationsJeonghyun Woo, Joyce Qu, Gururaj Saileshwar, Prashant Jayaprakash NairISCA 2025 · 6 citations

Builds on33

  1. Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss et al.CCS 2016 · 381 citations
  2. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
  3. 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
  4. RAMBleed: Reading Bits in Memory Without Accessing ThemAndrew Kwong, Daniel Genkin, Daniel Gruss, Yuval YaromS&P 2020 · 239 citations
  5. Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer AttacksLucian Cojocar, Kaveh Razavi, Cristiano Giuffrida, Herbert BosS&P 2019 · 233 citations

Related papers

  1. MINT: Securely Mitigating Rowhammer with a Minimalist in-DRAM TrackerMoinuddin Qureshi, Salman Qazi, Aamer JaleelMICRO 2024 · 28 citations
  2. PrIDE: Achieving Secure Rowhammer Mitigation with Low-Cost In-DRAM TrackersAamer Jaleel, Gururaj Saileshwar, Stephen W. Keckler, Moinuddin K. QureshiISCA 2024 · 22 citations
  3. APT: Securing Against DRAM Read Disturbance via Adaptive Probabilistic In-DRAM TrackersRunjin Wu, Meng Zhang, You Zhou, Changsheng Xie et al.ASPLOS 2026 · 2 citations
  4. MoPAC: Efficiently Mitigating Rowhammer with Probabilistic Activation CountingSuhas Vittal, Salman Qazi, Poulami Das, Moinuddin QureshiISCA 2025 · 13 citations
  5. Hydra: enabling low-overhead mitigation of row-hammer at ultra-low thresholds via hybrid trackingMoinuddin K. Qureshi, Aditya Rohan, Gururaj Saileshwar, Prashant J. NairISCA 2022 · 60 citations
Dusk over the sea between two cliffs drawn in fine vertical lines