From formal verification to bug-finding in CHERIoT The Cerise project's Griotte sub-project uncovered two bugs in the CHERIoT switcher while formally verifying that it isolates compartments and enforces no-capture, according to the Cerise team at Aarhus University. The first bug lets a malicious or buggy scheduler resuscitate an exited thread in a deprecated state and gain access to a capability it should no longer hold; the second lets a malicious caller exploit the stack high watermark register to trigger a fault in the switcher and reach the callee's stack frame and private data. Cerise, started almost 10 years ago at Aarhus University with collaborators at KU Leuven, Cambridge and Edinburgh, now builds its proofs on the Iris separation logic framework inside the Rocq theorem prover and models instructions closer to the CHERIoT Sail model. From formal verification to bug-finding in CHERIoT The Cerise https://cerise-project.org/ project