AIDEFEND in Action AIA-0176 Validated Research

GPUHammer: A GPU Memory Fault Can Corrupt Active Model Weights

University of Toronto researchers demonstrated GPUHammer, a Rowhammer hardware attack against GPU memory on an NVIDIA RTX A6000 with system-level error correction (ECC) turned off. Rowhammer works by rapidly reading adjacent memory rows until electrical interference flips a stored bit (changing a 0 to a 1 or vice versa) without directly writing to it. In a controlled experiment where the researchers chose where model weights sat in memory, flipping even a single bit in an active image-classification model caused its prediction accuracy to collapse.

Adversarial MLAI Deployment SecurityMulti-Tenant AIAI Infrastructure
3 applicable AIDEFEND defenses
Source: GPUHammer: Rowhammer Attacks on GPU Memories Are Practical 
Author: University of Toronto researchers
Original article: Jul 10, 2025

Threat Analysis

  • The corruption happens inside live GPU memory, not on disk. Dynamic memory (DRAM) stores data as tiny electrical charges in closely packed cells. Repeatedly reading neighboring rows can disturb adjacent cells and flip a bit in a model’s weights (the learned numbers an AI model uses to make predictions) without touching the model file stored on disk. Standard file-integrity checks therefore will not see the change.
  • The accuracy collapse was measured under controlled placement. In the experiment, the researchers used custom memory allocators to place model weights at known vulnerable memory locations. In their worst reported test on ResNet50 (a widely used image-classification model), a single bit flip dropped accuracy from 80.26% to 0.08%. That controlled result proves the hardware risk is real, though it does not yet prove that a hostile co-tenant can reliably aim the same bit flip at an independently placed production model.

Applicable AIDEFEND Defenses (3)

AID-H-009.004
Accelerator Isolation & VRAM/KV-Cache Hygiene
Very High
A GPU scheduler owner can reserve the entire physical GPU for one protected trust zone and reject dispatch whenever independent host inventory shows an untrusted workload could share that card. Verify this with a benign two-tenant scheduling test on the same physical device. Whole-GPU dedication removes the shared-hardware prerequisite for a cross-tenant Rowhammer attack, though it does not stop untrusted code already permitted inside the same trust zone.
AID-H-003.004
Hardware/Firmware Attestation & Cluster Admission
High
On supported GPUs running native drivers, verify that both active and next-boot system-level ECC (error-correcting code) are enabled before admitting sensitive inference workloads. System-level ECC directly targets the tested single-bit memory-fault scenario. Keep unsupported cards out of this workload pool, and measure any performance impact before production rollout.
AID-D-005.005
Accelerator Telemetry Anomaly Detection
High
Monitor supported GPU memory reliability counters (corrected and uncorrected ECC errors) and correlate spikes with the exact physical GPU and inference workload. These signals help teams spot an active memory-integrity issue, though counters alone cannot prove Rowhammer or catch faults when ECC is disabled.

What Defenders Should Do Now

  • Require and verify system-level ECC before running sensitive jobs. ECC (Error-Correcting Code) is hardware protection that detects and fixes single-bit memory errors. On supported NVIDIA GPUs, require system-level ECC to be active before scheduling fault-sensitive inference workloads. Read back both the active status and the next-boot pending setting on each physical GPU after reboots or maintenance, and withhold workload admission if the device identity or ECC state cannot be verified.
  • Monitor GPU memory error counters alongside running workloads. Collect supported corrected and uncorrected memory error counters and tie any sudden spike to the exact physical GPU and workload running at that time. A jump in errors is an investigation trigger, though ordinary hardware wear or heat can also raise counters, and silent faults can still occur without triggering an alert.
  • Dedicate whole physical GPUs to sensitive inference. Cross-tenant Rowhammer requires another untrusted job running on the same physical GPU. GPU operators should verify physical device ownership across every running process (including background jobs) and test that another tenant cannot be scheduled onto that card, even through time-slicing (multiple jobs taking turns on one GPU).
  • If you rent cloud or hosted GPUs, verify whole-GPU physical exclusivity rather than relying on tier names. Teams that do not operate the physical servers themselves should choose a deployment option that supports verified whole-GPU physical exclusivity for sensitive inference and inspect authenticated provider isolation evidence for the actual serving path (including autoscaling and failover routes). Reserved compute capacity or a dedicated logical endpoint alone cannot confirm that the underlying physical GPU is unshared.

Conclusion

AIDEFEND  maps GPUHammer’s hardware-fault risk to three complementary controls for accelerator operators: dedicating whole physical GPUs to a single trust zone, verifying active system-level ECC before admitting sensitive workloads, and correlating GPU memory-error telemetry with running jobs. Together these controls address co-location, hardware fault mitigation, and incident investigation at distinct boundaries.

Last updated: