Skip to content

docs(security): DevTools is excluded by signed GPU measurements - #1658

Open
kvinwang wants to merge 1 commit into
nextfrom
docs/gpu-devtools-attestation
Open

kvinwang wants to merge 1 commit into
nextfrom
docs/gpu-devtools-attestation

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

The NVML DevTools check is host-spoofable: the guest driver reads the state from a GPU register over MMIO, which the host can emulate. What actually keeps DevTools GPUs out is the signed appraisal.

Tested on use1 (H200, VBIOS 96.00.D0.00.03, driver 595.91.07, nvattest 1.2.2, mode switched with gpu-admin-tools):

CC on DevTools
nvattest result_code 0 11
measres success fail (driver RIM 32, 36, 37; VBIOS RIM 5, 9)
SPDM opaque fields — identical to CC on

Docs and GpuPolicy field comments now say:

  • DevTools is excluded by measres; the NVML check and the event's devtools field are host-reported.
  • allow_devtools only skips the NVML pre-check; a DevTools GPU still fails attestation.
  • allow_debug / allow_insecure_boot have no effect with current nvattest, which sets dbgstat/secboot only when measurements match.

No behavior change.

The docs presented the NVML DevTools check as what keeps DevTools GPUs
out. The guest driver reads that state from a GPU register over MMIO,
which the host can emulate, so it is not evidence.

On an H200 (VBIOS 96.00.D0.00.03, driver 595.91.07) switched to
DevTools with gpu-admin-tools, nvattest local appraisal fails: driver
RIM indices 32, 36, 37 and VBIOS RIM indices 5, 9 no longer match, so
measres is "fail". The SPDM opaque data is identical to CC on, so the
measurements are the only signed signal, and dstack already requires
measres == "success".

Document that, and that allow_devtools therefore only skips the NVML
pre-check. nvattest also sets dbgstat/secboot only when measurements
match, so allow_debug and allow_insecure_boot currently have no effect.

Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang
kvinwang requested a review from Leechael November 27, 2026 05:21

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant