roadmap BUILT

762. A mapping cannot outlive its frame's revoke

(Title and slug are drafts.) It follows #1640 (the delegation side of the same window) and milestone 761 (capability lookup off the global lock).

Why

A revocation sweep deletes capabilities first, then unmaps what the mapping log holds when it scans. PageFrame::MAP and AddressSpace::MAP_INTO read the frame capability in one critical section and mapped and recorded in later ones, so a sweep could run wholly between. It deleted the capability and scanned a log the mapping was not yet in, and the mapping was recorded after it, alive. Under PageFrame::REVOKE that is authority the revoker took back. Under MemoryRegion::DESTROY it is a live mapping of a page the allocator hands to somebody else, the use-after-free DECISIONS ยง13 (capability revocation and untyped reclamation) exists to prevent and named in 2026-07 as "the one honest race". #1640 recorded it reasoned and undriven. It is fatal risk 7's confinement claim.

What was built

Falsification

One replayable patch per path under system_tests/falsifications/, each putting back the read-outside-the-hold shape. All three replayed red on riscv64 at the predicted assertion.

Cost

riscv64 icount, the same tree with and without the fix: map_el0 120 to 113 ticks a map (-6.3%), spawn_el0 2,221 to 2,208 (-0.6%), every other row within a tick. Cheaper because a run takes the registry once instead of once per page plus a table lookup. The hold is now longer (it spans page-table construction), and what that costs under contention is not measured: no benchmark maps from two cores at once.

Gates

BUGS

Follow-on

Index row

A frame revoked while somebody was mapping it no longer stays mapped. PageFrame::MAP, AddressSpace::MAP_INTO and MemoryRegion::MAP read their source under the same hold of the mapping registry that maps and records, so a revoke or a region destroy is wholly before or wholly after. All three were driven red first; fatal risk 7's claim that a revoked frame is unreachable now holds for mappings as well as capabilities.