MOESI-prime: preventing coherence-induced hammering in commodity workloads
Kevin Loughlin, Stefan Saroiu, Alec Wolman, Yatin A. Manerkar, Baris Kasikci
摘要
Prior work shows that Rowhammer attacks-which flip bits in DRAM via frequent activations of the same row(s)-are viable. Adversaries typically mount these attacks via instruction sequences that are carefully-crafted to bypass CPU caches. However, we discover a novel form of hammering that we refer to as coherenceinduced hammering, caused by Intel's implementations of cache coherent non-uniform memory access (ccNUMA) protocols. We show that this hammering occurs in commodity benchmarks on a major cloud provider's production hardware, the first hammering found to be generated by non-malicious code. Given DRAM's rising susceptibility to bit flips, it is paramount to prevent coherenceinduced hammering to ensure reliability and security in the cloud.
Accordingly, we introduce MOESI-prime, a ccNUMA coherence protocol that mitigates coherence-induced hammering while retaining Intel's state-of-the-art scalability. MOESI-prime shows that most DRAM reads and writes triggering such hammering are unnecessary. Thus, by encoding additional information in the coherence protocol, MOESI-prime can omit these reads and writes, preventing coherence-induced hammering in non-malicious and malicious workloads. Furthermore, by omitting unnecessary reads and writes, MOESI-prime has negligible effect on average performance (within ±0.61% of MESI and MOESI) and average DRAM power (0.03%-0.22% improvement) across evaluated ccNUMA configurations.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 25 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 Another Flip in the Wall of Rowhammer Defenses
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems
- ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 AQUA: Scalable Rowhammer Mitigation by Quarantining Aggressor Rows at Runtime
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 Another Flip in the Wall of Rowhammer Defenses
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 AQUA: Scalable Rowhammer Mitigation by Quarantining Aggressor Rows at Runtime
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- 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 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- Another Flip in the Wall of Rowhammer Defenses 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems 引用了 Another Flip in the Wall of Rowhammer Defenses
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems 引用了 AQUA: Scalable Rowhammer Mitigation by Quarantining Aggressor Rows at Runtime
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory Systems 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- AQUA: Scalable Rowhammer Mitigation by Quarantining Aggressor Rows at Runtime 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- AQUA: Scalable Rowhammer Mitigation by Quarantining Aggressor Rows at Runtime 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
- 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Another Flip in the Wall of Rowhammer Defenses
- TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
引用它的顶会 Paper25
- Demystifying CXL Memory with Genuine CXL-Ready Systems and DevicesYan Sun, Yifan Yuan, Zeduo Yu, Reese Kuper 等MICRO 2023 · 133 次引用
- AQUA: Scalable Rowhammer Mitigation by Quarantining Aggressor Rows at RuntimeAnish Saxena, Gururaj Saileshwar, Prashant J. Nair, Moinuddin K. QureshiMICRO 2022 · 57 次引用
- Scalable and Secure Row-Swap: Efficient and Safe Row Hammer Mitigation in Memory SystemsJeonghyun Woo, Gururaj Saileshwar, Prashant J. NairHPCA 2023 · 45 次引用
- 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 次引用
- CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low CostF. Nisa Bostanci, Ismail Emir Yüksel, Ataberk Olgun, Konstantinos Kanellopoulos 等HPCA 2024 · 27 次引用
它引用的 Paper28
- Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss 等CCS 2016 · 381 次引用
- Flip Feng Shui: Hammering a Needle in the Software StackKaveh Razavi, Ben Gras, Erik Bosman, Bart Preneel 等USENIX Security 2016 · 306 次引用
- 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
- BreakHammer: Enhancing RowHammer Mitigations by Carefully Throttling Suspect ThreadsOguzhan Canpolat, A. Giray Yaglikçi, Ataberk Olgun, Ismail Emir Yuksel 等MICRO 2024 · 19 次引用
- Are We Susceptible to Rowhammer? An End-to-End Methodology for Cloud ProvidersLucian Cojocar, Jeremie S. Kim, Minesh Patel, Lillian Tsai 等S&P 2020 · 115 次引用
- Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer DefensesF. Nisa Bostanci, Oguzhan Canpolat, Ataberk Olgun, Ismail Emir Yüksel 等MICRO 2025 · 8 次引用
- 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 次引用
- GPUHammer: Rowhammer Attacks on GPU Memories are PracticalChris S. Lin, Joyce Qu, Gururaj SaileshwarUSENIX Security 2025
