fence.t.s: Closing Timing Channels in High-Performance Out-of-Order Cores through ISA-Supported Temporal Partitioning

Nils Wistoff, Gernot Heiser, Luca Benini
{"title":"fence.t.s: Closing Timing Channels in High-Performance Out-of-Order Cores through ISA-Supported Temporal Partitioning","authors":"Nils Wistoff, Gernot Heiser, Luca Benini","doi":"arxiv-2409.07576","DOIUrl":null,"url":null,"abstract":"Microarchitectural timing channels exploit information leakage between\nsecurity domains that should be isolated, bypassing the operating system's\nsecurity boundaries. These channels result from contention for shared\nmicroarchitectural state. In the RISC-V instruction set, the temporal fence\ninstruction (fence.t) was proposed to close timing channels by providing an\noperating system with the means to temporally partition microarchitectural\nstate inexpensively in simple in-order cores. This work explores challenges\nwith fence.t in superscalar out-of-order cores featuring large and pervasive\nmicroarchitectural state. To overcome these challenges, we propose a novel\nSW-supported temporal fence (fence.t.s), which reuses existing mechanisms and\nsupports advanced microarchitectural features, enabling full timing channel\nprotection of an exemplary out-of-order core (OpenC910) at negligible hardware\ncosts and a minimal performance impact of 1.0 %.","PeriodicalId":501332,"journal":{"name":"arXiv - CS - Cryptography and Security","volume":"5 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Cryptography and Security","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.07576","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Microarchitectural timing channels exploit information leakage between security domains that should be isolated, bypassing the operating system's security boundaries. These channels result from contention for shared microarchitectural state. In the RISC-V instruction set, the temporal fence instruction (fence.t) was proposed to close timing channels by providing an operating system with the means to temporally partition microarchitectural state inexpensively in simple in-order cores. This work explores challenges with fence.t in superscalar out-of-order cores featuring large and pervasive microarchitectural state. To overcome these challenges, we propose a novel SW-supported temporal fence (fence.t.s), which reuses existing mechanisms and supports advanced microarchitectural features, enabling full timing channel protection of an exemplary out-of-order core (OpenC910) at negligible hardware costs and a minimal performance impact of 1.0 %.
fence.t.s:通过 ISA 支持的时序分区关闭高性能失序内核中的定时通道
微体系结构时序通道利用本应隔离的安全域之间的信息泄漏,绕过操作系统的安全边界。这些通道源于对共享微体系结构状态的争夺。在 RISC-V 指令集中,提出了时序栅栏指令 (fence.t),为操作系统提供了在简单的顺序内核中以低成本对微体系结构状态进行时序分区的方法,从而关闭了时序通道。本研究探讨了 fence.t 在超标量无序内核中面临的挑战,无序内核的特点是微体系结构状态庞大且无处不在。为了克服这些挑战,我们提出了一种新颖的、SW 支持的时序栅栏(fence.t.s),它重复利用现有机制并支持先进的微体系结构特性,以可忽略不计的硬件成本和 1.0% 的最小性能影响,实现了对一个示例无序内核(OpenC910)的完全时序通道保护。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信