interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / SECURITY.md

80 lines · 4232 bytes Raw Blame History Rendered
1# Security policy
2
3CUDA++ is a research-stage GPU toolchain with direct access to low-level device interfaces. No
4general production-security certification, bug-bounty program, or fixed security-response time is
5claimed.
6
7## Reporting a vulnerability
8
9Report privately. Do not open a public issue, pull request or discussion about it. Do not include
10exploit details, credentials, host addresses, confidential logs, or proof-of-concept payloads in a
11public issue or pull request.
12
131. GitHub: open this repository's Security tab and choose "Report a vulnerability". This
14 creates a private advisory that only the maintainers can see. If that option is not shown,
15 private vulnerability reporting has not been enabled for this repository yet; use email.
162. Email: drake@aienos.com with the subject `[CUDApp] security report`.
17
18Include the commit or release you tested, the component (path), steps to reproduce, and what an
19attacker gains. If the report involves a secret, say where it was exposed and do not send the
20secret itself. Encrypted mail is not required; do not post proof-of-concept payloads publicly.
21
22For ordinary bugs that do not expose a security vulnerability, use the regular issue templates.
23Include the affected commit and environment, a minimal non-sensitive reproduction, expected and
24actual behavior, and any verified mitigations.
25
26Never run proof-of-concept tests on a shared GPU service without authorization.
27
28## Response targets
29
30This project has one maintainer; the targets below are best effort and stated honestly.
31
32- Acknowledgement: within 3 working days.
33- Triage and severity: within 7 days of acknowledgement.
34- Fix or mitigation for confirmed issues: aim for 30 days for high and critical, 90 days
35 otherwise, with a status update at least every 14 days until closed.
36- Disclosure: coordinated. An advisory is published with credit (unless you ask otherwise)
37 once the fix is on the default branch. Default embargo 90 days, negotiable.
38
39Security fixes must preserve existing negative controls, must not silently relax device or memory
40protections, and should be qualified through the relevant host and approved hardware gates before
41being called resolved.
42
43## Scope
44
45In scope:
46
47- The driver client in `nvrm/` and `m16/`: wrong ioctl arguments or sizes, a buffer mapped with
48 more rights than the platform contract allows, a completion wait that can hang without its
49 deadline, or one channel able to affect another.
50- The platform contract and runtime (`src/omega_gpu_platform*`, `src/omega_gpu_session.*`,
51 `src/omega_gpu_cmdlist.*`, `src/omega_gpu_engine.*`): a silent fallback, a skipped memory
52 reserve check, or GPU work allowed after an unknown completion state.
53- The encoder, kernel builder and QMD writer (`src/omega_blackwell_*`): generated code or launch
54 descriptors that read or write outside the buffers the caller passed.
55- `make doctor` (`tools/doctor/`) and `tools/zero-cuda-gate.sh` reporting READY or PASS on a
56 machine or binary that should fail.
57- A secret, private path or host address committed to the repository.
58
59Out of scope:
60
61- NVIDIA's open kernel module headers in `third_party/nvidia-open-580.173.02/` (copied
62 unchanged), NVIDIA's kernel module, and the GSP firmware; report those to NVIDIA.
63- `make cubin-probe` (`tools/interop/cubin_probe.c`), an interop check that links NVIDIA's
64 `libcuda` and is not part of CUDA++.
65- The host operating system.
66
67## Supported versions
68
69Only the default branch `main`; there is no release. Reports against older commits are welcome but
70fixes land on the default branch only.
71
72## Status
73
74Research stage, not a drop-in replacement for CUDA (`docs/START_HERE.md`). The only qualified chip
75target is the NVIDIA GB10 (DGX Spark, sm_121) with open kernel module 580.173.02; current native
76qualification of this checkout is NOT_RUN (README). Direct execution of the binaries and
77applications linking the library have no driver-version or PCI-ID admission guard; only the
78`make doctor` wrapper refuses another module version. See AUDIT_SCOPE.md for what to review and how
79to build and test it, and also [CONTRIBUTING.md](CONTRIBUTING.md), [the provenance
80audit](docs/AUDIT.md), and [the runtime contract](docs/runtime/API.md).