A Dynamic Protection Mechanism for GPU Memory Overflow - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2021

A Dynamic Protection Mechanism for GPU Memory Overflow

Yaning Yang
  • Fonction : Auteur
  • PersonId : 1161009
Xiaoqi Wang
  • Fonction : Auteur
  • PersonId : 1161010

Résumé

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
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

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

Licence

Identifiants

Citer

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⟩
34 Consultations
30 Téléchargements

Altmetric

Partager

More