# US 2026/0311739 A1 · Detection and mitigation of attacks on row hammer mitigation circuits

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0311739 A1
- Document ID: US20260311739A1
- Status: Published application
- Kind: A1
- Application number: 19/713,696
- Filed: 2026-06-18
- Published: 2026-10-08
- Earliest claimed: 2023-06-23
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Sujeet Ayyapureddi
- Web page: https://patentgrep.com/patent/US20260311739A1

## CPC

- G11C 11/4078: Safety or protection circuits, e.g. for preventing inadvertent or unauthorised reading or writing; Status cells; Test cells (protection of memory contents during checking or testing G11C29/52)
- G11C 11/40615: {Internal triggering or timing of refresh, e.g. hidden refresh, self refresh, pseudo-SRAMs}
- G11C 11/40622: {Partial refresh of memory arrays}
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Methods, apparatuses, and systems related to detecting and mitigating waterfall attacks are described. A memory device may include a waterfall attack mitigation circuit that is configured to detect, based on the ratio of read commands to write command received by the memory device, whether the memory device is the target of a waterfall attack. Upon detecting that the memory device is the target of a waterfall attack, the waterfall attack mitigation circuit can initiate certain mitigation actions, such as adjusting a threshold used to perform row hammer-related refreshes.

## Claims

### Claim 1

An apparatus, comprising:
a memory array;
a row hammer management circuit; and
a row hammer attack management circuit configured to:
determine, based on commands addressing the memory array, a row hammer attack targeting the memory array, wherein the commands correspond to a pattern associated with an attack that exploits row hammer effects through numerous activations of rows to cause an error, wherein the row hammer attack is determined at least partially based on a read-to-write ratio associated with the pattern; and
adjusting, based on determining the row hammer attack, a configuration of the row hammer management circuit.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the row hammer management circuit is configured to:
determine whether a first row of memory cells within the memory array has accumulated an activation count exceeding a row hammer threshold; and
initiate, in response to determining that the first row has accumulated an activation count exceeding the row hammer threshold, a row hammer mitigation action.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the activation count characterizes an activation directed to a row adjacent to the first row.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the row hammer mitigation action includes refreshing a row adjacent to the first row.

### Claim 5 (depends on 2)

The apparatus of claim 2, wherein the row hammer attack management circuit is further configured to adjust the configuration of the row hammer management circuit by lowering the row hammer threshold.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the row hammer attack management circuit is configured to determine the row hammer attack based on:
calculating the read-to-write ratio characterizing the commands; and
determine that the commands correspond to the pattern when the read-to-write ratio exceeds an expected read-to-write ratio.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein calculating the read-to-write ratio includes:
maintaining a count of read commands received by the memory array;
maintaining a count of write commands received by the memory array;
detecting a command received by the memory array;
determining whether the received command is a read command or a write command;
updating, based on the determination of whether the received command is a read command or a write command, the count of read commands or the count of write commands; and
generating the read-to-write ratio based on the count of read commands and the count of write commands.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein calculating the read-to-write ratio further comprises resetting the count of read commands to 0, and resetting the count of write commands to 0, after a threshold time has elapsed.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the threshold time is less than 2 ms.

### Claim 10 (depends on 6)

The apparatus of claim 6, the memory device further comprising:
a mode register configured to maintain the expected read-to-write ratio.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the expected read-to-write ratio in the mode register is programmed by a host operatively coupled to the memory device.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein:
the memory array includes a plurality of memory banks, each memory bank including a subset of rows of memory cells; and
the row hammer attack management circuit is further configured to:
maintain a plurality of read counters and write counters, wherein each of a read counter and a write counter are associated with a memory bank;
detecting a command received by the memory device, the command associated with one of the memory banks;
updating the read counter or write counter associated with the one of the memory banks that is associated with the received command; and
the read-to-write ratio is associated with a memory bank, and is calculated based on the read counter and write counter associated with the memory bank.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the row hammer attack management circuit is further configured to stall the memory device in response to determining the row hammer attack.

### Claim 14 (depends on 1)

The apparatus of claim 1, wherein the memory array is a DRAM array.

### Claim 15

A data storage device comprising:
a memory array; and
a controller configured to:
determine, based on commands addressing the memory array, a row hammer attack targeting the memory array, wherein the commands correspond to a pattern associated with an attack that exploits row hammer effects through numerous activations of rows to cause an error, wherein the row hammer attack is determined at least partially based on a read-to-write ratio associated with the pattern; and
initiate, in response to determining the row hammer attack, a mitigation action.

### Claim 16 (depends on 15)

The data storage device of claim 15, wherein the mitigation action includes adjusting a row hammer threshold, based on which a subset of the memory array is refreshed.

### Claim 17 (depends on 15)

The data storage device of claim 15, wherein the controller is configured to determine the row hammer attack based on:
calculating the read-to-write ratio characterizing the commands; and
determine that the commands correspond to the pattern when the read-to-write ratio exceeds an expected read-to-write ratio.

### Claim 18 (depends on 17)

The data storage device of claim 17, wherein calculating the read-to-write ratio includes:
maintaining a count of read commands received by the data storage device;
maintaining a count of write commands received by the data storage device;
detecting a command received by the data storage device;
determining whether the received command is a read command or a write command;
updating, based on the determination of whether the received command is a read command or a write command, the count of read commands or the count of write commands; and
generating the read-to-write ratio based on the count of read commands and the count of write commands.

### Claim 19 (depends on 17)

The data storage device of claim 17, wherein calculating the read-to-write ratio further comprises resetting the count of read commands to 0, and resetting the count of write commands to 0, after a threshold time has elapsed.

### Claim 20 (depends on 15)

The data storage device of claim 15, wherein the expected read-to-write ratio is configured by a host operatively coupled to the data storage device.

### Claim 21

A method of operating a memory device, the method comprising:
receiving commands addressing a memory array of the memory device;
based on the commands, determining a row hammer attack targeting the memory array when the commands correspond to a pattern associated with an attack that exploits row hammer effects through numerous activations of rows to cause an error, wherein the row hammer attack is determined at least partially based on a read-to-write ratio associated with the pattern; and
in response to determining the row hammer attack, initiating a mitigation action that includes stalling the memory device or adjusting a configuration of a row hammer management circuit that is configured to refresh victim rows when an activation count for an aggressor row exceeds a threshold during normal operation and outside of the attack pattern.
