CVE-2026-31591: KVM: SEV: Lock all vCPUs when synchronzing VMSAs for SNP launch finish

Published Apr 24, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

KVM: SEV: Lock all vCPUs when synchronzing VMSAs for SNP launch finish

Lock all vCPUs when synchronizing and encrypting VMSAs for SNP guests, as allowing userspace to manipulate and/or run a vCPU while its state is being synchronized would at best corrupt vCPU state, and at worst crash the host kernel.

Opportunistically assert that vcpu->mutex is held when synchronizing its VMSA (the SEV-ES path already locks vCPUs).

Affected Software

5 affected componentsFixes available
Linux Linux kernel (KVM/SEV)
Linux Linux kernel>=6.11<6.18.24
Linux Linux kernel>=6.19<6.19.14
Linux Linux kernel>=7.0<7.0.1
Microsoft azl3 kernel 6.6.130.1-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Ensure the kernel locks all vCPUs when synchronizing and encrypting VMSAs for SNP guests (i.e., enable the behavior that prevents userspace from manipulating or running a vCPU while its VMSA is being synchronized). Opportunistically assert that vcpu->mutex is held during VMSA synchronization.

    Linux kernel (KVM SEV) lock_all_vcpus_when_synchronizing_VMSA = enabled

Event History

Apr 24, 2026
CVE Published
via MITRE·02:42 PM
Data Sourced
via MITRE·02:42 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityAffected Software
Apr 26, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:07 AM
Affected Software
Updated
via Microsoft·08:07 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-31591?

CVE-2026-31591 is considered a medium severity vulnerability affecting KVM in the Linux kernel.

2

How do I fix CVE-2026-31591?

To fix CVE-2026-31591, update your Linux kernel to a version that includes the security patch addressing this vulnerability.

3

What types of systems are affected by CVE-2026-31591?

CVE-2026-31591 affects Linux kernel versions between 6.11 and 7.0.1 that utilize KVM/SEV for virtualization.

4

What impact does CVE-2026-31591 have on my system?

The impact of CVE-2026-31591 includes potential security risks when synchronizing VMSAs for SNP guests in virtual environments.

5

Is there a public exploit available for CVE-2026-31591?

As of now, there are no publicly known exploits specifically targeting CVE-2026-31591.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203