GPUBreach: Privilege Escalation Attacks on GPUs using Rowhammer
Chris S. Lin, Yuqin Yan, Guozhen Ding, Joyce Qu, Joseph Zhu, David Lie, Gururaj Saileshwar · 2026
Read GPUBreach: Privilege Escalation Attacks on GPUs using Rowhammer by Chris S. Lin, Yuqin Yan, Guozhen Ding, Joyce Qu, Joseph Zhu, David Lie, Gururaj Saileshwar (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-2605-03812.txt.
Introduction
Chris S. Lin and six co-authors demonstrate GPUBreach, a privilege escalation attack on graphics processors using Rowhammer, the hardware fault technique that flips bits in memory by repeated access. NVIDIA GPUs with GDDR memory were known to suffer untargeted bit flips that degrade model accuracy, but privilege escalation was thought to be a CPU-only feat. The authors close that gap.
By exploiting GPU page table management, an unprivileged CUDA kernel learns when and where new page tables are allocated. It can then flip targeted bits in page tables and reach other tenants' memory. They demonstrate leaking cryptographic keys from cuPQC libraries, tampering with model assembly code, and even escalating from GPU access to CPU-side privilege despite IOMMU protections.
Catalog record
| CREATOR | Chris S. Lin, Yuqin Yan, Guozhen Ding, Joyce Qu, Joseph Zhu, David Lie, Gururaj Saileshwar |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 81 KB |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2605.03812
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
GPUBreach: Privilege Escalation Attacks on GPUs using Rowhammer Chris S. Lin, Yuqin Yan, Guozhen Ding, Joyce Qu, Joseph Zhu, David Lie, Gururaj Saileshwar Abstract NVIDIA GPUs with GDDR memories have been shown susceptible to Rowhammer-based bit-flips, similar to CPUs. However, Rowhammer exploits on GPUs have been limited to injecting untargeted bit-flips in victim data like weights of machine learning models, to degrade model accuracy, unlike CPU exploits shown capable of privilege escalation. In this paper, we demonstrate that GPU Rowhammer exploits can be as potent as CPU Rowhammer attacks. By exploiting the GPU page table management to identify when and where new page tables are allocated, we enable an unprivileged user CUDA kernel of one process to use RowHammer bit-flips to gain access to the GPU memory of other processes or co-tenants via targeted tampering of such page-tables resident on the GPU memory. Using this newly found primitive, we demonstrate the first GPU-side privilege escalation attacks, leaking secret data such as cryptographic keys from cuPQC libraries, and even tampering with the model’s GPU assembly code to degrade models more stealthily than previous attacks. We further demonstrate that GPU-side privilege escalation can lead to CPU-side privilege escalation, defeating the protections provided by the IOMMU, enabling a malicious user-level program with GPU access to gain root shell and system-wide control, even in a non-multi-tenant setting. I Introduction Modern DRAM is vulnerable to Rowhammer attacks [ 41 ] , where an attacker can induce bit-flips in memory cells by repeatedly activating neighboring rows. Rowhammer has been extensively studied on CPU DRAM (DDR3–5 and LPDDR4–5) across Intel, AMD, and ARM CPUs [ 20 , 13 , 33 , 42 , 10 , 34 , 38 , 19 , 57 ] , and more recently on GPUs with GPUHammer [ 46 ] demonstrating bit-flips on GDDR6 memories. While CPU based exploits have been extensively studied, and shown capable of weakening cryptographic keys [ 28 , 3 , 73 ] , corrupting sudo to gain supervisor privileges [ 23 , 10 ] , or tampering with page tables to obtain kernel-level privileges [ 80 , 20 , 25 , 10 , 33 , 42 ] , there has been a limited study of Rowhammer exploits on GPUs. So far, GPU Rowhammer exploits have been only shown to have limited capabilities like tampering with co-resident ML model weights, to degrade model accuracy [ 46 ] or jailbreak large language models [ 9 ] , making it unclear if they can be as potent as CPU-based exploits. This paper explores whether privilege escalation exploits are feasible on NVIDIA GPUs using Rowhammer. On NVIDIA GPUs, user code runs as CUDA kernels that allocate memory resident in the GPU. Kernels from different processes (CUDA contexts) can run in a time-sliced manner in a single-tenant GPU (e.g., workstation), while kernels from different users can run concurrently, spatially sharing the GPU, via NVIDIA’s Multi-Process Service (MPS) in containerized deployments [ 22 , 1 ] . A CUDA kernel with elevated privileges can arbitrarily read or modify another process’s GPU memory (e.g., leak or tamper with cryptographic keys, ML model weights, etc.). Worse, it may potentially corrupt the CPU-side data of the GPU driver, that executes on the CPU at an elevated privilege, enabling system-wide privilege escalation even on a single-tenant machine. Thus, GPU privilege escalation can have serious implications in both single and multi-tenant settings. Privilege escalation exploits on CPUs [ 34 , 80 ] use Rowhammer to corrupt privileged binaries (e.g., sudo ), or to tamper with page tables. While GPUs do not execute privileged binaries like sudo , GPU page tables are stored entirely in GPU memory, making them appealing targets for GPU-based Rowhammer. Here, the attacker’s goal is to gain arbitrary read/write access to GPU physical memory by corrupting their own GPU page tables (PT). Achieving this requires: (1) a page table entry (PTE) to be tampered with a bit-flip, and (2) the corrupted page-frame number (PFN) to point to another page table page. This enables the attacker’s CUDA kernel to read and write its own page table, controlling its GPU virtual-to-physical mappings and enabling arbitrary GPU memory access. However, obtaining this level of control over GPU page tables is nontrivial and faces several challenges ( C1–C3 ). C1. Where are GPU Page Tables Allocated? Limited documentation exists on where NVIDIA GPUs place page tables in device memory. For Rowhammer based PTE tampering to work, a page table page needs to be sandwiched between two user data pages in neighboring rows. If the GPU allocates page tables in a separate memory region, then the attack cannot succeed. Thus, we must first determine how NVIDIA GPUs allocate page tables in memory to ensure interspersed allocation of data and page table pages. C2. Populating GPU Memory with PTEs. CPU-based attacks often use mmap to map a single physical page to many virtual pages, forcing the memory to fill with page tables. However, the equivalent in GPUs ( cuMemMap ) fails to achieve the same effect, making this strategy ineffective. We thus require new GPU mechanisms to efficiently fill PTEs in memory, while minimizing the data memory requirements. C3. Positioning GPU PTEs at Target Locations. A successful exploit requires not only flipping a bit in PTEs, but also ensuring the corrupted PFN points to another page-table page with valid PTEs. This requires placing a page-table page precisely at the location that a tampered PFN will reference. How do we reliably steer GPU page-table allocations to these target physical addresses? In this paper, we develop techniques to overcome these challenges and successfully launch Rowhammer-based privilege escalation exploits on NVIDIA GPUs. Similar to prior work [ 46 ] , we demonstrate these techniques on an NVIDIA RTX A6000 GPU with GDDR6 memory, that is widely available in workstations and cloud servers, and shown to be vulnerable to Rowhammer bit-flips. Uncovering Memory Locations of GPU Page Tables. Building on prior reverse engineering of GPU TLBs [ 100 ] , we patch the open-source NVIDIA GPU driver to dump the memory locations of GPU page tables and analyze its allocation strategy. We find that the driver places all page tables in contiguous 2MB regions, which we call page table regions (PT regions). However, the initial PT region is far from user data. Only after this initial region fills, will a new region be allocated from the same physical memory pool as user pages, enabling interspersed allocations required for a Rowhammer exploit. Thus, we need primitives to efficiently fill PT regions with PTEs, with minimum memory usage. Efficient Allocation of GPU Page Table Pages. To reliably induce bit-flips in PTEs, we need the ability to (1) allocate new PT regions at chosen locations, by filling PTEs in existing PT regions, and (2) densely pack PT regions with valid PTEs for effective Rowhammer targeting. While GPUs support multiple data page sizes (2 MB, 64 KB, and 4 KB), the NVIDIA driver automatically promotes allocations to 2 MB pages [ 100 ] , without providing the user the capability to request specific page frame sizes. Consequently, allocating even a single new 2 MB PT region naively consumes roughly 256 GB of memory, far beyond GPU capacity. To address this,