RowHammer Vulnerability Counter (RVC): Redefining RowHammer Detection with Victim-Centric Tracking

Lavi Jain, Venkata Kalyan Tavva · 2026

Read RowHammer Vulnerability Counter (RVC): Redefining RowHammer Detection with Victim-Centric Tracking by Lavi Jain, Venkata Kalyan Tavva (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-24287.txt.

Introduction

Jain and Tavva propose the RowHammer Vulnerability Counter, judging memory rows by real bit-flip risk rather than activation counts. Existing defenses such as Graphene refresh rows once activation counts hit a set threshold. The authors show that approach can miss threatened rows and set thresholds wrongly. By refreshing only rows near flipping, RVC cuts mitigation-induced refreshes by 95 to nearly 100 percent against Graphene, with no extra space cost. It also improves energy use and cuts average last-level-cache latency by up to 76.91 percent.

Catalog record

CREATORLavi Jain, Venkata Kalyan Tavva
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE27029
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2604.24287

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

RowHammer Vulnerability Counter (RVC): Redefining RowHammer Detection with Victim-Centric Tracking Lavi Jain, Venkata Kalyan Tavva Abstract The Rowhammer vulnerability poses an increasing challenge with newer generations of DRAM and aggressive technology scaling. Existing mitigation techniques, such as Graphene, Twice, and Hydra, primarily rely on tracking activation counts for each row and issuing refreshes when a row reaches a predefined tracking threshold. However, these methods have inherent limitations, including inefficiencies in identifying rows genuinely at risk of bit flips. In this paper, we propose a novel framework called Rowhammer Vulnerability Count (RVC) , which shifts the focus from activation count tracking to evaluating a row’s actual vulnerability to bit flips. By selectively issuing refreshes only to rows on the verge of experiencing bit flips, RVC drastically reduces unnecessary refresh operations. We also demonstrate that prior works have incorrectly set tracking thresholds, leading to security flaws. Our evaluation shows that RVC achieves 95–99.99% improvement in mitigation induced refreshes when compared to Graphene, with no additional space overhead. Furthermore, RVC improves energy efficiency and reduces average LLC latency by up to 76.91% , making it a highly efficient and scalable solution for addressing Rowhammer in modern DRAM systems. These findings establish RVC as a superior approach for preventing Rowhammer, outperforming existing methods in both accuracy and efficiency. I Introduction DRAM is ubiquitous technology for main memory design. RowHammer is a well-known vulnerability in modern DRAM devices, wherein frequent accesses (or “hammering”) to a row (“aggressor row”) can induce bit-flips in adjacent rows (“victim rows”). The maximum number of accesses an aggressor row can sustain without inducing bit-flips in victim rows is known as the Rowhammer Threshold( T_{rh} ) of the device. This vulnerability, may lead to data corruption through unintended bit flips, posing a significant threat to data integrity and security. Due to technology scaling, RowHammer thresholds have decreased from 140K [ 2 ] to about 4.8K [ 1 ] , and is expected to reach lower thresholds in the coming years. To prevent these induced bit-flips several counter-based RowHammer detection techniques have been proposed like [ 3 ] , [ 4 ] , [ 5 ] , [ 6 ] , etc. These techniques primarily focus on monitoring the activation counts of rows and initiate mitigation as and when a row reaches a predefined threshold (“Tracking Threshold”). One of the mitigation approaches is issuing a Victim Row Refresh (VRR) command to refresh the physically adjacent victim rows of an aggressor row. However, this method suffers from significant drawbacks. The first drawback is for any aggressor based approach, the second drawback if the victims are only accessed recently then it is could be drawback for any aggressor based approach. The second example is for accessing victims rows. Drawbacks:- (i) The first problem with keeping track of activation count of just the aggressor rows is the assumption that high row activation count directly correlates with increased victim risk. In reality, this correlation may be incorrect because the victim row(s) may have been accessed within the current observation window (typically refresh interval, t_{REFI} ). (ii) Second, if the victim row is common among multiple aggressor rows, it could have been recently refreshed due to some other aggressor, hence resetting their vulnerability to Rowhammer induced bit-flips. In such a case, tracking individual aggressors and initiating VRR based on them will result in unnecessary refreshes. For example:- Fig. 1 : Problems in Aggressor Activation Count Tracking with VRR Rowhammer Mitigation: (a) Highlights the issue of refreshing rows that were recently refreshed, leading to redundant refreshes (red-marked rows). (b) Illustrates the problem of refreshing rows that were recently accessed. • In case of Figure 1 a, we see that although rows A, B, D, E were refreshed due to row C reaching the Threshold, we redundantly refresh rows D, E again when row F reaches thresholds. • In Figure 1 b, rows B, C, E, and F were accessed just a few activations before row D reached its threshold. Since accessing a row inherently refreshes the row by restoring its charge, refreshing these rows again when row D reaches the threshold is redundant and unnecessary . Third drawback with existing tracking methods is when defining the Tracking Threshold (T) for a given Rowhammer Threshold ( T_{rh} ). To address the problem of cumulative effect of multiple aggressor rows on a shared victim row (Figure 2 ), T_{rh} must be reduced by a factor of 2n , where n represents the number of rows affected by an aggressor row in one direction, commonly referred to as the “blast radius”. This reduction accounts for the cumulative stress on a victim row resulting from multiple aggressor rows in its vicinity. While this is conservative, it is defined to ensure robustness against RowHammer attacks, particularly common victim attacks. Such a design choice inadvertently impacts benign workloads leading to a significant performance drop. In typical scenarios, benign applications may access only a limited number of rows near the victim, and no RowHammer attack may be occurring. By universally reducing T_{rh} by 2n , assuming the worst case attack scenario, leads to frequent trigger of mitigation. Fig. 2 : Cumulative effect on a victim by accessing adjacent rows on a system with T_{rh} of 500 and a blast radius of 2. To address these drawbacks, we demonstrate that tracking victim rows instead of aggressor rows provides a more accurate and power-efficient approach in mitigating RowHammer, while also improving performance with reduced memory access latency. In this work, we propose the Rowhammer Vulnerability Counter (RVC) that provides several advantages over naive aggressor activation count based row tracking methods: 1. Reduction in number of mitigations triggered and refreshes: On average, RVC achieves a 92.1% reduction in VRR refreshes and 91.9% fewer mitigation commands issued. 2. Robust Protection: RVC provides effective defense against single-sided, double-sided, and multi-sided RowHammer attacks by accurately tracking victim vulnerability. 3. By reducing excessive refreshes, RVC decreases total DRAM energy consumption by an average of 8.5% and VRR-induced energy consumption by over 91.6%. Furthermore, by alleviating DRAM contention, it improves average LLC latency by up to 28.7%, leading to a more efficient memory system. Through detailed evaluation, we demonstrate that our modified version of Graphene [ 3 ] adopted with RVC, outperforms the original aggressor activation count-based tracking mechanism in Graphene. By focusing on victims RVC provides a secure and efficient approach to detect and mitigate rowhammer vulnerability in current DRAM systems. II Background A RowHammer bit flip can occur at a DRAM row if the neighboring rows have been activated frequently and the number of activations within a refresh interval has crossed the RowHammer Threshold (Trh). The degree to which a DRAM device is susceptible to RowHammer attack is characterized by Trh. This number has decreased rapidly with newer generations of DRAM technology. In the latest DDR-5 chips, the threshold is speculated to be around 500 whereas a decade back TRH used to be 140K [ 2 ] . It is interesting to note that even benign applications can frequently surpass such ultra-low Trh thresholds. A RowHammer attacker can corrupt any data including data corresponding to page tables [46] located at any unspecified DRAM locations. A RowHammer attack can also be induced

Read the complete text