Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Rowhammer Attack Demonstrated Against Nvidia GPU

Researchers demonstrated GPUHammer — a Rowhammer attack against GPUs — by degrading the accuracy of machine learning models.

GPU Rowhammer attack

A team of researchers from the University of Toronto has demonstrated that Rohammer attacks against GPUs are possible and practical.

The attack method, dubbed GPUHammer, has been proven to work against a GPU from Nvidia, with the researchers using it to degrade the accuracy of machine learning models.

The Rowhammer attack method has been known for more than a decade. It involves repeatedly accessing — or hammering — a DRAM memory row, which can cause electrical interference that leads to bit flips in adjacent regions.

Researchers have demonstrated over the years that Rowhammer attacks can lead to privilege escalation, unauthorized access to data, data corruption, and breaking memory isolation (in virtualized environments). 

However, until now, Rowhammer attacks have focused on CPUs and CPU-based memories. The University of Toronto researchers wanted to see if such attacks can be conducted against GPUs, particularly in light of their increasing use for artificial intelligence and machine learning.

The researchers managed to successfully conduct a Rowhammer attack against a GDDR6 memory in an NVIDIA A6000 GPU. They observed the impact of the GPUHammer attack on deep neural network (DNN) machine learning models, specifically ImageNet models used for visual object recognition. 

Advertisement. Scroll to continue reading.

Their tests showed that a single bit flip could result in the accuracy of the machine learning model dropping from 80% to 0.1%.

In an advisory published this week, Nvidia confirmed the findings and informed customers that System-level ECC (error correcting code) — a known Rowhammer mitigation — can prevent attacks. The GPU giant has shared specific instructions for different products.

However, the researchers pointed out that enabling ECC can reduce performance and memory capacity.

The researchers said their proof-of-concept (PoC) code is extensible to other GPUs based on Nvidia’s Ampere architecture. 

As for why the attack hasn’t been tested against other GPUs, they argued that “unlike CPUs, where DRAM modules can be easily swapped out for testing, GPU DRAM is soldered in, making large-scale testing expensive (GPUs can cost thousands of dollars).”

The researchers have created a dedicated GPUHammer website and published a paper detailing their findings. 

Related: ZenHammer Attack Targets DRAM on Systems With AMD CPUs

Related: Qualcomm Flags Exploitation of Adreno GPU Flaws, Urges OEMs to Patch Urgently

Related: Intel TDX Connect Bridges the CPU-GPU Security Gap

Written By

Eduard Kovacs (@EduardKovacs) is senior managing editor at SecurityWeek. He worked as a high school IT teacher before starting a career in journalism in 2011. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Today’s attackers are no longer breaking in — they’re logging in. Join this live webinar as we break down the modern identity attack chain and examine how recent breaches exploited weaknesses in authentication, identity verification, and access management processes.

Register

AI has accelerated both sides of the fight. Adversaries are weaponizing vulnerabilities faster, while defenders are racing to ship detections and configurations. Join this live webinar as we explore how to prove your controls actually hold against new threats, map your security maturity, and unite breach simulation with automated pentesting into a single, coordinated program.

Register

People on the Move

SolarWinds has appointed Justin Henkel as Chief Information Security Officer.

J. Paul Haynes has joined Cinchy as Chief Executive Officer.

Hatem Naguib has become Chief Executive Officer at Sysdig.

More People On The Move

Expert Insights

Four decades of incident response experience suggest that exploits are often the symptom, not the root cause, of today’s cybersecurity failures.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.