QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Woo, Jeonghyun, Lin, Chris S., Nair, Prashant J., Jaleel, Aamer, Saileshwar, Gururaj
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913837817528320
author Woo, Jeonghyun
Lin, Chris S.
Nair, Prashant J.
Jaleel, Aamer
Saileshwar, Gururaj
author_facet Woo, Jeonghyun
Lin, Chris S.
Nair, Prashant J.
Jaleel, Aamer
Saileshwar, Gururaj
contents JEDEC has introduced the Per Row Activation Counting (PRAC) framework for DDR5 and future DRAMs to enable precise counting of DRAM row activations. PRAC enables a holistic mitigation of Rowhammer attacks even at ultra-low Rowhammer thresholds. PRAC uses an Alert Back-Off (ABO) protocol to request the memory controller to issue Rowhammer mitigation requests. However, recent PRAC implementations are either insecure or impractical. For example, Panopticon, the inspiration for PRAC, is rendered insecure if implemented per JEDEC's PRAC specification. On the other hand, the recent UPRAC proposal is impractical since it needs oracular knowledge of the `top-N' activated DRAM rows that require mitigation. This paper provides the first secure, scalable, and practical RowHammer solution using the PRAC framework. The crux of our proposal is the design of a priority-based service queue (PSQ) for mitigations that prioritizes pending mitigations based on activation counts to avoid the security risks of prior solutions. This provides principled security using the reactive ABO protocol. Furthermore, we co-design our PSQ, with opportunistic mitigation on Refresh Management (RFM) operations and proactive mitigation during refresh (REF), to limit the performance impact of ABO-based mitigations. QPRAC provides secure and practical RowHammer mitigation that scales to Rowhammer thresholds as low as 71 while incurring a 0.8% slowdown for benign workloads, which further reduces to 0% with proactive mitigations.
format Preprint
id arxiv_https___arxiv_org_abs_2501_18861
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues
Woo, Jeonghyun
Lin, Chris S.
Nair, Prashant J.
Jaleel, Aamer
Saileshwar, Gururaj
Cryptography and Security
JEDEC has introduced the Per Row Activation Counting (PRAC) framework for DDR5 and future DRAMs to enable precise counting of DRAM row activations. PRAC enables a holistic mitigation of Rowhammer attacks even at ultra-low Rowhammer thresholds. PRAC uses an Alert Back-Off (ABO) protocol to request the memory controller to issue Rowhammer mitigation requests. However, recent PRAC implementations are either insecure or impractical. For example, Panopticon, the inspiration for PRAC, is rendered insecure if implemented per JEDEC's PRAC specification. On the other hand, the recent UPRAC proposal is impractical since it needs oracular knowledge of the `top-N' activated DRAM rows that require mitigation. This paper provides the first secure, scalable, and practical RowHammer solution using the PRAC framework. The crux of our proposal is the design of a priority-based service queue (PSQ) for mitigations that prioritizes pending mitigations based on activation counts to avoid the security risks of prior solutions. This provides principled security using the reactive ABO protocol. Furthermore, we co-design our PSQ, with opportunistic mitigation on Refresh Management (RFM) operations and proactive mitigation during refresh (REF), to limit the performance impact of ABO-based mitigations. QPRAC provides secure and practical RowHammer mitigation that scales to Rowhammer thresholds as low as 71 while incurring a 0.8% slowdown for benign workloads, which further reduces to 0% with proactive mitigations.
title QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues
topic Cryptography and Security
url https://arxiv.org/abs/2501.18861