{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ad27ce155566f2b4400fa865859834592bd18777"
            },
            {
              "fixed": "30fd9d8c82087742168db779929d8be0459b0716"
            },
            {
              "fixed": "4df77742e8b9a6b935bdf46f02fd0aca4d4ee7f5"
            },
            {
              "fixed": "c87938fc7d99a06a7e5477c45b4e5a4148f85d66"
            },
            {
              "fixed": "cb923ee6a80f4e604e6242a4702b59251e61a380"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31591.json"
  },
  "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).",
  "id": "CVE-2026-31591",
  "modified": "2026-07-15T01:49:22.431787117Z",
  "published": "2026-04-24T14:42:18.276Z",
  "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"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "KVM: SEV: Lock all vCPUs when synchronzing VMSAs for SNP launch finish"
}