notes

Verdict briefs for fatal risks 6 and 7

Name: provisional, minted 2026-10-02 by lane maintainer/verdict-briefs-6-7; naming is an architect's.

Written 2026-10-02 (UTC) against main at b4a081e02. Risks 6 and 7 in design/fatal-risks/README.md read Experiment status RUN and carry no color (color: none in both appendices). The color is the architect's alone (§216 (fatal-risk facts are correctable, and verdicts are the architect's)). This page gathers the evidence so a ruling takes one reading. It sets no verdict and edits nothing under design/.

One thing to know first. §211 (what a fatal-risk verdict says) defines the Experiment status words and defines no color. GREEN, AMBER and RED have no written definition in the tree. What exists is precedent, and this page applies it. GREEN on risks 1 and 9 (ran, could have come back red, did not, caveats stated). AMBER on risks 2 and 3 (ran, and found a standing weakness or fell short of the entry's own standard), and no color on risk 4, whose single-crossing numbers exist while the decisive experiment does not. A PR search (risk 6, risk 7, amber confinement) and git log on the README found no color ever proposed or ruled for either risk.

Risk 6: a capability-confined userspace driver cannot drive real hardware at real speed

Recommended: no verdict yet (leave uncolored). Not AMBER, because nothing adverse was found. Not GREEN, because the claim's own words ("behind an IOMMU", "real speed") are not what was measured.

1. The claim, and what red would mean

A driver outside the kernel, confined by capabilities and an input-output memory management unit (IOMMU), cannot drive a real device at a useful rate. Red would be a real device that a confined driver cannot operate at all, or only at a cost the thesis cannot pay.

2. What was run

All of it on radon (riscv64 VisionFive 2, JH7110). The device is the true random number generator (TRNG), milestone 159 (a real hardware entropy source: the JH7110's TRNG)'s driver, an EL0 process holding two endpoints and one page of device memory.

What Result Source
Confined grant is two endpoints and one 0x1000 page; no interrupt, no DMA page, no VirtualIo capability design/roadmap/0159-jh7110-trng-driver.md; read adversarially, "Nothing to find", design/audit-reports/2026-09-17-userspace-confinement.md, "The population, found by reading grants rather than names"
Drives the device draws differ between draws and boots, 2026-09-03/04 transcripts named in the appendix live under target/board/, which is not in git
Rate, 2026-09-16 988,416, 992,248 and 992,248 bytes/s; bring-up 522, 516 and 522 us bench/radon-2026-09-16/jobmix-boot3.log:721, jobmix-boot5.log:736, jobmix-boot4.log:814
Rate, 2026-09-25 973,384 bytes/s over 8 round trips, bring-up 580 us bench/radon-2026-09-25/soak-8h.log:208 (the 8 h 09 m soak boot)
The README's figure 955,223 bytes/s, 64 bytes in 67 us commit 4af8ff980, design/roadmap/0306-time-the-hw-entropy-step.md, "The number"
QEMU floor about 250 us per exchange; radon is 8.4 us, so the floor is not a denominator appendix, design/roadmap/0306-time-the-hw-entropy-step.md

No xenon NVMe result exists. bench/xenon-2026-09-17/ holds a first-light tour and two failed NVMe attempts (a crash and a skip). The Results table in notes/risk-6-bench-evening.md is empty.

3. Is the premise true, and could it have come back red

Partly.

4. What has not been run, and whether it caps the color

The decisive experiment: one real non-virtio device, confined, at throughput. It is built (milestones 261 and 594, preflights for DMAR scope and LBA size, cargo xtask disk-throughput) and unrun. radon, riscv64, is the only board with any result. aarch64 (argon) never booted nife; xenon (x86_64) has a tour and nothing for this risk. The absence caps the color: the entry itself says "this does not retire the risk", and a TRNG is the smallest real device on the board.

5. Recommendation

No verdict yet. The same shape as risk 4: the best-measured part of the experiment is a single easy case, and the decisive case exists as a script and an empty table. If the architect wants a color now, the only defensible one is GREEN for the narrowed claim "a confined EL0 process can drive a non-DMA device on real silicon". That is a different claim from the one the entry states, and ruling on it would leave the NVMe evening looking optional.

6. What would move it

7. Corrections for the maintainer (§216)

  1. The cited transcript lacks the figure. README risk 6 and the appendix cite bench/radon-2026-09-16/tour-083200.log for 955,223 bytes/s. That file is 188 lines, has no hw entropy line, and ends in a garbled capability-slot line. No committed log holds 955,223 or "in 67 us". Cite the four committed boots above, and say the 955,223 boot's capture was not committed intact (commit 4af8ff980 carries only the number).
  2. "One boot of radon" is stale. The same measurement now has four committed boots, 973,384 to 992,248 bytes/s, spread about 4%.
  3. The appendix frontmatter updated: 2026-08-31 predates its own 2026-09-25 corrections.

Risk 7: the confinement claim is false

Recommended: AMBER. Not GREEN, because the README's own BUGS section says risk 7 "cannot return a clean green". Not RED, because no confined component has been found to escape on its own authority.

1. The claim, and what red would mean

A confined component escapes, so the property the system exists to provide does not hold. Red would be an escape, by a component holding only what it was granted, through a defect class the capability model cannot close. A fixable defect is not red; a published claim that proves false is a finding.

2. What was run

Three kinds of work, all by this project, on QEMU and the host unless stated.

Date (UTC) What Result Source
2026-08-31 enumerate claims, falsify each test (milestone 202 (every confinement test is a ritual until somebody breaks the confinement)) 26 rows, 25 Kani harnesses with a replayable falsification (up from 6), §31 (the foreign-language seam: C holds no capabilities and makes no system calls)'s headline assertion never runs notes/confinement-claims.md, PR #614
2026-09-16 kernel half (305, 307) one test could not fail since milestone 41 (dead code: triage the suppressions, and un-blindfold the gate); nine unreachable assertions across the rows PRs #899 and 307's section
2026-09-17 audit, userspace lens (313) fixed 3, minted 3, accepted 1; §12 (call/reply IPC: a one-shot reply capability) false on x86_64 (port grant kept after CAP_DELETE); SMEP sentence false design/audit-reports/2026-09-17-userspace-confinement.md
2026-09-21 adversarial pass a revoked capability parked in outgoing_capability was delivered afterwards; fixed in three sweeps; eight attacks held PR #1059, notes/confinement-claims.md
2026-09-23 PortRange::REVOKE other-core window closed (315) 12 of 12 two-core suites against 3 of 12 failing before README appendix, PR #1144
2026-09-24 audit, new trust boundaries fixed 5 (incl. SVE/SME/V state neither saved nor disabled, a window no tested machine can open), no confinement claim false design/audit-reports/2026-09-24-new-trust-boundaries.md, "Is any confinement claim in this tree false as stated?"
2026-09-29 audit, system call surface as a whole fixed 0, minted 0, accepted 3, no confinement claim false design/audit-reports/2026-09-29-system-call-surface-whole.md, "Is any confinement claim false as stated?"

Current replay evidence, from script/falsifications at this branch's base: 155 of 212 Kani harnesses replayable (all packages, not only confinement ones); 16 of 17 kernel tests carry a replayable record, and the 17th is row 26, unfalsified.

3. Is the premise true, and could it have come back red

The premise was that tests written by the builders could be rituals. That was true, three times over: the U-bit test (milestone 41), the six unreachable kernel assertions (307), and the two port tests that hung instead of failing (299/313). It could have come back red and came back partly red in the sense that matters: a confinement test was shown unable to fail. It also found two published sentences false in 313 and a third claim false on 2026-09-21.

Where a test has not been seen red, and it is a short list:

The strongest case for RED, stated so it can be weighed. The 2026-09-21 find is a capability that survived revocation and reached a receiver, and MemoryRegion::DESTROY exists so none does. That is the confinement property failing, on a path any boot could take. I read it as AMBER and not red. It needed a sender that parked the capability, and it was fixed in a day with a test red first on three architectures. The defect class reduces to one rule ("sweep every place authority lives"), so the architecture can close it. That reading is a judgment.

4. What has not been run, and whether it caps the color

The adversarial half the entry has always named: an outsider trying to escape. Every pass above was this project attacking itself, and the appendix says that is the same category of evidence. It is gated behind milestone 198 (a package manager, and the trivial install that makes a second customer possible) by calef's no-third-parties position. It caps the color at AMBER by the entry's own rule ("neither can return a clean green"). Also not done: hostile-client fixtures for userspace caretakers (read, not attacked), and any x86_64 test through a real IOMMU unit that confines a device (QEMU's one unit owns the bus).

5. Recommendation

AMBER. The experiment ran, found real defects in the confinement story and test ritual three times, and found no escape. Findings per pass went 3 fixed, then 1 more false claim, then 5 fixed with none false, then 0 fixed. That is a flattening over four passes, which is a confidence and not a verdict, as risk 5's entry says of its own curve. The unrun half is the one the claim is named for. If the architect wants GREEN to be reachable, the standard for it has to be written first.

6. What would move it

7. Corrections for the maintainer (§216)

  1. Counts are the 2026-08-31 ones. README says "26 claims enumerated, three of them stated nowhere, 25 harnesses". The table has 30 rows (27 to 29 from 313, 30 from 2026-09-21), and the note's section on unstated claims is headed "Five" while listing six paragraphs. Dated counts need dates or refreshed numbers.
  2. The audit is no longer the last word. README: "AUDITED, 2026-09-17: a qualified yes with one exception". The appendix records two false published sentences from 313 (§12 on x86_64; the SMEP sentence) and a third claim found false on 2026-09-21. The README entry omits the 2026-09-21 pass and the 2026-09-24 and 2026-09-29 audits (the last two found no false confinement claim).
  3. "The adversarial half remains" in the running order is half stale. The in-house adversarial pass ran on 2026-09-21 (#1059). The outsider half remains. Owners listed (202, 305, 313) omit 315 and the unnumbered 2026-09-21 lane.
  4. The appendix's "system call surface and IPC model are the remaining untaken lens" is stale. The 2026-09-29 audit took it (fixed 0, minted 0, accepted 3, no confinement claim false).
  5. Frontmatter updated: 2026-08-31 in the-confinement-claims.md is stale.

BUGS