A Dynamic Protection Mechanism for GPU Memory Overflow - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2021

A Dynamic Protection Mechanism for GPU Memory Overflow

Yaning Yang
  • Function : Author
  • PersonId : 1161009
Xiaoqi Wang
  • Function : Author
  • PersonId : 1161010


Graphics Processing Units (GPU) are widely used to accelerate computation in many applications such as autonomous vehicles, artificial intelligence and healthcare. However, most existing researches just focus on the performance but ignore the security issues of GPUs. In this paper, we design an efficient mechanism to dynamically monitor GPU heap buffer overflow by using the CPU. Concretely, we first analyze the specific requirements of GPU memory allocation. Second, in order to realize the monitoring from the CPU, we map the allocated device memory to the host-side. Third, the dynamic monitoring of buffer overflow is implemented based on the mapped memory. Our results show that it is feasible to protect the GPU memory from the CPU side. Our work can improve the efficiency of GPU memory allocation and increase the security at the same time. By offloading the detection of buffer overflow to the CPU, the performance of GPU kernels will not be affected significantly.
Embargoed file
Embargoed file
0 3 11
Year Month Jours
Avant la publication

Dates and versions

hal-03768732 , version 1 (04-09-2022)





Yaning Yang, Xiaoqi Wang, Shaoliang Peng. A Dynamic Protection Mechanism for GPU Memory Overflow. 17th IFIP International Conference on Network and Parallel Computing (NPC), Sep 2020, Zhengzhou, China. pp.30-40, ⟨10.1007/978-3-030-79478-1_3⟩. ⟨hal-03768732⟩
11 View
1 Download



Gmail Facebook Twitter LinkedIn More