CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost
F. Nisa Bostanci, Ismail Emir Yüksel, Ataberk Olgun, Konstantinos Kanellopoulos, Yahya Can Tugrul, A. Giray Yaglikçi, Mohammad Sadrosadati, Onur Mutlu
Abstract
DRAM chips are increasingly more vulnerable to read-disturbance phenomena (e.g., RowHammer and RowPress), where repeatedly accessing DRAM rows causes bitflips in nearby rows due to DRAM density scaling. Under low RowHammer thresholds, existing RowHammer mitigations either incur high area overheads or degrade performance significantly. We propose a new RowHammer mitigation mechanism, CoMeT, that prevents RowHammer bitflips with low area, performance, and energy costs in DRAM-based systems at very low RowHammer thresholds. The key idea of CoMeT is to use low-cost and scalable hash-based counters to track DRAM row activations. CoMeT uses the Count-Min Sketch technique that maps each DRAM row to a group of counters, as uniquely as possible, using multiple hash functions. When a DRAM row is activated, CoMeT increments the counters mapped to that DRAM row. Because the mapping from DRAM rows to counters is not completely unique, activating one row can increment one or more counters mapped to another row. Thus, CoMeT may overestimate, but never underestimates, a DRAM row's activation count. This property of CoMeT allows it to securely prevent RowHammer bitflips while properly configuring its hash functions reduces overestimations. As a result, CoMeT 1) implements substantially fewer counters (e.g., thousands of counters) than the number of DRAM rows in a DRAM bank (e.g., 128K rows) and 2) does not significantly overestimate a DRAM row's activation count. We demonstrate that CoMeT securely prevents RowHammer bitflips at low area, performance, and energy cost. Our comprehensive evaluations show that CoMeT prevents RowHammer bitflips with an average performance overhead of only 0.19% and 4.01 % across 61 benign single-core workloads for a RowHammer threshold of 1K and a very low RowHammer threshold of 125, respectively, normalized to a system with no RowHammer mitigation. CoMeT achieves a good trade-off between performance, energy, and area overheads. Compared to the best prior performance- and energy-efficient RowHammer mitigation mechanism, CoMeT requires 5.4x and 74.2x less area overhead at RowHammer thresholds of 1K and 125, respectively, and incurs a small (≤ 1.75%) performance overhead on average, for all RowHammer thresholds. Compared to the best prior low-area-cost mitigation mechanism, at a very low RowHammer threshold of 125, CoMeT improves performance by up to 39.1% while incurring a similar area overhead. CoMeT is openly and freely available at https://github.com/CMU-SAFARI/CoMeT.
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.
20 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
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems cites QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues
- 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 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 Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites Another Flip in the Wall of Rowhammer Defenses
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads cites Another Flip in the Wall of Rowhammer Defenses
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads cites TRRespass: Exploiting the Many Sides of Target Row Refresh
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads
- 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
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance cites Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Another Flip in the Wall of Rowhammer Defenses cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Another Flip in the Wall of Rowhammer Defenses cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- 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 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- TRRespass: Exploiting the Many Sides of Target Row Refresh cites DRAMA: Exploiting DRAM Addressing for Cross-CPU 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
- Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites Another Flip in the Wall of Rowhammer Defenses
- Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites TRRespass: Exploiting the Many Sides of Target Row Refresh
Cited by top-tier papers20
- 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
- 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
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority QueuesJeonghyun Woo, Shaopeng Chris Lin, Prashant J. Nair, Aamer Jaleel et al.HPCA 2025 · 20 citations
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect ThreadsOguzhan Canpolat, A. Giray Yaglikçi, Ataberk Olgun, Ismail Emir Yuksel et al.MICRO 2024 · 19 citations
- 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
Builds on45
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz et al.USENIX Security 2016 · 500 citations
- Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss et al.CCS 2016 · 381 citations
- 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
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege EscalationYuan Xiao, Xiaokuan Zhang, Yinqian Zhang, Radu TeodorescuUSENIX Security 2016 · 272 citations
Related papers
- 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
- CHaRM: Checkpointed and Hashed Counters for Flexible and Efficient Rowhammer MitigationAli Hajiabadi, Michele Marazzi, Kaveh RazaviCCS 2025
- ColumnKeeper: Efficient Solutions to the Columndisturb Vulnerability in Dram-Based SystemsAndreas Kosmas Kakolyris, F. Nisa Bostanci, Ataberk Olgun, Ismail Emir Yüksel et al.ISCA 2026 · 1 citation
- Understanding RowHammer Under Reduced Refresh Latency: Experimental Analysis of Real DRAM Chips and Implications on Future SolutionsYahya Can Tugrul, A. Giray Yaglikçi, Ismail Emir Yüksel, Ataberk Olgun et al.HPCA 2025 · 10 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
