IT lexicon › Security › CheriBSD

CheriBSD

Security På svenska → Updated: 2026-11-08
More info
Creator
University of Cambridge and SRI International
Type
Operating system (FreeBSD branch)
License
BSD
Website
cheribsd.org

A FreeBSD branch where every pointer is a hardware capability carrying bounds and permissions, so buffer overruns are caught by the CPU.

The CHERI project started in 2010 at Cambridge and SRI with a simple but awkward question: what if pointers stopped being integers? On CHERI a pointer is 128 bits plus a hidden validity tag, and it carries its own bounds and permissions. Writing past a buffer or forging a pointer raises a hardware exception rather than a CVE.

CheriBSD is FreeBSD adapted to all this, and it serves as the research test bed. It runs on CHERI flavours of MIPS and RISC-V, and since 2022 on Arm's Morello boards. The surprising result was how little code needed changing – most of what broke was already violating C's rules on pointer provenance. Robert Watson has led the work, and his earlier Capsicum shares the mindset.

← Back to the lexicon