Skip to content

build(os/mkosi): update nvattest to 2026.11.23 - #1646

Merged
kvinwang merged 2 commits into
nextfrom
chore/bump-nvattest-2026.11.23
Nov 26, 2026
Merged

kvinwang merged 2 commits into
nextfrom
chore/bump-nvattest-2026.11.23

Conversation

@kvinwang

@kvinwang kvinwang commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The guest image pins nvattest 2026.06.09 (1.2.2). NVIDIA has since released 2026.10.02 and 2026.11.23 (2.1.0). From CUDA 13.5 onward, GPU drivers use a new opaque data format that is not backwards compatible, and only the newer SDK can parse it. Neither of our two local patches applies to the new tree.

Change

  • Bump NVATTEST_REVISION to da4949b (release 2026.11.23).
  • Rebase 0001-pin-fetchcontent-inputs.patch. Upstream switched json to a git tag and added GIT_SHALLOW. Every input is still pinned to the commit behind its tag, and GIT_SHALLOW is dropped where a commit is pinned. The commits are unchanged, plus Corrosion v0.6.1 (upstream moved from a commit to a tag).
  • Rebase the OCSP freshness patch, which upstream still lacks, as 0002-validate-ocsp-response-freshness.patch under mkosi. The deprecated Yocto recipe keeps its copy for the old revision.
  • libnvat SONAME is now libnvat.so.2, so parity.json is updated to match.

Behavior changes from upstream

  • GPU claims are now x-nvidia-gpu-claims-version: "4.0". They add x-nvidia-attester-claims and x-nvidia-mismatch-opaque-data-records, and no field is removed. App Rego that pins the claims version must accept 4.0.
  • measres now fails when a device's firmware SVN is below the minimum SVN declared in its RIM.
  • attest (v1) still uses --ocsp-url. AIA responder discovery is only enabled in attest-v2, so OCSP traffic still goes through nvidia-attest-proxy. The new default OCSP CertID hash (SHA-256) changes the proxy's cache keys, so existing cached OCSP entries miss once after the upgrade.
  • The attest and collect-evidence CLI flags and JSON output used by dstack/nvattest are unchanged. The fields dstack-util parses (x-nvidia-device-type, eat_nonce, nonce match, measres, secboot, dbgstat) are unchanged.

Validation

  • Ran os/mkosi/components/nvattest/nvattest-build.sh standalone in debian:trixie (gcc 14.2.0, cmake 3.31.6, pinned rustc 1.92.0, mkosi build packages) and on Ubuntu 24.04 (gcc 13, cmake 3.28.3), with ninja -j8. Both patches applied with --fuzz=0 and the build succeeded. nvattest version reports 2.1.0, the OCSP checks are present in libnvat.so.2.1.0, and every parity.json nvattest path exists in the staged tree.
  • os/mkosi/tests/acceptance.sh passed.
  • Full mkosi image build and GPU attestation on real H100/H200 hardware.

Leechael
Leechael previously approved these changes Nov 26, 2026
Signed-off-by: Kevin Wang <wy721@qq.com>
Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang
kvinwang merged commit 73b10c6 into next Nov 26, 2026
20 checks passed
@kvinwang
kvinwang deleted the chore/bump-nvattest-2026.11.23 branch November 26, 2026 12:40
@kvinwang
kvinwang restored the chore/bump-nvattest-2026.11.23 branch November 26, 2026 15:54
@kvinwang
kvinwang deleted the chore/bump-nvattest-2026.11.23 branch November 26, 2026 15:54
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.

2 participants