Repository navigation
v0.1.0
Pre-releaseKnown issues
This is a development prerelease, not for production use. Two defects are known and will be fixed in 0.1.1:
- A truncated or edited capture can read as complete.
reportchecks only that eventseqvalues increase, andsession.jsonrecords no event count or digest. If lines are removed from the end or the middle ofevents.ndjson, the capture can still reportdetail: complete_for_scope loss=0with lower counts. Do not treat a copied or stored capture as verified evidence. - An abnormal stop leaves a capture that cannot be read.
session.jsonis written only when record finishes normally. SIGPIPE (for examplememveil record ... | head), SIGHUP, SIGKILL or a full disk leave onlyevents.ndjson, andreport(also with--allow-partial) exits 2. Run record with stdout to a file or terminal, stop it with SIGINT or SIGTERM, and keep free space beyond the size cap.
Also note: the .rpm and the runtime tarball carry builds of the same source as the .deb but not byte-identical binaries; only the .deb binary was run on the kernel matrix.
MemVeil 0.1.0 release notes (development bundle)
Status: attempt/lifecycle/copy development preview. The version names
development bytes and schema compatibility, not a qualified full release.
The capability table is the support
contract for shipping collection, offline analysis, and laboratory work.
What this bundle contains
record: SWIOTLB bounce-attempt capture, requested bytes, attach-anchored
window/deadline, and readable default-pool capacity/used/high-water
samples at start, on a best-effort 1 s cadence (cap 4,096), and close,
plus opt-in mapping-lifecycle and copy-actual channels on the admitted
profile. Admission checks profile bindings, bridge, and privilege.
Attempts are not outer DMA successes or actual copies.report: offline text/JSON/Markdown analysis. Lifecycle, copy, and mapping
reducers consume the shipped channels on the admitted profile; region and
pool reducers work only when input supplies their evidence. Allocation
occupancy and byte-time are distinct from sharing lifetime.top DIR: periodic summaries of finished-capture replay prefixes.
top --outputobserves live with provisional prefixes; the final
answer always equals a replay of the retained capture.- Human reports expose captured kernel/profile/scope and exact window
duration. Missing/conflicting provenance remains explicit; an unbound
capture remains unbound. Full hashes stay available in session/JSON. - Passive
doctor, and source/runtime tarball packaging with licenses
and manifests. The runtime tarball ships the binary, runtime closure,
BPF objects, profiles, docs, and example; versioned schemas in
schemas/and the standalone build/test wrappers stay in the
source tree.
Evidence scope
Tested binary sha256
ae2d3c13ddad4c093317b90b0e2975cc388ff8566ae8bd4d0c13b7e9ecb2ae5e:
/usr/bin/memveil in the .deb. The kernel matrix and the AWS SEV-SNP
run installed that package, and the release workflow refuses to publish
a .deb carrying any other binary. The runtime tarball and the .rpm
are built from the same tree and pass their own install lanes, but
their binaries are linked separately (other hashes) and were not run on
the kernel matrix. Package hashes change with every build (the .deb
changelog records the commit and build date); the release lists them in
SHA256SUMS.txt.
Earlier development receipts and CI successes apply to their recorded
revisions, binaries, BPF objects and environments. They are historical
evidence, not a final re-gate of every later candidate. Laboratory lifecycle,
copy and oracle lanes compare decoded probe records or synthetic translated
reports; see oracles. Shipping lifecycle/copy qualification
comes from the shipped-record VM gates on the admitted profile, not from
these laboratory comparisons. Historical replay/performance and coexistence
experiments likewise do not establish current-candidate live overhead or
pairing support; see performance and
coexistence.
For a candidate, retain exact source and dependency revisions, source/runtime
archive hashes, manifest verification, observed toolchain, binary/BPF/profile
identities, commands, expected/actual results and cleanup. Compiler-free
offline replay is a packaging boundary; collection additionally needs its
exact bound profile/environment and independent live oracle. Source-export
builds may produce different BPF bytes and fail recorded bindings.
Do not silently rewrite a profile hash to make them admitted.
Open release gates and limits
- Periodic pressure sampling, live summary, proven writer settlement,
and their independent operational qualification remain open. The
original lifecycle-qualified preview and full confidential first
release are not complete. - No TDX guest was run, and one SEV-SNP guest only (AWS c6a.large,
Ubuntu 7.0.0-1014-aws, where every channel matched the oracle
exactly). Offline region analysis and ordinary-Linux
conversion calls do not prove a confidential transition. No attestation
is performed, and observations are not host-access verdicts. - SEV-SNP guests are detected through the
vmplnode
(/sys/devices/system/cpu/sev/vmplbeside the sev-guest
node), fixture-proven and live-proven on that AWS guest: doctor
reportssev-vmpl:0, matching the kernel's "SNP running at VMPL0". - Pool samples are best-effort reads (start, 1 s cadence capped at
4,096 with missed ticks skipped, close) and cannot alone diagnose
sustained pressure. The sampler never resets high-water; equal values
share an allocator lifetime only if no reset occurred. Dynamic pools
are outside the reader's scope; see privacy. - Live terminal quality stays partial: a finalized capture and a
quiet ring do not prove writer settlement. The wired close-out
(detach, 100 ms settle, bounded drain, 100 confirmation polls,
counter sample, finalize) stampsstopevidence with the 5,000 ms
budget as a completeness threshold; live runs stay partial with
quiescence unprovenbecause no kernel protocol proves settlement.
recordexits 4 for a finalized capture, andreport/topexit 0
only with complete terminal evidence. - CPU targets and ELF linkage minima are compatibility prerequisites,
not tests of every claimed platform. See support. - Sustained saturation drains about 153,000 records/s
(3,118,447 records in 20.33 s on a 4-vCPU guest). A
busy capture above the 1 GiB default needs
report --max-events-bytesto replay. - Rows that refuse, with their codes: 5.15 is below the
6.0 floor; 6.0 through 6.10 refuse lifecycle and copy
(need 6.11); BTF-less kernels refuse lifecycle and
copy (btf-absent-config); confidentiality lockdown
refuses everything. - Saturated busy runs can stop at the 4,194,304-record
cap with bytes below the 4 GiB cap (6.11 in the
release run; 6.0, 6.10, and 6.12.0 in earlier runs),
which the gate accepts as a filled budget. Main-window
captures can lose a few map or copy events to BPF
trampoline recursion; memveil counts them as
recursion_missedand reports detail partial (5 to 222
events on five rows of the release run). Attempt loss before 6.7 is a lower bound:
the 6.0 and 6.6 rows report partial with the
lower-bound label in detail and aggregate. - The 6.18.0 kernel leaves read maps unmapped (640,
384, and 1152 across runs); the product reports them
open with the kernel-left-open note and the oracle
agrees on every channel. This is a
known kernel issue, not capture
loss. - The aggregate attempt claim covers the attempt
hook's attached interval, stated in the aggregate
scope text; the busy path allows a 2 s oracle edge
gap while the main path keeps 1 s, and rows whose
oracle samples stall fail closed. forcedmirrors the kernel's swiotlb force bit and is
not a confidential-guest signal; see
privacy.- The BTF-less row proves attempt counts only; bytes
stay unproven. - Passive doctor can read
ready (load not checked)
while the memcg precheck reportsmemcg-headroom
unknown; onlydoctor --load-checkor a record proves
the load fits. Detection scenarios pass 12 of 12 on
the 7.0 guest, including thesetprivcapability
drop and the calibratedmemcgrefusal.
Compatibility
Current output versions are report v0.1.1 and
session v0.1.2; events stay at v0.1.1. Readers still
accept the retained session v0.1.1 contract (frozen;
without correlation relations), while report readers
require v0.1.1 - the v0.1.0 report schema file stays
for reference only. Full reader rules live in
format compatibility. Captures are self-describing
and replay without the recording host or native bridge. JSON metric meanings,
integer values and exit policy are unchanged by the human-context correction.