arXiv:2608.26072cs.CRAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.26072

From Fleet to Lab: Revisiting the Security and Complexity of Industrial Rowhammer Mitigation

Hritvik Taneja, Moinuddin Qureshi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Hritvik Taneja

Georgia Institute of Technology

htaneja3@gatech.edu

Moinuddin Qureshi

Georgia Institute of Technology

moin@gatech.edu

Abstract—This paper studies efficient and secure Rowhammer mitigation at the Memory-Controller (MC). Rowhammer mitigation faces a fundamental tradeoff between tracking storage and mitigation rate: precise trackers (such as Misra-Gries) avoid unnecessary mitigations but require large CAM structures, whereas sampling-based schemes (such as PARA) require no storage but incur frequent mitigations even when not under attack. Microsoft recently deployed Sigries, an MC-side Rowhammer defense that combines an under-provisioned Misra-Gries tracker with a row-sampling fallback, in its Azure Cobalt 200 SoC. Sigries observed that the tracker-to-sampling transition can be insecure, and claimed the reverse transition is always safe. Our analysis shows that this transition is also vulnerable, and that a Round-Robin Attack across sub-banks reduces the Mean-Time-To-Failure of Sigries to about one second, eight orders of magnitude below the 13 years with PARA. Sigries also suffers from CAM complexity and high storage overheads. Our goal is to develop a solution that is fully secure and minimizes the storage and complexity of Sigries, while matching its performance.

Our proposal, FiRM (Filtered Rowhammer Mitigation), is based on the key insight that for a secure design the tracking-mode and sampling-mode should not be configured independently, but co-designed to ensure that the system remains secure not only during the two modes but also during the two transitions. FiRM also avoids the complexity of Sigries by replacing the CAM-based tracker with simple SRAM filters. As benign workloads do not exceed the filtering threshold, FiRM incurs no slowdown for benign workloads. To handle stressful patterns, we propose two variants. First, FiRM-P (probabilistic), which relies on PARA; however, it uses varying probabilities during transitions and steady state to ensure both security and low performance overhead. FiRM-P is secure, has less than half the storage overhead of Sigries, and provides similar performance. Second, FiRM-D (deterministic), which provides guaranteed deterministic security by modulating the rate of mitigation (zero for benign workloads and non-zero under attack). FiRM-D requires less than two-thirds the storage of Sigries, does not require any CAM, and has zero slowdown for benign workloads. Our paper shows that a principled approach can avoid both the insecurity and the complexity of Sigries.

I. INTRODUCTION

DRAM scaling has enabled denser chips but it has also made DRAM increasingly susceptible to data-disturbance errors, such as Rowhammer [13]. Rowhammer occurs when frequent activations to a DRAM row cause bit-flips in nearby rows. Rowhammer is not merely a reliability concern but a serious security threat [14], [34]. The severity of Rowhammer is characterized by the Rowhammer Threshold ( TRHT_{RH}), the minimum number of activations required to induce a bit-flip. Why Memory-Controller Side Mitigation? A typical hardware Rowhammer defense has two parts: a tracker that identifies aggressor rows, and a mitigation that refreshes the victim rows. Mitigation can be done either inside the DRAM (inDRAM) or at the Memory Controller (MC). Commercially deployed in-DRAM trackers such as TRR have been broken [4], [6], [8]. Principled in-DRAM solutions such as Per-Row Activation Counting (PRAC) incur significant slowdown (about 8.4%) even when the system is not under an attack. MC-based mitigations can provide strong security while incurring lower overheads. Furthermore, recent trends in hyperscalers [5] to reuse DIMMs from decommissioned servers mean that currently deployed DDR5 DIMMs (insecure against Rowhammer) may remain in use for more than a decade, further boosting the need for MC-side Rowhammer defense.

The Storage vs. Mitigation Tradeoff: MC-side trackers fall into two classes. Deterministic (counter-based) trackers, such as Graphene [23], use the Misra-Gries algorithm to identify the top-K most activated rows. As these trackers issue mitigations only when needed, benign workloads experience virtually zero mitigations. However, they require a CAM structure with hundreds of entries (per bank), making them impractical for commercial adoption. At the other end, probabilistic (sampling-based) trackers, such as PARA [13], select a row for mitigation with probability p. While they do not need any storage, they issue frequent mitigations even when the system is not under an attack. Ideally, we want the mitigation-efficiency of counter-based trackers and storage-efficiency of sampling-based trackers, as shown in Figure 1(a).

Sigries: Recently, Microsoft deployed Sigries [32] (in Azure Cobalt 200), an MC-side Rowhammer defense that targets the above trade-off. Sigries splits the bank into several sub-banks, and equips each sub-bank with an under-provisioned Misra-Gries tracker (containing a couple of dozen entries) and row-sampling fallback, as shown in Figure 1(b). The tracker is sufficient to handle benign workloads without triggering mitigations, thus benign workloads incur zero slowdown. When an access pattern overflows the tracker, the design falls back to PARA, providing probabilistic protection at negligible additional storage. As the tracker is under-provisioned, each sub-bank of Sigries needs far fewer CAM entries than per-bank Graphene. However, Sigries still incurs the complexity of a CAM lookup of the sub-bank entries on each activation.

