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.

Delve into big-picture strategies to reduce attack surfaces, improve patch management, conduct post-incident forensics, and tools and tricks needed in a modern organization.

Register

Organizations are investing heavily in third-party risk management, but breaches, delays, and blind spots continue to persist. Join this live webinar as we examine the gap between how organizations think their third-party risk programs are performing and what’s actually happening in practice.

Register

People on the Move

Anurag Jain has been appointed Senior Vice President of Engineering at CodeHunter

CTERA has appointed Tal Sarfaty as Senior Vice President of Cybersecurity.

Quantum Secure Encryption has named Michael Massing as Chief Technology Officer.

More People On The Move

Expert Insights

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.