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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-24 · Modified: 2026-11-06
- Aliases: UBUNTU-CVE-2026-31591, DEBIAN-CVE-2026-31591, CGA-25cm-x5jj-v7rc, CGA-3cv8-qgj7-45vp, CGA-4g22-qrw6-5xxg, CGA-542c-436g-q45v, CGA-5q58-mww9-8cf3, CGA-8qh6-rmpf-7fc2, CGA-9jq2-8hv8-m2gp, CGA-f56f-9f33-5g4h, CGA-f7j4-chmx-q2rx, CGA-ghvv-4mcf-mg95, CGA-rr87-pwpp-94m6
- Record: https://cvemate.com/vulnerability/CVE-2026-31591 · JSON: https://cvemate.com/vulnerability/CVE-2026-31591/json

## Description

```text
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).
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.127%, percentile 2.521%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 125)

- chainguard linux-aws-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-azure-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-gcp-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-qemu-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-qemu-6.18 (Chainguard): \< 6.18.31-r0
- chainguard linux-qemu-6.18-bootc-boot-installed (Chainguard): \< 6.18.31-r0
- chainguard linux-vmware-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-vmware-6.18 (Chainguard): \< 6.18.31-r0
- debian linux (Debian): All versions (No fix recorded) \| \< 6.19.14-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-27.27
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1008.8
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/30fd9d8c82087742168db779929d8be0459b0716>
- <https://git.kernel.org/stable/c/4df77742e8b9a6b935bdf46f02fd0aca4d4ee7f5>
- <https://git.kernel.org/stable/c/c87938fc7d99a06a7e5477c45b4e5a4148f85d66>
- <https://git.kernel.org/stable/c/cb923ee6a80f4e604e6242a4702b59251e61a380>
- <https://ubuntu.com/security/CVE-2026-31591>
- <https://www.cve.org/CVERecord?id=CVE-2026-31591>
- <https://git.kernel.org/linus/cb923ee6a80f4e604e6242a4702b59251e61a380>
- <https://ubuntu.com/security/notices/USN-8488-1>
- <https://ubuntu.com/security/notices/USN-8488-2>
- <https://ubuntu.com/security/notices/USN-8507-1>
- <https://ubuntu.com/security/notices/USN-8569-1>
- <https://ubuntu.com/security/notices/USN-8603-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-31591>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31591>

---

Data as of 2026-12-06T04:10:32.444Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
