Repository navigation
hardening: fix 0.1.3 P0/P1 findings across transport-core, net-sircl, fabric-tool & CI - #7
Merged
Merged
Conversation
…portability, topology parser parity (P0-5, P1-3, P1-4, P1-6)
…SO hardening, data-path edge cases (P0-3, P0-4, P1-1..P1-4, P1-8)
…all-boot & shell scripts, align topology parser (P0-1, P0-2, P1-5, P1-6)
…n archive, update SOURCE.json (P1-7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Pre-release audit of
net-sircl 0.1.3(856a79f) identified 5 release-blocking P0 defects (AArch64 alignment UB inmesh_marker.c, root privilege-boundary gaps infabric-tool install-boot, accept head-of-line DoS + blocking handshake writes, irreversible process-wide relay-window poisoning + unchecked finalize refcounting, and an AB-BA lock inversion inshm_verbs.c) plus 8 P1 hardening, packaging, and portability issues acrosstransport-core,net-sircl,fabric-tool, and CI.What Changed
transport-core:fab_lockvslocal) and overflow checks insrc/shm_verbs.c.sysfs.candverbs.hportability edge cases, alignedtopology.cparser parity withfabric-tool, and retired unusedsircl_fabric.h/fabric.c.net-sircl:l->accepting(60s head-of-line DoS on stray probes) and blockingsend_all()inside non-blockingconnect/acceptinnet_sircl_connection.h, and enabledSO_KEEPALIVE.sircl_finalize(ctx)across ext-net v7–v10 and multi-comm v11–v12 (net_sircl_admission.h,net_sircl.c,net_sircl_compat.h).-fvisibility=hidden, symbol version script (net_sircl.map), full RELRO (-Wl,-z,relro,-z,now), and explicitSONAME, plus data-path edge fixes (net_sircl_plan.c,net_sircl_profile.h,net_sircl_config.h).fabric-tool:uint32_t words[2]cast touint64_t *) and added async-event handling inmesh_marker.c.root:rootownership and0755/0644permissions inboot.py/cli.py, validated--toolfor the root systemd timer, hardened atomicinstall/teeupdates inops.py/state.py, and aligned topology parsing (topology.py).ASan+UBSanCI lane in.github/workflows/ci.yml(which also caught and fixed an 80-byteregMrleak innet-sircl/tests/layer_test.cpeerloss mode).transport-core/tools/package.pyand updatedSOURCE.json.Verification
-O2andASan+UBSan:transport-core: C tests + 7/7 planning tests passed.net-sircl: 32/32 tests passed (zero leaks under ASan/UBSan).fabric-tool: 210/210pytestpassed;mesh_marker.ccompiled cleanly with-std=c11 -Wall -Wextra -Werrorand passed ASan/UBSan checks.tests/: 20/20unittestpassed (includingtest_release.pyandtest_topology_conformance.py).check_release_safety.py: 0 findings across 157 files.Risks / Follow-Ups
0.1.3should follow a live DGX Spark hardware qualification run on the merged candidate SHA (and CI passing on this PR).