Griotte verification finds two bugs in the CHERIoT switcher
Original title: From formal verification to bug-finding in CHERIoT
A scheduler can revive an exited thread, and a caller can fault the switcher to read the callee's stack.
Researchers applying the Cerise formal-methods project to CHERIoT, in a sub-project called Griotte, report two bugs in the CHERIoT switcher. A malicious or buggy scheduler can resuscitate an exited thread and regain a capability it should no longer hold. A malicious caller can use the stack high watermark register to fault the switcher and reach the callee's stack frame and private data. The post describes separation-logic reasoning over unknown compartments and is cut off before stating a fix.
Unconfirmed: The post is cut off and does not say whether the bugs were fixed or exploited.
- Cerise began at Aarhus University and now uses Iris inside the Rocq prover.
- Griotte checks that the switcher isolates compartments and enforces no-capture.
- Collaborators include KU Leuven and the universities of Cambridge and Edinburgh.
- The write-up models compartmentalisation and the cross-compartment call path.
Impact: Retired capability access and exposure of callee stack data
| Product | Affected |
|---|---|
| CHERIoT switcher | — |
- Products
- CHERIoTCHERIoT switcher
From the original article
14 min read at cheriot.orgThe Cerise project 1 was started almost 10 years ago at Aarhus University. Its goal is to develop formal methods to verify properties of capability machines, in particular involving non-monotonicity, and to prove end-to-end results in the presence of unknown code.
By cheriot.org via nwf · cheriot.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.