interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / evidence / SECURITY-673 / dispatch-locked-read / REVIEW.md

40 lines · 2529 bytes Raw Blame History Rendered
1# Dispatcher protected-read correction: source-only candidate
2
3Base: `a35697e94b5eeb72efadfee6edab7f14344aea43`, branch `fix/security673-qualified`.
4Issue scope: #649 / #670, #673 tracker. Review date: 2026-10-24.
5
6## Finding
7
8`seed/authority/dispatch.om` loaded the record before acquiring `lacq`. Two callers can load
9ready state, then acquire the lock in turn and independently pass `actstart` using stale copies.
10Even if the lock implementation supplies mutual exclusion, serializing only check/write does
11not serialize the read-check-write transaction. README and store comments promised the latter.
12This is a source-level schedule argument, not a runtime reproduction or exploitation claim.
13
14## Change
15
16Acquire first, then read. On read failure, call the existing release operation and retain the
17existing read-failure result 70. No compiler/runtime ABI, lock protocol, release owner, or
18production consumer is replaced. Refresh the existing committed dispatch concatenation.
19
20A new seeded `.om` test uses the actual store/action/dispatch code and a lock-acquisition double
21that writes a performed record before acquisition completes. Three named checks cover the
22stale-read refusal, read-error release, and acquisition-error refusal. The double is test-only;
23it is not a second authority or production lock. The gate is a committed source concatenation.
24See `seed/authority/README.md` for qualification and negative-control commands/expectations.
25
26## Verification and limits
27
28- PASS: `git diff --check` (text/whitespace check only).
29- PASS: committed gate sources equal the declared concatenation of component source bytes.
30- NOT_RUN: compiler reconstruction, compilation of either gate, regression execution,
31 pre-fix negative control, existing dispatch gate, full security gate, and independent replay.
32- The editing host is x86_64; bundled compiler programs identify as Linux AArch64 ELF.
33 No bundled compiler or executable was run, and no toolchain was installed.
34- NOT_RUN: native concurrent-process reproduction and physical qualification.
35
36Residual findings are not silently fixed: stale-pid reclaim uses a read/check/unlink sequence
37that can unlink a replacement lock; outcome reconciliation reads generation before reacquisition;
38lock release currently suppresses unlink errors; store readers do not check for trailing bytes.
39The patch makes no general atomic-dispatch, robust-lock, crash durability, or sandbox claim.
40Existing required review, repository judges, compiler integration and release holds remain.