Skip to content

KVM: Enable PAC inside of the guest with zeroed keys. - #14466

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl972211399
Open

KVM: Enable PAC inside of the guest with zeroed keys. #14466
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl972211399

Conversation

@copybara-service

Copy link
Copy Markdown

KVM: Enable PAC inside of the guest with zeroed keys.

Non-hint PAC instructions will generate a SIGILL even if PAC has never been
enabled in the guest. This is circumvented by enabling PAC in the guest, but
setting all of the PAC keys to zero which effectively makes all PAC instructions
no-ops, as was originally the intention with disabling PAC in KVM in the
first place.

@copybara-service
copybara-service Bot requested a review from nixprime as a code owner August 27, 2026 23:37
@copybara-service copybara-service Bot added the exported Issue was exported automatically label Aug 27, 2026
@copybara-service
copybara-service Bot force-pushed the test/cl972211399 branch 5 times, most recently from 3becca1 to a08be7a Compare August 28, 2026 23:00
Non-hint PAC instructions will generate a SIGILL even if PAC has never been
enabled in the guest. This is circumvented by enabling PAC in the guest, but
setting all of the PAC keys to zero which effectively makes all PAC instructions
no-ops, as was originally the intention with disabling PAC in KVM in the
first place.

PiperOrigin-RevId: 972211399
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant