A Security Analysis of CheriBSD and Morello Linux

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Guzairov, Dariy, Potanin, Alex, Kell, Stephen, Tiu, Alwen
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914283326013440
author Guzairov, Dariy
Potanin, Alex
Kell, Stephen
Tiu, Alwen
author_facet Guzairov, Dariy
Potanin, Alex
Kell, Stephen
Tiu, Alwen
contents Memory corruption attacks have been prevalent in software for a long time. Some mitigation strategies against these attacks do exist, but they are not as far-reaching or as efficient as the CHERI architecture. CHERI uses capabilities to restrict pointers to certain regions of memory and with certain access restrictions. These capabilities are also used to implement "compartmentalisation": dividing a binary into smaller components with limited privilege, while adhering to the principle of least privilege. However, while this architecture successfully mitigates memory corruption attacks, the compartmentalisation mechanisms in place are less effective in containing malicious code to a separate compartment. This paper details four ways to bypass compartmentalisation, with a focus on Linux and BSD operating systems ported to this architecture. We find that although compartmentalisation is implemented in these two operating systems, simple bugs and attacks can still allow malicious code to bypass it. We conclude with mitigation measures to prevent these attacks, a proof-of-concept demonstrating their use, and recommendations for further securing Linux and BSD against unknown attacks.
format Preprint
id arxiv_https___arxiv_org_abs_2601_19074
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Security Analysis of CheriBSD and Morello Linux
Guzairov, Dariy
Potanin, Alex
Kell, Stephen
Tiu, Alwen
Cryptography and Security
Memory corruption attacks have been prevalent in software for a long time. Some mitigation strategies against these attacks do exist, but they are not as far-reaching or as efficient as the CHERI architecture. CHERI uses capabilities to restrict pointers to certain regions of memory and with certain access restrictions. These capabilities are also used to implement "compartmentalisation": dividing a binary into smaller components with limited privilege, while adhering to the principle of least privilege. However, while this architecture successfully mitigates memory corruption attacks, the compartmentalisation mechanisms in place are less effective in containing malicious code to a separate compartment. This paper details four ways to bypass compartmentalisation, with a focus on Linux and BSD operating systems ported to this architecture. We find that although compartmentalisation is implemented in these two operating systems, simple bugs and attacks can still allow malicious code to bypass it. We conclude with mitigation measures to prevent these attacks, a proof-of-concept demonstrating their use, and recommendations for further securing Linux and BSD against unknown attacks.
title A Security Analysis of CheriBSD and Morello Linux
topic Cryptography and Security
url https://arxiv.org/abs/2601.19074