Safe and Practical GPU Computation in TrustZone
Heejin Park, Felix Xiaozhu Lin
摘要
For mobile devices, it is compelling to run sensitive GPU computation within a TrustZone trusted execution environment (TEE). To minimize GPU software deployed in TEE, the replay approach is promising: record CPU/GPU interactions on a full GPU stack outside the TEE; replay the interactions inside the TEE without the GPU stack. A key dilemma is that the recording process must both (1) occur in a safe environment and (2) access the exact GPU models to be used for replay. To this end, we present a novel recording architecture called GR-T: a mobile device possessing the GPU hardware collaborates with a GPU-less cloud service which runs the GPU software; the two parties exercise the GPU hardware/software jointly for recording. To overcome the resultant network delays, GR-T contributes optimizations: register access deferral, speculation, and meta-only synchronization. These techniques reduce the recording delay by 20x, from hundreds of seconds to tens of seconds. Replay-based GPU computation incurs 25% lower delays compared to native execution outside TEE. The code is available at https://github.com/bakhi/GPUReplay.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TensorShield: Safeguarding On-Device Inference by Shielding Critical DNN Tensors with TEE 引用了 CAGE: Complementing Arm CCA with GPU Extensions
- μUSB: Practical and Safe USB Driver Reuse for Arm TrustZone 引用了 TensorShield: Safeguarding On-Device Inference by Shielding Critical DNN Tensors with TEE
- SoK: Analysis of Accelerator TEE Designs 引用了 CAGE: Complementing Arm CCA with GPU Extensions
- SoK: Analysis of Accelerator TEE Designs 引用了 MOLE: Breaking GPU TEE with GPU-Embedded MCU
- MOLE: Breaking GPU TEE with GPU-Embedded MCU 引用了 CAGE: Complementing Arm CCA with GPU Extensions
引用它的顶会 Paper6
- TensorShield: Safeguarding On-Device Inference by Shielding Critical DNN Tensors with TEETong Sun, Bowen Jiang, Hailong Lin, Borui Li 等CCS 2025 · 3 次引用
- SoK: Analysis of Accelerator TEE DesignsChenxu Wang, Junjie Huang, Yujun Liang, Xuanyao Peng 等NDSS 2026 · 2 次引用
- μUSB: Practical and Safe USB Driver Reuse for Arm TrustZoneXuankai Zhang, Sijin Li, Pei Meng, Meng Wang 等OSDI 2026
- CAGE: Complementing Arm CCA with GPU ExtensionsChenxu Wang, Fengwei Zhang, Yunjie Deng, Kevin Leach 等NDSS 2024
- MOLE: Breaking GPU TEE with GPU-Embedded MCUHongyi Lu, Yunjie Deng, J. Sukarno Mertoguno, Shuai Wang 等CCS 2025
相关 Paper
- GPUReplay: a 50-KB GPU stack for client MLHeejin Park, Felix Xiaozhu LinASPLOS 2022 · 10 次引用
- Telekine: Secure Computing with Cloud GPUsTyler Hunt, Zhipeng Jia, Vance Miller, Ariel Szekely 等NSDI 2020 · 108 次引用
- CRONUS: Fault-isolated, Secure and High-performance Heterogeneous Computing for Trusted Execution EnvironmentJianyu Jiang, Ji Qi, Tianxiang Shen, Xusheng Chen 等MICRO 2022 · 27 次引用
- ShEF: shielded enclaves for cloud FPGAsMark Zhao, Mingyu Gao, Christos KozyrakisASPLOS 2022 · 53 次引用
- StrongBox: A GPU TEE on Arm EndpointsYunjie Deng, Chenxu Wang, Shunchang Yu, Shiqing Liu 等CCS 2022 · 37 次引用
