{
  "id": "CVE-2026-52959",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52959",
  "published_at": "2026-06-24T16:28:40.391Z",
  "title": "virt: sev-guest: Do not use host-controlled page order in cleanup path",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirt: sev-guest: Do not use host-controlled page order in cleanup path\n\nWhen issuing an extended guest request (SVM_VMGEXIT_EXT_GUEST_REQUEST),\nget_ext_report() allocates a buffer to retrieve a certificate blob from the\nhost, keeping track of its size in report_req-\u003ecerts_len.\n\nHowever, the host may return SNP_GUEST_VMM_ERR_INVALID_LEN, indicating\nan invalid buffer size, as well as the expected length of such buffer.\nget_ext_report() subsequently updates report_req-\u003ecerts_len with the\nhost-controlled value, and cleans up the buffer by computing a page order\nfrom such value. This is incorrect, as the host-provided length may not\nmatch the page order of the original allocation, potentially resulting\nin corruption in the page allocator.\n\nFix this by using alloc_pages_exact() instead, and reusing @npages to\ncompute the size passed to free_pages_exact(). For consistency, also\nuse @npages to compute the size when allocating the pages, even though\nthis last change has no functional effect.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 3e385c0d6ce88ac9916dcf84267bd5855d830748, \u003c 3f6fb0211b39aaa1b841260681dd02ca6b693ed5",
          "\u003e= 3e385c0d6ce88ac9916dcf84267bd5855d830748, \u003c 9e48b4f813d2c3db75d522aa82ab705ce04b7e2d",
          "\u003e= 3e385c0d6ce88ac9916dcf84267bd5855d830748, \u003c 23e6a1ca04ae44806439a5a446e62e4d42e80bb4",
          "0b16521f95c875e79d657cb8d6911c15080dbb80",
          "\u003e= 6.13.8, \u003c 6.14"
        ],
        "fixed_in": [
          "3f6fb0211b39aaa1b841260681dd02ca6b693ed5",
          "9e48b4f813d2c3db75d522aa82ab705ce04b7e2d",
          "23e6a1ca04ae44806439a5a446e62e4d42e80bb4",
          "6.14"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.14"
        ],
        "fixed_in": [
          "0",
          "6.18.33",
          "7.0.10",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 3f6fb0211b39aaa1b841260681dd02ca6b693ed5 or 9e48b4f813d2c3db75d522aa82ab705ce04b7e2d or 23e6a1ca04ae44806439a5a446e62e4d42e80bb4 or 6.14 or later.",
      "Upgrade Linux to 0 or 6.18.33 or 7.0.10 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
