Research 2016
Fast Protection-Domain Crossing in the CHERI Capability-System Architecture
- Kind
- Paper
- Authors
- Robert N.M. Watson, Robert Norton, Jonathan Woodruff, Simon W. Moore, Peter G. Neumann, Jonathan Anderson, David Chisnall, Brooks Davis, Michael Roe, Nirav Dave, Khilan Gudka, Alexandre Joannou, A. Theodore Markettos, Ed Maste, Steven J. Murdoch, Colin Rothwell, Stacey Son, Munraj Vadera
- Published in
- IEEE Micro, Volume 36, Issue 5, pages 38–49. IEEE, September–October 2016
- Files
- Cite as
Robert N.M. Watson, Robert Norton, Jonathan Woodruff, Simon W. Moore, Peter G. Neumann, Jonathan Anderson, David Chisnall, Brooks Davis, Michael Roe, Nirav Dave, Khilan Gudka, Alexandre Joannou, A. Theodore Markettos, Ed Maste, Steven J. Murdoch, Colin Rothwell, Stacey Son, and Munraj Vadera. 2016. Fast Protection-Domain Crossing in the CHERI Capability-System Architecture. In IEEE Micro, Volume 36, Issue 5, pages 38–49. IEEE, September–October 2016. https://doi.org/10.1109/MM.2016.84
BibTeX
@article{micro16domaincrossing, author = {Robert N.M. Watson and Robert Norton and Jonathan Woodruff and Simon W. Moore and Peter G. Neumann and Jonathan Anderson and David Chisnall and Brooks Davis and Michael Roe and Nirav Dave and Khilan Gudka and Alexandre Joannou and A. Theodore Markettos and Ed Maste and Steven J. Murdoch and Colin Rothwell and Stacey Son and Munraj Vadera}, title = {{Fast Protection-Domain Crossing in the CHERI Capability-System Architecture}}, journal = {IEEE Micro}, volume = {36}, number = {5}, pages = {38--49}, publisher = {IEEE}, year = {2016}, doi = {10.1109/MM.2016.84} }
Abstract§
Capability Hardware Enhanced RISC Instructions (CHERI) supplement the conventional memory management unit (MMU) with instruction-set architecture (ISA) extensions that implement a capability system model in the address space. CHERI can also underpin a hardware-software object-capability model for scalable application compartmentalization that can mitigate broader classes of attack. This article describes ISA additions to CHERI that support fast protection-domain switching, not only in terms of low cycle count, but also efficient memory sharing with mutual distrust. The authors propose ISA support for sealed capabilities, hardware-assisted checking during protection-domain switching, a lightweight capability flow-control model, and fast register clearing, while retaining the flexibility of a software-defined protection-domain transition model. They validate this approach through a full-system experimental design, including ISA extensions, a field-programmable gate array prototype (implemented in Bluespec SystemVerilog), and a software stack including an OS (based on FreeBSD), compiler (based on LLVM), software compartmentalization model, and open-source applications.