Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/issues/db1e1b66a14955ef # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OM-SEC P1] Qualify device authority, DMA isolation and revocation across reset Open · #672 · open 2026-10-23 22:22 UTC Imported from GitHub aien-dev/omega-mv#672, by drakestapleton drakestapleton wrote on 2026-10-23 22:22 UTC ## Outcome A compromised device consumer cannot use stale commands or mappings to access memory or storage outside its granted scope. This is qualification through existing device/runtime owners, not another driver stack. ## Ownership and prerequisites Reconcile current Omega #638/#644/#628, CUDApp device owners, Aienux native device owners and #649 before editing. Record the exact repository, owner and paths for each mechanism; attach implementation changes there. Inspect existing queue, buffer, fence and error-latch code rather than assume it is absent. Consume #670's authority contract. ## Acceptance - Define a per-platform threat/assumption matrix: Linux-hosted versus native, trusted versus malicious driver/device, IOMMU/SMMU configuration where available, firmware, boot, CPU/GPU memory visibility and supported reset semantics. - Bind allocations, mappings and command submissions to object/queue/grant generations and the currently authorized memory/storage range. - Revocation distinguishes queued, submitted, running and completed work. Fence/drain or quarantine resources before reuse; do not free or reassign memory while an old device operation can still access it. - Reject stale handles, descriptor replay, out-of-range transfers, command-length overflow and cross-domain mappings at the actual enforcement boundary. - Exercise cancellation, partial completion, lost acknowledgement, device error, reset, process exit and restart. No fallback may silently broaden access or restore revoked authority. - Use disposable buffers/storage fixtures, canaries and observed completion records. Test wrong-generation, missing-fence and premature-reuse mutants with specific assertions. - Independently review mapping tables, queue lifetimes and synchronization against actual hardware documentation. A simulator cannot establish physical DMA isolation. - Qualify each supported physical platform separately through existing reserved hardware windows. Unsupported/missing isolation is documented and denied for the affected threat model. - Report performance overhead separately from security verdicts. No throughput result compensates for a violated isolation invariant. Reference: https://sel4.systems/Verification/assumptions.html explicitly identifies DMA/hardware assumptions; its proofs do not transfer to Omega. ## Delivery and qualification Authorized security follow-up, 2026-10-23. Reconcile current source, branches, issue comments, AGENTS.md, plan authority and worktree ownership before edits. One writer per shared compiler/runtime file; preserve existing Renda/desk review and release ownership. All new first-party implementation, runners and tests use seeded .om. Missing facilities go to the existing compiler owner; no second compiler, runtime, authority or store. Qualify replacements and consumers before removing superseded active first-party code/dependencies; preserve Git history and immutable evidence. Record exact source/seed/compiler/binary/config/fixture identities, raw commands and exits, independent review and explicit PASS/FAIL/INVALID/NOT_RUN. Emulation is not hardware qualification. A hash/signature authenticates identity, not correctness. No automatic deployment, live GPU interruption, driver changes, private-data upload or issue closure from a source-only PR. No comments. Sign in to comment