Skip to content

Conversation

@ramosian-glider
Copy link
Member

The new command allows mutation of Intel VMCS fields with the help of vmwrite instruction.
In addition to VM ID and field ID, @nested_intel_vmwrite_mask takes three 64-bit numbers: the set mask, the unset mask, and the flip mask. This allows to make bitwise modifications to VMCS without disturbing the execution too much.

Also add sys/linux/test/amd64-syz_kvm_nested_vmwrite_mask to test the new command behavior.


Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md


The new command allows mutation of Intel VMCS fields with the help
of vmwrite instruction.
In addition to VM ID and field ID, @nested_intel_vmwrite_mask takes
three 64-bit numbers: the set mask, the unset mask, and the flip mask.
This allows to make bitwise modifications to VMCS without disturbing
the execution too much.

Also add sys/linux/test/amd64-syz_kvm_nested_vmwrite_mask to test the
new command behavior.
@ramosian-glider ramosian-glider added this pull request to the merge queue Nov 21, 2025
Merged via the queue into google:master with commit accb0c3 Nov 21, 2025
17 checks passed
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