A Dynamic Protection Mechanism for GPU Memory Overflow - Network and Parallel Computing 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

Abstract

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.
Fichier principal
Vignette du fichier
511910_1_En_3_Chapter.pdf (982.18 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

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

Licence

Attribution

Identifiers

Cite

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⟩
17 View
1 Download

Altmetric

Share

Gmail Facebook X LinkedIn More