Skip to content

Enhancement to VM::INTERRUPT_SHADOW#701

Merged
NotRequiem merged 3 commits into
kernelwernel:mainfrom
wiisus:main
May 24, 2026
Merged

Enhancement to VM::INTERRUPT_SHADOW#701
NotRequiem merged 3 commits into
kernelwernel:mainfrom
wiisus:main

Conversation

@wiisus
Copy link
Copy Markdown
Contributor

@wiisus wiisus commented May 23, 2026

What does this PR do?

  • Add a new technique
  • Add a new feature
  • Add a new README translation
  • Improve code
  • Fix bugs
  • Refactoring or code organisation
  • Stylistic changes
  • Sync between branches
  • Other

Briefly explain what this PR does:

when hvci is enabled, the interrupt shadow doesnt get respected,i tested this on two different amd machines both running bare metal (amd cpu) so its definitely not a vm thing
so we might add a hyperv check for it
PC-1
image
image
PC-2
image
image

Comment thread src/vmaware.hpp Outdated
Comment thread src/vmaware.hpp Outdated
Comment thread src/vmaware.hpp Outdated
fix: refactored wrong logic

Co-authored-by: Requiem <114197630+NotRequiem@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@NotRequiem NotRequiem left a comment

Choose a reason for hiding this comment

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

The spoof check will false flag, this behavior only happens on AMD. Intel with HVCI lands in the expected RIP.

For safe-guarding purposes, we will just return if Hyper-V is detected, even if we're on Intel.

@NotRequiem NotRequiem added the bug Something isn't working label May 24, 2026
@NotRequiem NotRequiem merged commit 6e83af5 into kernelwernel:main May 24, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants