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
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks 引用了 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 引用了 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 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems 引用了 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 引用了 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems 引用了 Another Flip in the Wall of Rowhammer Defenses
- ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future Systems 引用了 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues 引用了 Another Flip in the Wall of Rowhammer Defenses
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads 引用了 Another Flip in the Wall of Rowhammer Defenses
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 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 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect Threads
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 Another Flip in the Wall of Rowhammer Defenses
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read Disturbance 引用了 Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Another Flip in the Wall of Rowhammer Defenses 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Another Flip in the Wall of Rowhammer Defenses 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Another Flip in the Wall of Rowhammer Defenses 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 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 引用了 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 引用了 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions 引用了 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 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
引用它的顶会 Paper20
- Chronus: Understanding and Securing the Cutting-Edge Industry Solutions to DRAM Read DisturbanceOguzhan Canpolat, A. Giray Yaglikçi, Geraldo F. Oliveira, Ataberk Olgun 等HPCA 2025 · 23 次引用
- 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 等HPCA 2024 · 22 次引用
- QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority QueuesJeonghyun Woo, Shaopeng Chris Lin, Prashant J. Nair, Aamer Jaleel 等HPCA 2025 · 20 次引用
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect ThreadsOguzhan Canpolat, A. Giray Yaglikçi, Ataberk Olgun, Ismail Emir Yuksel 等MICRO 2024 · 19 次引用
- ColumnDisturb: Understanding Column-based Read Disturbance in Real DRAM Chips and Implications for Future SystemsIsmail Emir Yuksel, Ataberk Olgun, Nisa Bostanci, Haocong Luo 等MICRO 2025 · 15 次引用
它引用的 Paper45
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
- Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss 等CCS 2016 · 381 次引用
- Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin 等S&P 2018 · 288 次引用
- TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen 等S&P 2020 · 274 次引用
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege EscalationYuan Xiao, Xiaokuan Zhang, Yinqian Zhang, Radu TeodorescuUSENIX Security 2016 · 272 次引用
相关 Paper
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer MitigationAtaberk Olgun, Yahya Can Tugrul, Nisa Bostanci, Ismail Emir Yuksel 等USENIX Security 2024 · 29 次引用
- 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 等ISCA 2026 · 1 次引用
- 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 等HPCA 2025 · 10 次引用
- BlockHammer: Preventing RowHammer at Low Cost by Blacklisting Rapidly-Accessed DRAM RowsAbdullah Giray Yaglikçi, Minesh Patel, Jeremie S. Kim, Roknoddin Azizi 等HPCA 2021 · 124 次引用
