<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-cheriot-provides-strong-and-usable-isolation-without-an-mmu-sb73mgdya" -->

---
title: How CHERIoT Provides Strong and Usable Isolation Without...
description: CHERIoT is a RISC-V-based ISA, RTOS, and programmer model co-designed for security in embedded systems, offering an alternative to memory management units...
canonical: https://daily.dev/posts/how-cheriot-provides-strong-and-usable-isolation-without-an-mmu-sb73mgdya
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How CHERIoT Provides Strong and Usable Isolation Without an MMU | daily.dev
og:description: CHERIoT is a RISC-V-based ISA, RTOS, and programmer model co-designed for security in embedded systems, offering an alternative to memory management units...
og:url: https://daily.dev/posts/how-cheriot-provides-strong-and-usable-isolation-without-an-mmu-sb73mgdya
og:image: https://api.daily.dev/og/posts/sB73mgdyA.png
og:image:alt: How CHERIoT Provides Strong and Usable Isolation Without an MMU
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How CHERIoT Provides Strong and Usable Isolation Without an MMU

**[Lobsters](https://daily.dev/sources/lobsters)** · 20 min read · 0 upvotes · 0 comments

## Summary

CHERIoT is a RISC-V-based ISA, RTOS, and programmer model co-designed for security in embedded systems, offering an alternative to memory management units (MMUs) for isolation. Instead of page-based MMU protection, it uses CHERI capabilities—fat pointers carrying address, bounds, permissions, and sealing metadata—to let programmers share complex objects safely across compartments without restructuring APIs around pages or RPC serialization. The piece traces the history of memory protection from early mainframes through Mondriaan Memory Protection to CHERI, explains sealing, sentries, static and dynamic software capabilities, and compares CHERIoT's compartment/thread model to MULTICS shared libraries and the Doors mechanism from Spring/Solaris. It closes by discussing what would need to change to scale these ideas to larger, multicore systems, including temporal safety, stack zeroing, and whether MMUs might still be useful purely for translation and copy-on-write.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://queue.acm.org/doi/10.1145/3831361>

## Questions this post answers

### What is a CHERI capability and how does it differ from a regular pointer?

A CHERI capability is a hardware-enforced data type combining fat-pointer and capability-system ideas: it holds an address, bounds, permissions, and metadata, and every memory instruction must use one as its base operand, succeeding only if address calculations stay in bounds and permissions allow it. Tagged memory prevents tampering, and guarded manipulation means bounds and permissions can only shrink, never grow.

_Developers exploring hardware memory safety models can follow deep technical breakdowns like this one on daily.dev._

### How does CHERIoT let compartments share complex data structures without an MMU?

CHERIoT compartments pass sealed CHERI capabilities as function arguments, letting one compartment hand another a tamper-proof pointer to an object such as a socket or TLS session state, rather than serializing data over pages or RPC channels. Because compartments share the same address space and object model, callees can allocate memory directly against a caller-supplied allocation capability and return a pointer, avoiding the two-level page-then-object allocation UNIX systems require.

_Anyone weighing capability-based isolation against MMU designs can track this kind of architecture analysis on daily.dev._

### How much memory overhead does a minimal CHERIoT compartment have compared to a traditional MMU-based process?

A minimal traditional process using one shared library with no globals or heap needs about six pages of memory (24 KiB, or 20 KiB excluding the shared library's code page), including two pages just for page tables on a 32-bit system; adding globals and heap adds at least 8 KiB more. In contrast, entire CHERIoT compartments, including the ability to call shared libraries, are commonly under 4 KiB.

_Engineers sizing embedded isolation trade-offs can keep up with comparisons like this via daily.dev._

## Community take

How the wider developer community reacted, aggregated from 2 discussions and 12 comments across lobsters, hackernews (as of 2026-09-11).

**TL;DR:** Commenters find the CHERIoT approach to fine-grained, capability-based sharing genuinely novel and exciting, with the author actively answering questions about design tradeoffs versus larger CHERI systems; the main critical thread is curiosity about why WebAssembly didn't adopt a CHERI-like model and how these ideas scale to general-purpose OSes.

**Sentiment:** 75% positive · 20% mixed · 5% skeptical

**The case for**

- Enables safe fine-grained sharing at the object or object-graph level rather than page granularity.
- Allows composable, auditable trust boundaries, e.g. ensuring unencrypted data can never leave a compartment.
- Builds on familiar abstractions (function calls, pointers) so existing C code can migrate incrementally.
- One commenter finds it a refreshing rethinking of systems design compared to decades of largely unchanged Unix/Linux internals.

**The pushback**

- Some skepticism that these abstractions could be replicated without CHERI hardware support or a managed-language runtime.
- Regret that WebAssembly became a 'virtual PDP-11' instead of a CHERI-like virtual ISA, seen as a missed opportunity.
- Concern that WASM runtimes in general have poor developer experience, making adoption of similar ideas harder.
- Migrating existing software and libraries to CHERI, even where mostly automatic, still requires time-consuming incremental work.

**By community**

- lobsters (positive): Discussion is engaged and largely enthusiastic, driven by detailed author responses about design rationale, sharing semantics, and paths to broader adoption.
- hackernews (mixed): No substantive discussion is present to characterize a lean.

**Hottest debate:** Whether these capability-based sharing abstractions could ever be replicated in software (e.g. via WebAssembly) without dedicated CHERI hardware support.

**Open questions**

- Whether WebAssembly designers were ever approached to explore a CHERI-inspired virtual ISA.
- Whether a general-purpose OS built natively around CHERI (rather than retrofitted) is feasible.
- How far larger, multicore systems like Android could realistically adopt a 'big CHERIoT' model.

**Highlights**

> I don't think it would be feasible, unless you're thinking of something like Singularity / Midori where you run all user software in some managed language.   The key thing that CHERI gives you is safe fine-grained *sharing*.  The ability to share at the granularity of an object, or more importantly, an *object graph* enables a whole load of completely different designs to traditional systems where sharing is at the granularity of pages. You can't really build the same abstractions without either CHERI or some kind of soft CHERI.  It's a huge shame that WebAssembly decided to be a virtual PDP-11 instead of a virtual CHERI, because something like that might be interesting as a base for a 'look, CHERI gives you the same thing as this but faster' platform.
> — [david\_chisnall on lobsters · 6 points, 2 comments](https://lobste.rs/s/gtvx0w/how_cheriot_provides_strong_usable#c_8bsl6u)

> There’s no real notion of ‘kernel space’ on CHERIoT because the system is designed around mutual distrust, not hierarchical distrust. The first pointer in a write-like call is not a place you copy memory to, it’s a handle of some kind to some data structure that defines how to do various I/O operations, which may the write to some device, to a filesystem, or whatever. In a system with a monolithic kernel, this requires a bunch of components:  - You need some table that looks up the correct pointer to the state based on some handle that userspace gave you.  - You need some resource accounting to allow you to track who gets billed for the memory used to hold that structure (or, rather, the data structure that is reachable from it). Now imagine you want to send that file descriptor to another process. You need to do a system call (e.g. over a UNIX domain socket) that will add that to another table.  Now compare that on CHERIoT: When you create the structure, you simply pass your allocation capability to the relevant subsystem directly (if you want an abstraction layer over multiple kinds of I/O, that can be local to your compartment). It allocates from your quota and returns a sealed pointer. It doesn’t need to do resource accounting separately, that’s handled for everything by the allocator. Now, when you do something like a write call, you pass that sealed pointer as the first argument to a function exposed directly from the compartment. It can do a lightweight unseal operation to either detect tampering or get back the pointer to the data structure it kept in the first call. And now it can access that directly with no global synchronisation. And, importantly, this abstraction is *composable*. The TCP/IP compartment uses it to expose socket state. If you want a socket, you can create one by calling the TCP/IP compartment. But the TLS compartment can create a socket on your behalf and embed it in its own structure that it gives you an opaque type-safe pointer to, and so now you never get access to the raw socket. And that means that there’s no mechanism for unencrypted data to ever leave your compartment, which is an auditable guarantee.  Within that TLS compartment, there is no global mutable state. There’s no table of connections it can look things up from. When you call into the TLS layer, you pass the sealed pointer to your TLS connection. The TLS compartment unseals it and now has access to *your* connection state. If someone else calls in at the same time, their thread in the TLS compartment has access to *their* session state but no access to *your* session state. And that means that, if they trigger a bug that gives the, arbitrary-code execution, they don’t get access to your data. You have complete flow isolation.  Being able to do this completely changes how you design APIs at trust boundaries and makes them look a lot more like normal library boundaries.
> — [david\_chisnall on lobsters · 1 points, 1 comments](https://lobste.rs/s/gtvx0w/how_cheriot_provides_strong_usable#c_17dw7y)

> It depends on what you mean by 'a general-purpose OS for CHERI'. The original research was done on [a friendly fork of FreeBSD](https://www.cheribsd.org/) (which is now starting to be upstreamed) and most of the ideas from there are being added to Linux.  That's a general-purpose OS, but it's not *specifically* designed for CHERI, it has CHERI retrofitted. This was key in the early work because CHERI requires at least a new ABI (pointers get bigger) and incremental adoption was essential.  You can't sell someone a new computer and a new OS and tell them that they have to throw away all of their existing programs.  CheriBSD can run all existing FreeBSD programs for the same base architecture, in the same way that 64-bit x86 FreeBSD can run 32-bit x86 programs and 64-bit Arm FreeBSD can run 32-bit Arm programs (assuming the Arm core supports AArch32).  It's just another compat layer.  If you recompile, you get memory safety and the ability to do fine-grained compartmentalisation. This migration happens slowly because even if your *program* works nicely with CHERI, you need all of the libraries that it depends on to also work.  That typically requires a modification of around 0.02% of the source code, but that takes time, so you need to be able to run unmodified binaries until this is possible. Because CHERIoT targets embedded, we could get away with less backwards compatibility.  Most embedded software is recompiled for each SoC it targets and it often has very few dependencies so is generally easy to get working on CHERI (we've also found embedded software tends to do fewer weird things with pointers because they're often not portable to all of the exciting architectures in the embedded space, so most of what we've tried running works with no source-code modification).  Because embedded operating systems are small (ThreadX makes a big selling point of how the core of their OS is under 5 KiB of object code), it's possible to write a complete replacement for one without it taking a huge amount of investment. I'd like to see the same thing done for larger systems.  Some folks at Google Labs are trying (a 64-bit 'big CHERIoT' aiming to be able to run Android applications).  But it's a lot of work!
> — [david\_chisnall on lobsters · 1 points](https://lobste.rs/s/gtvx0w/how_cheriot_provides_strong_usable#c_s7pfho)

> This stuff fascinates me because it’s a complete rethinking of how computers work and I am so here for it. I learned C/Unix in the late 80s and almost nothing has changed about how computers work. I find systems like Linux so uninspiring because it’s essentially the same as the Linux I used in the 90s. It doesn’t sit well with me that things haven’t changed much. I don’t think I’ve been so interested by a technical topic for a long time. Thanks for spending so much time on here writing about CHERI.
> — [doctor\_eval on lobsters · 1 points, 1 comments](https://lobste.rs/s/gtvx0w/how_cheriot_provides_strong_usable#c_hwyd6r)

> Build a VM, get the DX right, and it'll be used. Not a single wasm runtime out there is fun to integrate. I'm currently integrating WASM into a project at work and it's dreadful. And don't put "web" in the name!
> — [junon on lobsters · 1 points](https://lobste.rs/s/gtvx0w/how_cheriot_provides_strong_usable#c_hkjc1i)

**Source threads**

- [lobsters](https://lobste.rs/s/gtvx0w/how_cheriot_provides_strong_usable) · 27 points · 12 comments
- [hackernews](https://news.ycombinator.com/item?id=49646774) · 1 points · 0 comments

## Similar posts on daily.dev

- [First CHERIoT Silicon](https://daily.dev/posts/first-cheriot-silicon-wnulwzmmd) · Lobsters · 0 upvotes · 0 comments
- [Pitfalls in VM Implementation on CHERI: Lessons from Porting CRuby](https://daily.dev/posts/pitfalls-in-vm-implementation-on-cheri-lessons-from-porting-cruby-ou5nmjf2f) · The Programming Journal · 0 upvotes · 0 comments
- [The computer at the bottom of a canal](https://daily.dev/posts/the-computer-at-the-bottom-of-a-canal-0zdxsba7o) · Hacker News · 2 upvotes · 0 comments
- [In the 12KB Trenches: A 30-Year Retrospective on System Sovereignty and Security Defense](https://daily.dev/posts/in-the-12kb-trenches-a-30-year-retrospective-on-system-sovereignty-and-security-defense-97u7fzufk) · Coins Bench · 0 upvotes · 0 comments
- [What It Is, Why I'm Doing It Now, and How It Came About](https://daily.dev/posts/what-it-is-why-i-m-doing-it-now-and-how-it-came-about-8f7cfstty) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#embedded](https://daily.dev/tags/embedded)

[View this post on daily.dev](https://daily.dev/posts/how-cheriot-provides-strong-and-usable-isolation-without-an-mmu-sb73mgdya)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How CHERIoT Provides Strong and Usable Isolation Without an MMU","url":"https://daily.dev/posts/how-cheriot-provides-strong-and-usable-isolation-without-an-mmu-sb73mgdya","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-cheriot-provides-strong-and-usable-isolation-without-an-mmu-sb73mgdya"},"datePublished":"2026-09-11T01:10:08.619Z","dateModified":"2026-10-15T02:22:24.906Z","description":"CHERIoT is a RISC-V-based ISA, RTOS, and programmer model co-designed for security in embedded systems, offering an alternative to memory management units...","image":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","thumbnailUrl":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","isAccessibleForFree":true,"articleSection":"Lobsters","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-cheriot-provides-strong-and-usable-isolation-without-an-mmu-sb73mgdya","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"embedded","timeRequired":"PT20M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"How CHERIoT Provides Strong and Usable Isolation Without an MMU"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-cheriot-provides-strong-and-usable-isolation-without-an-mmu-sb73mgdya#faq","mainEntity":[{"@type":"Question","name":"What is a CHERI capability and how does it differ from a regular pointer?","acceptedAnswer":{"@type":"Answer","text":"A CHERI capability is a hardware-enforced data type combining fat-pointer and capability-system ideas: it holds an address, bounds, permissions, and metadata, and every memory instruction must use one as its base operand, succeeding only if address calculations stay in bounds and permissions allow it. Tagged memory prevents tampering, and guarded manipulation means bounds and permissions can only shrink, never grow. Developers exploring hardware memory safety models can follow deep technical breakdowns like this one on daily.dev."}},{"@type":"Question","name":"How does CHERIoT let compartments share complex data structures without an MMU?","acceptedAnswer":{"@type":"Answer","text":"CHERIoT compartments pass sealed CHERI capabilities as function arguments, letting one compartment hand another a tamper-proof pointer to an object such as a socket or TLS session state, rather than serializing data over pages or RPC channels. Because compartments share the same address space and object model, callees can allocate memory directly against a caller-supplied allocation capability and return a pointer, avoiding the two-level page-then-object allocation UNIX systems require. Anyone weighing capability-based isolation against MMU designs can track this kind of architecture analysis on daily.dev."}},{"@type":"Question","name":"How much memory overhead does a minimal CHERIoT compartment have compared to a traditional MMU-based process?","acceptedAnswer":{"@type":"Answer","text":"A minimal traditional process using one shared library with no globals or heap needs about six pages of memory (24 KiB, or 20 KiB excluding the shared library's code page), including two pages just for page tables on a 32-bit system; adding globals and heap adds at least 8 KiB more. In contrast, entire CHERIoT compartments, including the ability to call shared libraries, are commonly under 4 KiB. Engineers sizing embedded isolation trade-offs can keep up with comparisons like this via daily.dev."}}]}
```

