POPL 2024
Sun 14 - Sat 20 January 2024 London, United Kingdom
Sat 20 Jan 2024 10:05 - 10:30 at Turing Lecture - Session 1 Chair(s): Marco Patrignani

Recent work has demonstrated that CHERI-based capability machines provide good support for low-overhead enforcement of spatial memory safety and compartment isolation. However, enforcing temporal memory safety, particularly for the stack, well-bracketed control flow and fine-grained stack frame encapsulation remains more difficult. Rigorous theoretical work has proposed approaches based on further architectural extensions, but this work does not support practical concerns like capability compression, and has not been implemented or evaluated in practice.

In this paper, we bring theoretically validated secure calling conventions closer to practical application. We propose a design (based on a \emph{reserve stack}) that reconciles fine-grained stack boundaries with capability compression and we contribute an LLVM implementation of selected secure calling conventions for CHERI-RISC-V. Based on this implementation, we evaluate the secure calling convention’s impact on performance, memory usage, code size and compatibility as well as data about how different security measures contribute to the calling conventions’ performance overhead. Currently, the above results are work-in-progress and in the paper, we discuss the results’ different stages of completion.

(paper.pdf)365KiB
Slides (20240116_POCL.pdf)555KiB

Sat 20 Jan

Displayed time zone: London change

09:00 - 10:30
Session 1PriSC at Turing Lecture
Chair(s): Marco Patrignani University of Trento
09:00
5m
Day opening
Introduction
PriSC
Shweta Shinde ETH Zurich, Marco Patrignani University of Trento
09:05
60m
Keynote
Keynote: Can we reason about the security of concurrent systems code?
PriSC
Peter Sewell University of Cambridge
10:05
25m
Talk
Secure Calling Conventions for CHERI Capability Machines in Practice (Work in Progress)
PriSC
Elias Storme KU Leuven, Sander Huyghebaert Vrije Universiteit Brussel, Steven Keuchel Vrije Universiteit Brussel, Thomas Van Strydonck KULeuven, Dominique Devriese KU Leuven
File Attached