Systematic Prevention of On-Core Timing Channels by Full Temporal Partitioning
Nils Wistoff, Moritz Schneider, Frank K. G\"urkaynak, Gernot Heiser, Luca Benini

TL;DR
This paper introduces a hardware-supported temporal fence instruction for RISC-V to systematically prevent microarchitectural timing channels, demonstrating effective implementation with minimal performance impact.
Contribution
It proposes the fence.t instruction for RISC-V, enabling systematic erasure of microarchitectural state to prevent timing channels, with practical implementations on seL4 and CVA6.
Findings
Complete erasure of microarchitectural state is most effective.
Implementation overhead is less than 1%.
Hardware costs are negligible.
Abstract
Microarchitectural timing channels enable unwanted information flow across security boundaries, violating fundamental security assumptions. They leverage timing variations of several state-holding microarchitectural components and have been demonstrated across instruction set architectures and hardware implementations. Analogously to memory protection, Ge et al. have proposed time protection for preventing information leakage via timing channels. They also showed that time protection calls for hardware support. This work leverages the open and extensible RISC-V instruction set architecture (ISA) to introduce the temporal fence instruction fence.t, which provides the required mechanisms by clearing vulnerable microarchitectural state and guaranteeing a history-independent context-switch latency. We propose and discuss three different implementations of fence.t and implement them on an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