Figure

(a) Storage vs. Mitigation

Figure

(b) Sigries Design

(c) FiRM-P

(d) FiRM-D

Fig. 1. (a) Counter-based trackers need more storage, whereas PARA needs more frequent mitigations; ideally, we want low storage and low mitigation. (b) Sigries uses a per-sub-bank shortened Misra-Gries tracker (CAM) and a uniform rate for PARA as fallback; however, it suffers from both insecurity and complexity. (c) Our proposal, FiRM-P, provides principled Filtered Rowhammer Mitigation and ensures security in both modes and transitions, and avoids CAM complexity by using simple SRAM filters. (d) Our proposal, FiRM-D, provides deterministic security by modulating the mitigation rate of a region.

The two components of Sigries (Misra-Gries and PARA) are each designed independently to be secure within their mode. However, combinations of two things that are independently secure can still be insecure. Sigries identifies that the transition from tracker to sampling can be unsafe and handles this by limiting the vulnerability windows to less than 1 hour per year (per sub-bank). It does so by running the sampling-mode for several minutes on each transition. Our paper investigates whether Sigries has any additional unknown vulnerabilities.

While the Sigries paper asserts that the transition from sampling-mode to tracker-mode is always safe, our analysis shows otherwise. Our key observation is that tracker-mode is safe only if the row started with zero unmitigated activations, however, for Sigries, the row would have hundreds of unmitigated activations (due to prior sampling-mode), making the transition unsafe. We also show that while the target vulnerability of one hour per year (per sub-bank) may seem low, an attack that Round-Robins multiple sub-banks can cause a failure within a second, reducing the system MTTF by eight orders of magnitude. The goal of this paper is to design a secure mitigation that also avoids the complexity of Sigries.

Insight and Solution. The root cause of the vulnerability of Sigries is that the two solutions (tracker and sampling) are independently designed to be secure in isolation, assuming the given row starts with zero activations. When the two schemes are combined, this assumption gets violated, which causes unsafe behavior. The key insight of our paper is that to ensure security both modes should be co-designed to ensure that not only are they secure in isolation but also during the transition from one to another. Our proposal, FiRM (Filtered Rowhammer Mitigation), is built on this insight. FiRM codesigns the filter and the fallback so that the activation budget of an attacker is bounded across all modes and transitions.

We also observe that the filter does not need the precision of Misra-Gries, it simply needs to track if the benign traffic to the given region is below a certain threshold. FiRM therefore replaces the CAM-based tracker of Sigries with a simple SRAM filter: an untagged, direct-mapped table of counters that requires no associative lookup. As benign workloads do not exceed the Filtering Threshold ( TFT_{F}), FiRM incurs zero slowdown on benign workloads, while relying on the fallback under attacks. We propose two variants that differ in fallback.

Our first design, FiRM-P (Probabilistic), uses PARA as its fallback, however, unlike Sigries, it does not use a uniform probability for mitigation. The activations an attacker can accrue while crossing a mode boundary are larger than those accrued in steady state, so FiRM-P uses an elevated probability during the transition windows and relaxes to a lower steady-state probability during steady-state, as shown in Figure 1(c). This lets FiRM-P avoid security vulnerabilities during transitions while still ensuring similar steady-state performance to Sigries during sampling mode. FiRM-P is secure by construction, avoids CAM complexity, requires less than half the storage, and has similar performance as Sigries.

Our second design, FiRM-D (Deterministic), avoids reliance on random number generator (RNG), which can be a source of both design complexity and insecurity [25]. Rather than sampling, FiRM-D modulates the rate of mitigation of a region based on the activation count. As shown in Figure 1(d), the rate is zero when the filter is below TFT_{F} (benign workloads) and non-zero thereafter to ensure security for the attacked row. FiRM-D provides strong deterministic security, uses no CAM or RNG, requires less than two-thirds the storage of Sigries, and has zero slowdown for benign workloads.

Contributions: Our paper makes the following contributions:

  1. We show that Sigries has a previously unidentified vulnerability during the heavy-to-lite transition. We also show that under multi-sub-bank attack the MTTF of Sigries reduces to 1 second, instead of 13 years for PARA.

  2. We propose FiRM, a principled filtered mitigation, that configures the tracking and sampling components jointly, so that security holds across both modes and transitions.

  3. We show that FiRM has lower storage and complexity than Sigries, as it relies on simple SRAM filters instead of Misra-Gries. FiRM-P has zero slowdown for benign workloads and the same as Sigries under attack.

  4. We show that filtered Rowhammer mitigation need not rely on a probabilistic fallback. FiRM-D is a deterministic filtered Rowhammer mitigation that avoids reliance on RNG and has less than two-thirds the storage of Sigries.

Our paper shows that neither the security tradeoff nor the CAM complexity of Sigries is essential for designing an effective filtered Rowhammer mitigation. A principled design can deliver both strong security and simplified implementation.

II. BACKGROUND AND MOTIVATION

References (39)