{"id":"CVE-2026-31591","summary":"KVM: SEV: Lock all vCPUs when synchronzing VMSAs for SNP launch finish","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SEV: Lock all vCPUs when synchronzing VMSAs for SNP launch finish\n\nLock all vCPUs when synchronizing and encrypting VMSAs for SNP guests, as\nallowing userspace to manipulate and/or run a vCPU while its state is being\nsynchronized would at best corrupt vCPU state, and at worst crash the host\nkernel.\n\nOpportunistically assert that vcpu-\u003emutex is held when synchronizing its\nVMSA (the SEV-ES path already locks vCPUs).","modified":"2026-06-24T09:14:25.482382353Z","published":"2026-04-24T14:42:18.276Z","related":["CGA-3453-2rpm-pjgh","SUSE-SU-2026:2482-1","SUSE-SU-2026:2591-1","openSUSE-SU-2026:10703-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31591.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/30fd9d8c82087742168db779929d8be0459b0716"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4df77742e8b9a6b935bdf46f02fd0aca4d4ee7f5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c87938fc7d99a06a7e5477c45b4e5a4148f85d66"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb923ee6a80f4e604e6242a4702b59251e61a380"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31591.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31591"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ad27ce155566f2b4400fa865859834592bd18777"},{"fixed":"30fd9d8c82087742168db779929d8be0459b0716"},{"fixed":"4df77742e8b9a6b935bdf46f02fd0aca4d4ee7f5"},{"fixed":"c87938fc7d99a06a7e5477c45b4e5a4148f85d66"},{"fixed":"cb923ee6a80f4e604e6242a4702b59251e61a380"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31591.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.18.24"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.20.0"},{"fixed":"7.0.1"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31591.json"}}],"schema_version":"1.7.5"}