@inproceedings{1165, keywords = {trusted execution, arm endpoint gpu}, author = {Yunjie Deng and Chenxu Wang and Shunchang Yu and Shiqing Liu and Zhenyu Ning and Kevin Leach and Jin Li and Shoumeng Yan and Zhengyu He and Jiannong Cao and Fengwei Zhang}, title = {StrongBox: A GPU TEE on Arm Endpoints}, abstract = {A wide range of Arm endpoints leverage integrated and discrete GPUs to accelerate computation such as image processing and numerical processing applications. However, in spite of these important use cases, Arm GPU security has yet to be scrutinized by the community. By exploiting vulnerabilities in the kernel, attackers can directly access sensitive data used during GPU computing, such as personally-identifiable image data in computer vision tasks. Existing work has used Trusted Execution Environments (TEEs) to address GPU security concerns on Intel-based platforms, while there are numerous architectural differences that lead to novel technical challenges in deploying TEEs for Arm GPUs. In addition, extant Arm-based GPU defenses are intended for secure machine learning, and lack generality. There is a need for generalizable and efficient Arm-based GPU security mechanisms.To address these problems, we present StrongBox, the first GPU TEE for secured general computation on Arm endpoints. During confidential computation on Arm GPUs, StrongBox provides an isolated execution environment by ensuring exclusive access to the GPU. Our approach is based in part on a dynamic, fine-grained memory protection policy as Arm-based GPUs typically share a unified memory with the CPU, a stark contrast with Intel-based platforms. Furthermore, by characterizing GPU buffers as secure and non-secure, StrongBox reduces redundant security introspection operations to control access to sensitive data used by the GPU, ultimately reducing runtime overhead. Our design leverages the widely-deployed Arm TrustZone and generic Arm features, without hardware modification or architectural changes. We prototype StrongBox using an off-the-shelf Arm Mali GPU and perform an extensive evaluation. Our results show that StrongBox successfully ensures the GPU computing security with a low (4.70\% - 15.26\%) overhead across several indicative benchmarks.}, year = {2022}, journal = {2022 ACM SIGSAC Conference on Computer and Communications Security}, pages = {769–783}, month = {11/2022}, publisher = {Association for Computing Machinery}, address = {New York, NY, USA}, isbn = {9781450394505}, url = {https://doi.org/10.1145/3548606.3560627}, doi = {10.1145/3548606.3560627}, }