Capability Revocation and Indirection
Capability Revocation and Indirection
Posted Sep 24, 2025 22:49 UTC (Wed) by wahern (subscriber, #37304)Parent article: CHERI with a Linux on top
CHERI is great for spatial safety, but the cost of avoiding indirection means temporal safety requires more work. Perhaps the next evolution will be exploring how linear or affine typing in application languages such as Rust could be leveraged to minimize the sweeping work, e.g. by automatically clearing capabilities as they're copied through the application from malloc through free. Or evolving allocation APIs and page table permission schemes so memory that doesn't need to store a capability/pointer can be skipped from sweeping entirely.
[1] https://www.cl.cam.ac.uk/research/security/ctsrd/pdfs/202...
