Skip to content

Use checked arithmetic against VTL0-controllable integers#796

Merged
sangho2 merged 3 commits intomainfrom
sanghle/lvbs/checked
May 6, 2026
Merged

Use checked arithmetic against VTL0-controllable integers#796
sangho2 merged 3 commits intomainfrom
sanghle/lvbs/checked

Conversation

@sangho2
Copy link
Copy Markdown
Contributor

@sangho2 sangho2 commented Apr 22, 2026

This PR uses checked arithmetic against VTL0-controllable integers to avoid potential attacks via integer overflows or underflows.

@sangho2 sangho2 force-pushed the sanghle/lvbs/checked branch 2 times, most recently from 4e52a30 to f197fca Compare April 22, 2026 15:03
@sangho2 sangho2 marked this pull request as ready for review April 22, 2026 15:10
@sangho2 sangho2 changed the title Use checked arithmetic for HVCI/HEKI Use checked arithmetic for VTL0-controllable integers Apr 22, 2026
@sangho2 sangho2 changed the title Use checked arithmetic for VTL0-controllable integers Use checked arithmetic against VTL0-controllable integers Apr 22, 2026
@CvvT CvvT self-requested a review May 5, 2026 22:03
Copy link
Copy Markdown
Contributor

@CvvT CvvT left a comment

Choose a reason for hiding this comment

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

Overall LGTM; agent found one potential issue.

Comment thread litebox_platform_lvbs/src/mshv/vsm.rs Outdated
@sangho2 sangho2 force-pushed the sanghle/lvbs/checked branch 4 times, most recently from eea28d9 to 18e508b Compare May 6, 2026 16:25
@sangho2 sangho2 force-pushed the sanghle/lvbs/checked branch from 18e508b to e7c77d5 Compare May 6, 2026 16:34
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

@sangho2 sangho2 added this pull request to the merge queue May 6, 2026
Merged via the queue into main with commit effc8bf May 6, 2026
13 checks passed
@sangho2 sangho2 deleted the sanghle/lvbs/checked branch May 6, 2026 17:28
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