GPUArmor: A Hardware-Software Co-Design for Efficient and Scalable Memory Safety on GPUs
Open Access
- 9 May 2026
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 23 (3) , 1-25
Abstract
Memory safety errors continue to pose a significant threat to current computing systems, and graphics processing units (GPUs) are no exception. A prominent class of memory safety algorithms is allocation-based solutions. The key idea is to maintain each allocation’s metadata (base address and size) in a disjoint table and retrieve it at runtime to verify memory accesses. While several previous solutions have adopted allocation-based algorithms (e.g., cuCatch [39] and GPUShield [18]), they typically suffer from high memory overheads or scalability problems. In this work, we examine the key characteristics of real-world GPU workloads and observe several differences between GPU and CPU applications regarding memory access patterns, memory footprint, number of live allocations, and active allocation working set. Our observations motivate GPUArmor, a hardware-software co-design framework for memory safety on GPUs. We show that a simple compiler analysis combined with lightweight hardware support can help prevent spatial and temporal memory violations on modern GPU workloads with \(8\% \) average run time overheads while cuCatch incurs nearly \(36\% \) overhead. In fact, GPUArmor achieves speed-of-light performance with negligible storage requirements. This result benefits both base and bounds solutions and memory tagging techniques, which we showcase with GPUArmor-Binary, a variation of GPUArmor that does not require recompilation, and achieves \(2.2\% \) slowdowns while significantly reducing storage overheads beyond traditional memory tagging approaches.
Keywords
All Related Versions
This publication has 28 references indexed in Scilit:
- Let-Me-In: (Still) Employing In-pointer Bounds Metadata for Fine-grained GPU Memory Safety2025
- LAK: A Low-Overhead Lock-and-Key Based Schema for GPU Memory Safety2022
- LockedDown: Exploiting Contention on Host-GPU PCIe Bus for Fun and Profit2022
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks2021
- Mind control attack: Undermining deep learning with GPU memory exploitationComputers & Security, 2021
- Need for Speed: Experiences Building a Trustworthy System-Level GPU Simulator2021
- A Study of Overflow Vulnerabilities on GPUs2016
- Buffer overflow vulnerabilities in CUDA: a preliminary analysisJournal of Computer Virology and Hacking Techniques, 2015
- SoK: Eternal War in Memory2013
- Garbage collection in an uncooperative environmentSoftware: Practice and Experience, 1988