Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Oxide 4 min read Announcement easyNovice

Hubris and Humility

Hubris is an all-Rust, microkernel-based embedded operating system for Oxide's root of trust and service processors, now open sourced alongside its companion debugger, Humility. Rather than creating tasks dynamically at runtime, Hubris fixes every task for an application at build time and links them with the kernel into a single attestable image. Tasks, kernel and drivers each run in separate memory-protected domains with a strictly synchronous task model. Because all resources are known ahead of time, faulted tasks can always be safely restarted and load-driven resource exhaustion (no fork, no fork bomb) is designed out.

Assumes: embedded systems basicsmicrokernels

Related posts

  • 🤗 Kernels: Major Updates

    Hugging Face mediumAdept

    Hugging Face's Kernels project, which packages and distributes custom GPU kernels via the Hub, now has a dedicated "kernel" repository type and several security layers on top of Nix-based reproducible builds. By default only kernels from trusted publishers load, with an explicit trust_remote_code opt-in for others, and Sigstore cosign signing with ephemeral keys tied to trusted GitHub workflows (verification is not yet enforced at load time). Other changes include separate kernels and kernel-builder CLIs designed to be easy for agents to drive, Torch Stable ABI and Apache TVM FFI support, and compatibility-checking APIs. A segfault-causing libstdc++ global-initialization conflict was fixed by switching from static linking to dynamic linking with the official manylinux_2_28 toolchain.

  • A disappearing Service Processor

    Oxide hardMaster

    Oxide's Cosmo sled Service Processor (an STM32H7 Cortex-M7 running Hubris) intermittently dropped off the network and hung so hard a debug probe couldn't halt it. The root cause was mismatched memory attributes. Unprivileged tasks mapped the FPGA's FMC bus as uncached device memory via the MPU, but the privileged kernel's default ARM memory map treated that address as Normal Cached. An interrupt landing during a buffered store could then produce cache write-backs with unexpected access sizes, which hung the 32-bit-only FPGA bus. A measured-boot reset loop cut reproduction time from 24+ hours to about 10-20 minutes, and moving the FMC base address into a default device/uncached region of the address space fixed the issue.

  • Hardening eBPF for runtime security: Lessons from Datadog Workload Protection

    Datadog Engineering hardMaster

    Five years of running Datadog Workload Protection, an eBPF-based runtime security agent supporting kernels from 4.15 to 6.18, distilled into six production lessons. They cover getting programs to load, attach and keep firing across kernels and distributions; capturing and enriching data correctly; auditing eBPF use to reduce attack surface; coexisting with other eBPF users on a host; controlling performance cost; and shipping changes safely. Concrete pitfalls include verifier differences between kernels, inlined or renamed hook points, missed 32-bit compat syscalls and per-syscall tracepoints, and gaps from io_uring, openat2 and unusual exec paths like binfmt_misc. Mitigations include a CI matrix of tested kernels, the shared open source ebpf-manager Go library that refuses to start without a minimal set of loaded programs, and wrappers that hide verifier quirks.

  • Virtual Oxide Labs: Emulating a Full Oxide Rack

    Oxide hardMaster

    Voxel (Virtual Oxide Labs) is a Rust-on-illumos emulation stack that runs a full Oxide rack on a single machine using stock, unmodified Oxide software. Each sled and switch runs in its own Propolis VM, alongside Debian/FRR VMs for BGP or static customer networking, SoftNPU as a software P4 switch, and emulated Service Processor and Root of Trust firmware running Hubris archives. Control-plane images are built from Omicron source or from TUF release repos and snapshotted with ZFS before configuration, so a six-sled rack or a multirack setup launches in about 10 minutes on a 32-thread, 96GB mini-PC.

  • OpenAI and Cisco introduce Shirudo

    OpenAI easyNovice

    Shirudo is an open-source runtime from OpenAI and Cisco that uses eBPF "shields" to block vulnerable code paths on running Linux systems while patches are prepared, without restarts. Operators can monitor a proposed shield's effect on legitimate traffic before enforcing it. Shields are cryptographically signed, checked by the eBPF verifier, and recorded via TPM-backed attestation. In a controlled test, a Codex-generated shield added an input check to Java's Base64 decoder in a live Elasticsearch process and blocked a Java4Shell exploit. The project is BSD 2-Clause licensed, with BPF programs dual-licensed BSD/GPL.

The quest for software engineering knowledge.

Look:
Layout: