Skip to content

AriCodeOS 0.13.0

Choose a tag to compare

@Lynx-Boss Lynx-Boss released this 21 Oct 23:35
· 629 commits to main since this release

AriCodeOS 0.13.0 (2026-10-22): the last high-priority defect closed — DMA memory can no longer leak across protection domains, whether a buffer is unmapped, a driver dies, or a device completes a request late. Each fix was reproduced before it was changed, audited by independent reviewers and verified on the reference laptop.

Website: https://www.aricodeos.org/ · Master document: AriCodeOS.md, section 94.13.

What is new

  • DMA buffer lifetime (incident 0004, ADR 0038): a process that maps a DMA buffer keeps it alive, so its memory is never handed to anyone else while still mapped. New mmio_unmap system call (ABI 5). What a server keeps mapped counts against its own quota; system services without a quota are bounded by an 8-entry buffer cache. Freed address ranges are reused, and a mapping that fails halfway is rolled back.
  • When a driver dies: the kernel stops the device's bus mastering before freeing the driver's memory; a restarted driver gets its device with bus mastering off and turns it on only after resetting it; devices that advertise Function Level Reset are reset (pci.flr=off disables it); a device that will not stop has its memory quarantined.
  • Buffers a device may still own (incident 0017): after a failed disk request the virtio-blk driver keeps the buffer until it has reset the device, and recovers instead of failing every later request; the USB drivers release such a buffer only when the controller confirms it let go.

Trying it

  • USB stick (aricodeos-0.13.0-usb.img.xz, attached; xz -d it first): write it to a stick you can wipe and boot a UEFI x86-64 machine with Secure Boot off; see docs/hardware.md. Check it against SHA256SUMS.
  • Docker: docker run --rm -it ghcr.io/aricodelabs/aricodeos:0.13.0 boots it in QEMU (quit with Ctrl-A X).

Signed with the project's release key, fingerprint 1d3e24f3c7c753a5bcb384041ace6481736decd86345eab71e2a6ff410ad446e (keys/release/).

Known open items

The kernel does not yet expose whether its random generator was seeded from hardware; EHCI hubs, split transactions and 64-bit addressing are only verifiable on hardware; the driver-death path has run only in QEMU.