{"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 %.