Adaptive RowHammer Detection Circuit for Low-Overhead DRAM Protection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

RowHammer attacks exploit electromagnetic interference between adjacent DRAM rows, causing bit flips and posing security vulnerabilities such as privilege escalation and data leakage, which existing mitigation methods incur significant overhead or degrade performance.

Innovation Solution

Adaptive detection and multi-layered prevention schemes are employed, including application-specific modeling, adjustable address range monitoring, and trigger levels to slow, narrow, and stop RowHammer events, utilizing hardware and software configurations to optimize DRAM usage and reduce overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional RowHammer mitigation methods are applied, then security against RowHammer attacks is improved, but area overhead and performance degradation increase

Engineering Contradiction:
Improvesecurity against RowHammer attacksVSAvoidarea overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The memory address space is divided into multiple segments, each monitored by dedicated counter logic. This segmentation allows the system to track activate commands for different memory regions independently, enabling targeted mitigation only where needed rather than applying global protection that would consume more resources.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically adjusts mitigation strategies based on real-time monitoring of activate command counts. When a segment's counter reaches a threshold, the system applies mitigation (such as refreshing victim rows or blocking access) only to that specific segment, rather than maintaining constant full-system protection, thereby reducing overall area overhead and performance impact.

Inventive Principle:
Principle #15Dynamics

2Reliability

If traditional RowHammer mitigation methods are applied, then security against RowHammer attacks is improved, but performance degradation increases

Engineering Contradiction:
Improvesecurity against RowHammer attacksVSAvoidperformance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

By segmenting the memory address space and applying mitigation only to segments under attack, the system avoids the performance penalty of global mitigation. Normal memory operations in unprotected segments continue unaffected, maintaining overall system productivity while providing security where necessary.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies partial mitigation by monitoring and protecting only the specific memory segments that are targets of RowHammer attacks, rather than applying excessive action that would protect all memory segments uniformly. This selective approach minimizes performance degradation while maintaining security effectiveness.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If adaptive detection with application-specific modeling is used, then detection precision is improved, but device complexity increases

Engineering Contradiction:
Improvedetection precisionVSAvoiddevice complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system performs preliminary modeling of application-specific memory access patterns during a training phase, establishing baseline behavior before actual monitoring begins. This preliminary action enables the detector to distinguish between normal access patterns and RowHammer attacks more accurately, improving detection precision without requiring complex real-time analysis.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The adaptive detection system uses the application's own access patterns to train the model and establish baselines, rather than requiring external configuration or manual programming. The system self-adjusts to the specific application's behavior, improving detection precision for that application while avoiding the complexity of manual setup and maintenance.

Inventive Principle:
Principle #25Self-service

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

Effectively detects and mitigates RowHammer attacks with reduced area and performance overhead, enhancing security and reliability by predicting bit flips and implementing targeted mitigation strategies.

Implementation Method 1

accessing a given row of DRAM can result in small changes to voltages stored in the memory cells of two adjacent rows, above and below the given row

Methodology Applied
Scientific EffectElectromagnetic interference: Electromagnetic Induction

Data Source

PatentUS12554850B2Systems and methods for adaptively detecting and mitigating RowHammer attacks against computer memories
Publication Date: 2026.02.17 NXP USA INC
  • US12554850B2 patent drawing
  • US12554850B2 patent drawing
  • US12554850B2 patent drawing

AI summary

Systems and methods for adaptively detecting and mitigating RowHammer attacks or events against computer memories have been described. In an illustrative, non-limiting embodiment, a system may include a memory controller, and a RowHammer detection circuit coupled to the memory controller, where the RowHammer detection circuit is configured to: receive a count of activate commands for a segment of a memory device, where the segment comprises one or more of a plurality of memory cell rows; and detect a RowHammer event based, at least in part, upon a determination that the count of activate commands meets at least one of a plurality of trigger levels. Either the RowHammer detection circuit, or a different circuit, can then apply at least one of a plurality of RowHammer mitigation techniques, wherein each of the plurality of RowHammer mitigation techniques corresponds to at least one of the plurality of trigger levels.