Skip to main content
QUICK REVIEW

[Paper Review] Vulnerable GPU Memory Management: Towards Recovering Raw Data from GPU

Zhe Zhou, Wenrui Diao|arXiv (Cornell University)|May 21, 2016
Security and Verification in ComputingComputer Science9 references4 citations
TL;DR

This paper reveals that GPU memory management in modern systems is fundamentally insecure, enabling adversaries to recover raw, sensitive data—such as full images, text, and matrices—left in GPU memory after application termination. By exploiting signal-processing patterns in image data, the authors develop a novel method to automatically detect and reconstruct images without metadata, demonstrating successful recovery from popular applications like Chrome, Adobe Reader, and MATLAB.

ABSTRACT

In this paper, we present that security threats coming with existing GPU memory management strategy are overlooked, which opens a back door for adversaries to freely break the memory isolation: they enable adversaries without any privilege in a computer to recover the raw memory data left by previous processes directly. More importantly, such attacks can work on not only normal multi-user operating systems, but also cloud computing platforms. To demonstrate the seriousness of such attacks, we recovered original data directly from GPU memory residues left by exited commodity applications, including Google Chrome, Adobe Reader, GIMP, Matlab. The results show that, because of the vulnerable memory management strategy, commodity applications in our experiments are all affected.

Motivation & Objective

  • To investigate the security vulnerabilities in GPU memory management that compromise memory isolation across processes and virtual machines.
  • To demonstrate that sensitive data, including full images and text, can be recovered from GPU memory residues left after application termination.
  • To develop a method capable of automatically detecting and reconstructing images from unstructured GPU memory without metadata.
  • To evaluate the attack's feasibility across commodity GPU-accelerated applications and virtualized cloud environments.

Proposed method

  • Leveraged the unique byte-value patterns in image pixels to detect image-like data within large GPU memory regions (several GB).
  • Proposed a frequency-domain analysis technique to infer image layout by detecting cyclical patterns in row-wise signal similarity, with the cycle length corresponding to image width.
  • Used the detected layout and pixel patterns to reconstruct images with no quality loss, even when formats like RGBA or ARGB were not used.
  • Adapted the algorithm to handle non-standard color formats by preserving alignment and enabling partial recognition via text detection.
  • Applied the method to fragmented GPU memory layouts, such as those produced by MATLAB’s column-major matrix storage, by reversing transposition effects.
  • Validated the approach across multiple applications by dumping GPU memory post-execution and analyzing residues for recoverable data.

Experimental results

Research questions

  • RQ1Can raw, sensitive data such as images and text be recovered from GPU memory residues after application termination?
  • RQ2To what extent does the absence of metadata in GPU memory hinder the recovery of structured data like images?
  • RQ3Can signal-processing techniques detect image layout and content without prior knowledge of format or structure?
  • RQ4How effective is the attack across diverse, widely used GPU-accelerated applications in both standalone and virtualized environments?
  • RQ5What are the implications of this vulnerability for cloud computing and multi-tenant GPU platforms?

Key findings

  • The authors successfully recovered full, recognizable images—including web page address bars and tab captions—from GPU memory residues in Google Chrome, demonstrating direct exposure of browsing history.
  • Text fragments from PDF documents processed in Adobe Reader were recovered, including user account names and email titles, indicating exposure of personal information.
  • In MATLAB, image fragments were reconstructed and reassembled, with the algorithm correctly identifying and reversing the diagonal transposition caused by column-major memory layout.
  • The method achieved lossless image recovery even when non-standard color formats were used, with high recognizability through text recognition and layout reconstruction.
  • The attack was effective across multiple GPU-accelerated applications, including GIMP, Matlab, and Adobe Reader, confirming widespread vulnerability in commodity GPU workloads.
  • The vulnerability extends to cloud and virtualized environments, where attackers can access GPU memory from other VMs, significantly broadening the threat surface.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.