Skip to main content

BCoal: Bucketing-based memory coalescing for efficient and secure GPUs

Publication ,  Conference
Kadam, G; Zhang, D; Jog, A
Published in: Proceedings - 2020 IEEE International Symposium on High Performance Computer Architecture, HPCA 2020
February 1, 2020

Graphics Processing Units (GPUs) are becoming a de facto choice for accelerating applications from a wide range of domains ranging from graphics to high-performance computing. As a result, it is getting increasingly desirable to improve the cooperation between traditional CPUs and accelerators such as GPUs. However, given the growing security concerns in the CPU space, closer integration of GPUs has further expanded the attack surface. For example, several side-channel attacks have shown that sensitive information can be leaked from the CPU end. In the same vein, several side-channel attacks are also now being developed in the GPU world. Overall, it is challenging to keep emerging CPU-GPU heterogeneous systems secure while maintaining their performance and energy efficiency. In this paper, we focus on developing an efficient defense mechanism for a type of correlation timing attack on GPUs. Such an attack has been shown to recover AES private keys by exploiting the relationship between the number of coalesced memory accesses and total execution time. Prior state-of-the-art defense mechanisms use inefficient randomized coalescing techniques to defend against such GPU attacks and require turning-off bandwidth conserving techniques such as caches and miss-status holding registers (MSHRs) to ensure security. To address these limitations, we propose BCoal - a new bucketing-based coalescing mechanism. BCoal significantly reduces the information leakage by always issuing pre-determined numbers of coalesced accesses (called buckets). With the help of a detailed application-level analysis, BCoal determines the bucket sizes and pads, if necessary, the number of real accesses with additional (padded) accesses to meet the bucket sizes ensuring the security against the correlation timing attack. Furthermore, BCoal generates the padded accesses such that the security is ensured even in the presence of MSHRs and caches. In effect, BCoal significantly improves GPU security at a modest performance loss.

Duke Scholars

Published In

Proceedings - 2020 IEEE International Symposium on High Performance Computer Architecture, HPCA 2020

DOI

Publication Date

February 1, 2020

Start / End Page

570 / 581
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Kadam, G., Zhang, D., & Jog, A. (2020). BCoal: Bucketing-based memory coalescing for efficient and secure GPUs. In Proceedings - 2020 IEEE International Symposium on High Performance Computer Architecture, HPCA 2020 (pp. 570–581). https://doi.org/10.1109/HPCA47549.2020.00053
Kadam, G., D. Zhang, and A. Jog. “BCoal: Bucketing-based memory coalescing for efficient and secure GPUs.” In Proceedings - 2020 IEEE International Symposium on High Performance Computer Architecture, HPCA 2020, 570–81, 2020. https://doi.org/10.1109/HPCA47549.2020.00053.
Kadam G, Zhang D, Jog A. BCoal: Bucketing-based memory coalescing for efficient and secure GPUs. In: Proceedings - 2020 IEEE International Symposium on High Performance Computer Architecture, HPCA 2020. 2020. p. 570–81.
Kadam, G., et al. “BCoal: Bucketing-based memory coalescing for efficient and secure GPUs.” Proceedings - 2020 IEEE International Symposium on High Performance Computer Architecture, HPCA 2020, 2020, pp. 570–81. Scopus, doi:10.1109/HPCA47549.2020.00053.
Kadam G, Zhang D, Jog A. BCoal: Bucketing-based memory coalescing for efficient and secure GPUs. Proceedings - 2020 IEEE International Symposium on High Performance Computer Architecture, HPCA 2020. 2020. p. 570–581.

Published In

Proceedings - 2020 IEEE International Symposium on High Performance Computer Architecture, HPCA 2020

DOI

Publication Date

February 1, 2020

Start / End Page

570 / 581