%0 Conference Proceedings %T A Study of Overflow Vulnerabilities on GPUs %+ Hunan University of Science and Technology [Xiangtan] %A Di, Bang %A Sun, Jianhua %A Chen, Hao %Z Part 4: Heterogeneous Systems %< avec comité de lecture %( Lecture Notes in Computer Science %B 13th IFIP International Conference on Network and Parallel Computing (NPC) %C Xi'an, China %Y Guang R. Gao %Y Depei Qian %Y Xinbo Gao %Y Barbara Chapman %Y Wenguang Chen %I Springer International Publishing %3 Network and Parallel Computing %V LNCS-9966 %P 103-115 %8 2016-10-28 %D 2016 %R 10.1007/978-3-319-47099-3_9 %K GPGPU %K CUDA %K Security %K Buffer overflow %Z Computer Science [cs]Conference papers %X GPU-accelerated computing gains rapidly-growing popularity in many areas such as scientific computing, database systems, and cloud environments. However, there are less investigations on the security implications of concurrently running GPU applications. In this paper, we explore security vulnerabilities of CUDA from multiple dimensions. In particular, we first present a study on GPU stack, and reveal that stack overflow of CUDA can affect the execution of other threads by manipulating different memory spaces. Then, we show that the heap of CUDA is organized in a way that allows threads from the same warp or different blocks or even kernels to overwrite each other’s content, which indicates a high risk of corrupting data or steering the execution flow by overwriting function pointers. Furthermore, we verify that integer overflow and function pointer overflow in struct also can be exploited on GPUs. But other attacks against format string and exception handler seems not feasible due to the design choices of CUDA runtime and programming language features. Finally, we propose potential solutions of preventing the presented vulnerabilities for CUDA. %G English %Z TC 10 %Z WG 10.3 %2 https://inria.hal.science/hal-01648002/document %2 https://inria.hal.science/hal-01648002/file/432484_1_En_9_Chapter.pdf %L hal-01648002 %U https://inria.hal.science/hal-01648002 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-TC10 %~ IFIP-NPC %~ IFIP-WG10-3 %~ IFIP-LNCS-9966