Description
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).
Published: 2026-04-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel state corruption and potential host crash leading to denial of service
Action: Patch
AI Analysis

Impact

The flaw in the Linux kernel’s KVM implementation allows a userspace process that manages a virtual machine to manipulate or run a vCPU while its state is being synchronized and encrypted for SEV (Secure Encrypted Virtualization) guests. This unsynchronized access can corrupt the vCPU’s state or, in the worst case, crash the host kernel. The flaw is classified under CWE‑820, indicating improper handling of shared state during synchronization.

Affected Systems

Linux kernel systems running KVM are affected. No specific affected kernel version is listed; any kernel that has not incorporated the recent lock‑insertion patch is potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.5 reflects a likely crash scenario and moderate exploitation complexity. The EPSS score is under 1%, indicating a low current probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation would require the ability to control the execution of a KVM guest on the host, suggesting a privileged or compromised userspace process as the attack vector. Once accessed, a malicious user could trigger state corruption and cause a kernel panic, effectively denying service to the host and any other VMs running on it.

Generated by OpenCVE AI on April 28, 2026 at 23:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch which locks all vCPUs when synchronizing VMSAs as referenced by commits 30fd9d8c82087742168db779929d8be0459b0716 and 4df77742e8b9a6b935bdf46f02fd0aca4d4ee7f5
  • Restrict KVM access to trusted users and avoid running untrusted or elevated userspace processes that can interact with vCPU state
  • Review and harden host configuration so that only authenticated and authorized guests can interact with the KVM driver

Generated by OpenCVE AI on April 28, 2026 at 23:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Apr 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Mon, 27 Apr 2026 11:30:00 +0000


Sat, 25 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-820
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Fri, 24 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Description 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).
Title KVM: SEV: Lock all vCPUs when synchronzing VMSAs for SNP launch finish
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T22:11:45.160Z

Reserved: 2026-03-09T15:48:24.120Z

Link: CVE-2026-31591

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-04-24T15:16:36.480

Modified: 2026-04-28T20:34:54.953

Link: CVE-2026-31591

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-24T00:00:00Z

Links: CVE-2026-31591 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T23:45:16Z

Weaknesses