Skip to content

fix(simulator): enforce SEV-SNP device ABI semantics - #1071

Merged
kvinwang merged 2 commits into
nextfrom
codex/fix-sev-snp-simulator-abi
Aug 18, 2026
Merged

fix(simulator): enforce SEV-SNP device ABI semantics#1071
kvinwang merged 2 commits into
nextfrom
codex/fix-sev-snp-simulator-abi

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

Summary

  • reject negative FUSE read offsets with EINVAL
  • validate and encode new evidence before committing report state
  • return EINVAL for invalid report-data length and EIO for generation/encoding failures
  • add focused ABI and failure-atomicity regression tests

Testing

  • rustfmt --edition 2021 --check tee-simulator/src/sev_snp.rs
  • cargo test -p dstack-tee-simulator sev_snp::tests

Copilot AI lite review requested due to automatic review settings August 18, 2026 07:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@kvinwang
kvinwang merged commit b2c4e07 into next Aug 18, 2026
15 checks passed
@kvinwang
kvinwang deleted the codex/fix-sev-snp-simulator-abi branch August 18, 2026 08:21
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