roadmap NOT-STARTED

1003. Continuous fuzzing for risk 7's criterion (d)

Raised by lane/confined-fuzz-budget on 2026-10-31 (UTC), asked to set the bar that criterion (d) of risk 7 (the confinement claim is false) names and nobody has set. An architect ruled on 2026-10-31 (UTC) on every question it raised, and this document states those rulings. The file name keeps its first form so that links to it hold.

Reuse: the continuous run reuses the three fuzzers and the weekly sweep jobs as they stand. It adopts syzkaller's service standards, not its code.

What is in force

Where criterion (d) stands

Risk 7 is AMBER. The architect agreed the four criteria for green on 2026-10-06 (UTC). Criterion (d) names milestone 779 (fuzz the surface a confined process can reach) and now reads as the four conditions above. Re-derived from the tree and the workflow logs at 9f62334f5:

What the fuzzers do, in plain words

A confined process is a program the kernel holds to a fixed set of permissions, called capabilities: this mailbox, that page of memory, nothing else. The confinement claim is that no sequence of system calls lets it reach anything outside that set. The 36 rows of notes/confinement-claims.md each state one such rule.

The user-mode driver tests the claim by brute force. It starts three small user programs, two with a handful of capabilities and one, the witness, with none it may use. A random number generator, started from a number called the seed, picks each program's next system call. After every call a referee in the kernel checks four things. Every new entry in a program's capability table came from a call allowed to grant it. No page table maps a page the program never received. Every badge and register the kernel handed back tells the truth. And the kernel refused the witness every time. One seed is 96 calls. The same seed always replays the same calls, so a failure names its seed.

The kernel-thread driver is the same idea one layer in: kernel threads stand in for programs, and a model predicts the exact answer to every call. The host targets are classic coverage-guided fuzzing of a server's message handling.

The in-guest drivers are coverage-blind: they cannot tell which kernel code a seed reached, so they never learn, and each seed is an independent random draw.

The two standards, as read

Read on 2026-10-31 (UTC) from the projects' own documentation. I mark anything I did not read unverified.

OSS-Fuzz

Read from google.github.io/oss-fuzz.

syzbot and syzkaller

Read from the syzkaller repository's docs/syzbot.md and the syzbot dashboard page.

What nife already meets, and what it lacks

standard nife today
Replayable inputs Met. A seed replays the same calls; a failure names its seed.
Determinism across accelerators Met. The same seed gives the same verdict under hardware acceleration and under emulation.
An oracle beyond a crash Met, and stronger than the sanitizers the others rely on. The referee reports capability, badge and oracle violations.
Targets in the project's own tree Met.
Targets run regularly as regression Partly met. 34 fixed seeds run on every merge. Nothing keeps a failing seed as a named regression test.
Coverage measure Missing for the two in-guest drivers, which carry no coverage counter. The host targets have libFuzzer's edge count.
A usable verdict under concurrency Missing. Several guests at once produce false reds (see the appendix).
A corpus kept across runs Missing. No corpus of seeds or inputs survives a run.
Reproducer to regression test Missing. A failing seed is not turned into a standing test by any step.
A triage clock Missing. No rule gives the time allowed to examine a finding or the age at which an open escape becomes a failure.
A dashboard Missing. Counts, rates and open findings are not collected anywhere.
Bisection and fix tracking Missing. A finding is not tied to an introducing or a fixing commit.
Introspection of what is unreachable Missing.

Scope note (§19)

x86_64 only for now. A dedicated x86_64 virtual machine of about 4 vCPUs and 8 GB runs x86_64 comfortably under hardware acceleration. aarch64 and riscv64 run only under full emulation (TCG), at 6 to 20 seeds/s per guest. §19 (architectural parity is a tenet) makes parity a gate, so this is a scoped exception for the fuzzers only. It ends when hardware runs the fuzzers on the other two architectures at a useful rate. The escapes of record split by architecture. §12 (call/reply IPC: a one-shot reply capability) was false only on x86_64, and claim 11's alias was on all three. So the record must not imply parity.

The clock, with dates

A sweep reports an escape on Tuesday 2026-11-03. Triage is due by Friday 2026-11-06. A lane triages it on Thursday 2026-11-05 and confirms it, so the fix is due 7 days later, on Thursday 2026-11-12. The public report shows "1 held, oldest 2 days" while the finding stays private. The fix merges on 2026-11-11, the daily job shows the finding closed on 2026-11-12, and the finding turns public. With no fix by 2026-11-12, condition 3 fails on 2026-11-13 and the rating falls until a fix merges.

Appendix: measurements, 2026-10-31 (UTC)

Runs on a shared multi-core build host with other lanes' load, one QEMU guest per process.

Rate per guest, x86_64 under hardware acceleration (KVM):

guests at once kernel-thread driver (milestone 752), seeds/s user-mode driver (milestone 779), seeds/s
1 about 420 about 230
2 to 8 440 to 460 about 220

Under full emulation (TCG), per guest, flat from 1 to 16 guests within noise: aarch64 17 to 20 (kernel-thread) and 9 (user-mode); riscv64 9 to 11 and 6 to 7; x86_64 15 to 18 and 9 to 10. KVM is about 25 times faster on x86_64. An emulated guest uses about 1.2 host cores and 126 MB (kernel-thread) or 264 to 375 MB (user-mode), and 62 guest-runs showed no false red. The emulation note in notes/fuzzing/ holds the table.

Memory under KVM: about 100 MB per guest.

Host target redoxfs_server_session: 794 runs/s on one process and about 5,470 runs/s on eight workers.

False reds, guests that reported a failure that did not reproduce:

guests at once kernel-thread driver user-mode driver
4 1 of 4 0 of 4
8 4 of 8 1 of 8
16 6 of 16 6 of 16

Replays of failing seeds were green. The harness's deadlines expired under load; no escape occurred. Until a fix lands, more concurrency buys false reds faster than seeds.

What waits on this

Risk 7's green waits on four pieces of work, in this order. First, the harness false-red fix. Second, the coverage build for one architecture, which measures its cost. Third, the virtual machine with its daily job and report. Fourth, private advisories switched on for nifeos/nife, with a findings credential that can create them.

Index row

Criterion (d) of risk 7 had no bar. This sets four conditions in the standards of OSS-Fuzz and syzbot, a continuous run that is alive, measured for coverage, reproducible and disclosed privately, so the confinement claim rests on a stated test.