(Mis)managed: A Novel TLB-based Covert Channel on GPUs

A. Nayak, Pratheek B., V. Ganapathy, Arkaprava Basu
{"title":"(Mis)managed: A Novel TLB-based Covert Channel on GPUs","authors":"A. Nayak, Pratheek B., V. Ganapathy, Arkaprava Basu","doi":"10.1145/3433210.3453077","DOIUrl":null,"url":null,"abstract":"GPUs are now commonly available in most modern computing platforms. They are increasingly being adopted in cloud platforms and data centers due to their immense computing capability. In response to this growth in usage, manufacturers continuously try to improve GPU hardware by adding new features. However, this increase in usage and the addition of utility-improving features can create new, unexpected attack channels. In this paper, we show that two such features-unified virtual memory (UVM) and multi-process service (MPS)-primarily introduced to improve the programmability and efficiency of GPU kernels have an unexpected consequence-that of creating a novel covert-timing channel via the GPU's translation lookaside buffer (TLB) hierarchy. To enable this covert channel, we first perform experiments to understand the characteristics of TLBs present on a GPU. The use of UVM allows fine-grained management of translations, and helps us discover several idiosyncrasies of the TLB hierarchy, such as three-levels of TLB, coalesced entries. We use this newly-acquired understanding to demonstrate a novel covert channel via the shared TLB. We then leverage MPS to increase the bandwidth of this channel by 40×. Finally, we demonstrate the channel's utility by leaking data from a GPU-accelerated database application.","PeriodicalId":208024,"journal":{"name":"Proceedings of the 2021 ACM Asia Conference on Computer and Communications Security","volume":"53 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-05-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2021 ACM Asia Conference on Computer and Communications Security","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3433210.3453077","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

GPUs are now commonly available in most modern computing platforms. They are increasingly being adopted in cloud platforms and data centers due to their immense computing capability. In response to this growth in usage, manufacturers continuously try to improve GPU hardware by adding new features. However, this increase in usage and the addition of utility-improving features can create new, unexpected attack channels. In this paper, we show that two such features-unified virtual memory (UVM) and multi-process service (MPS)-primarily introduced to improve the programmability and efficiency of GPU kernels have an unexpected consequence-that of creating a novel covert-timing channel via the GPU's translation lookaside buffer (TLB) hierarchy. To enable this covert channel, we first perform experiments to understand the characteristics of TLBs present on a GPU. The use of UVM allows fine-grained management of translations, and helps us discover several idiosyncrasies of the TLB hierarchy, such as three-levels of TLB, coalesced entries. We use this newly-acquired understanding to demonstrate a novel covert channel via the shared TLB. We then leverage MPS to increase the bandwidth of this channel by 40×. Finally, we demonstrate the channel's utility by leaking data from a GPU-accelerated database application.
(Mis)管理:一种新颖的基于tlb的gpu隐蔽通道
gpu现在在大多数现代计算平台上都很常见。由于其巨大的计算能力,它们越来越多地被应用于云平台和数据中心。为了应对这种使用量的增长,制造商不断尝试通过添加新功能来改进GPU硬件。然而,这种使用量的增加和实用程序改进功能的添加可能会创建意想不到的新攻击通道。在本文中,我们展示了两个这样的特征——统一虚拟内存(UVM)和多进程服务(MPS)——主要是为了提高GPU内核的可编程性和效率而引入的,但却产生了意想不到的后果——即通过GPU的转换暂置缓冲区(TLB)层次结构创建一个新的转换时序通道。为了启用这个隐蔽通道,我们首先进行实验以了解GPU上存在的tlb的特性。UVM的使用允许对翻译进行细粒度的管理,并帮助我们发现TLB层次结构的一些特性,例如三层TLB、合并条目。我们使用这一新获得的理解来演示一种通过共享TLB的新型隐蔽信道。然后,我们利用MPS将该信道的带宽增加40倍。最后,我们通过从gpu加速的数据库应用程序泄漏数据来演示通道的实用程序。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书