CVE-2026-143211 (GCVE-0-2026-143211)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:20 – Updated: 2026-12-04 03:31
VLAI
Title
ptp: kvm: x86: Leak clock_pair page if changing its encryption fails
Summary
In the Linux kernel, the following vulnerability has been resolved: ptp: kvm: x86: Leak clock_pair page if changing its encryption fails In a confidential guest, kvm_arch_ptp_init() shares the clock_pair page with the host using set_memory_decrypted(), and kvm_arch_ptp_exit() makes it private again with set_memory_encrypted() before freeing it. The untrusted host can make either call fail and leave the page shared. Both paths still free the page: the init error path with __free_page(), and kvm_arch_ptp_exit() after only a WARN_ON(). The page allocator can then hand a page the host can still access to an unrelated user. Leak the page in both cases instead, as was done for the same situation in commit b9fa16949d18 ("dma-direct: Leak pages on dma_set_decrypted() failure") and commit 03f5a999adba ("Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails").
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8648 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 143304277ffd538f7f022ecba9a75c75408a3d32 , < b9a2d8026946b676a37061b352f2b2493e046267 (git)
Affected: 6365ba64b4dbe8b59ddaeaa724b281f3787715d5 , < 2219a9aef37cbdf8fcb853d7d76c8749fb49658e (git)
Affected: 6365ba64b4dbe8b59ddaeaa724b281f3787715d5 , < 836710f7981b3c4acb137613973b57f97942962d (git)
Affected: 6365ba64b4dbe8b59ddaeaa724b281f3787715d5 , < d6cf2ad9172ced724bfcf12ff965573f60e43ecb (git)
Affected: 6365ba64b4dbe8b59ddaeaa724b281f3787715d5 , < 6a01fb125ba6474cb97f14b68fe5435d3cdd08e5 (git)
Affected: 5ea817f40dbb78dc8fe0b073b2d069eb721e32aa (git)
Affected: 5.15.175 , < 5.15.227 (semver)
Affected: 6.1.121 , < 6.2 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.4
Unaffected: 0 , < 6.4 (semver)
Unaffected: 5.15.227 , ≤ 5.15.* (semver)
Unaffected: 6.12.120 , ≤ 6.12.* (semver)
Unaffected: 6.18.66 , ≤ 6.18.* (semver)
Unaffected: 7.3.7 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/ptp/ptp_kvm_x86.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b9a2d8026946b676a37061b352f2b2493e046267",
              "status": "affected",
              "version": "143304277ffd538f7f022ecba9a75c75408a3d32",
              "versionType": "git"
            },
            {
              "lessThan": "2219a9aef37cbdf8fcb853d7d76c8749fb49658e",
              "status": "affected",
              "version": "6365ba64b4dbe8b59ddaeaa724b281f3787715d5",
              "versionType": "git"
            },
            {
              "lessThan": "836710f7981b3c4acb137613973b57f97942962d",
              "status": "affected",
              "version": "6365ba64b4dbe8b59ddaeaa724b281f3787715d5",
              "versionType": "git"
            },
            {
              "lessThan": "d6cf2ad9172ced724bfcf12ff965573f60e43ecb",
              "status": "affected",
              "version": "6365ba64b4dbe8b59ddaeaa724b281f3787715d5",
              "versionType": "git"
            },
            {
              "lessThan": "6a01fb125ba6474cb97f14b68fe5435d3cdd08e5",
              "status": "affected",
              "version": "6365ba64b4dbe8b59ddaeaa724b281f3787715d5",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "5ea817f40dbb78dc8fe0b073b2d069eb721e32aa",
              "versionType": "git"
            },
            {
              "lessThan": "5.15.227",
              "status": "affected",
              "version": "5.15.175",
              "versionType": "semver"
            },
            {
              "lessThan": "6.2",
              "status": "affected",
              "version": "6.1.121",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/ptp/ptp_kvm_x86.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.4"
            },
            {
              "lessThan": "6.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.227",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.66",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.227",
                  "versionStartIncluding": "5.15.175",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.120",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.66",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc3",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.1.121",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nptp: kvm: x86: Leak clock_pair page if changing its encryption fails\n\nIn a confidential guest, kvm_arch_ptp_init() shares the clock_pair page\nwith the host using set_memory_decrypted(), and kvm_arch_ptp_exit()\nmakes it private again with set_memory_encrypted() before freeing it.\n\nThe untrusted host can make either call fail and leave the page shared.\nBoth paths still free the page: the init error path with __free_page(),\nand kvm_arch_ptp_exit() after only a WARN_ON(). The page allocator can\nthen hand a page the host can still access to an unrelated user.\n\nLeak the page in both cases instead, as was done for the same situation\nin commit b9fa16949d18 (\"dma-direct: Leak pages on dma_set_decrypted()\nfailure\") and commit 03f5a999adba (\"Drivers: hv: vmbus: Leak pages if\nset_memory_encrypted() fails\")."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.3,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The attacker is the KVM host of a confidential guest. ptp_kvm_init() calls kvm_arch_ptp_init(), which shares one clock_pair page via set_memory_decrypted(); the host then forces kvm_arch_ptp_exit() because pvclock_get_pvti_cpu0_va() is NULL or KVM_HC_CLOCK_PAIRING returns -KVM_ENOSYS. No network protocol carries this fault.\nAC:L - The host sets the KVM CPUID signature but omits KVM_FEATURE_CLOCKSOURCE, so kvmclock_init() never calls pvclock_set_pvti_cpu0_va(), and then returns a failing TDVMCALL status from tdx_map_gpa() so tdx_enc_status_change_prepare() makes set_memory_encrypted() fail while clock_pair is still shared. Both steps are host-controlled and repeatable.\nPR:N - ptp_kvm_init() is a device_initcall with no credential or capability check (CONFIG_PTP_1588_CLOCK_KVM defaults to y). The host is outside the guest and needs no account inside it; it only answers CPUID, the KVM hypercall, and MapGPA.\nUI:N - With the driver built in, ptp_kvm_init() runs at boot and takes the kvm_arch_ptp_exit() error path solely because of host CPUID and MapGPA results. No guest user has to load a module, mount media, or open a file.\nS:C - Pre-fix kvm_arch_ptp_exit() free_page()s the clock_pair page after set_memory_encrypted() fails, returning a still-shared page to the buddy allocator and exposing later memory of every other guest authority across the TDX/SEV hardware boundary, as with an IOMMU bypass.\nC:H - tdx_enc_status_change_prepare() fails before __change_page_attr_set_clr(), so the direct map stays decrypted. The buddy allocator then places arbitrary later objects (slab, page cache, keys) on that page, which the host reads in plaintext.\nI:H - The recycled clock_pair page remains host-writable, so the host can modify whatever live kernel object the allocator puts there, including credentials or structures that hold function pointers.\nA:H - A private PTE for that still-shared PFN hits the TDX case in tdx_early_init() where a private mapping of a shared page shuts the guest down, and a host write into the recycled kernel object can oops the guest."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:31:02.941Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b9a2d8026946b676a37061b352f2b2493e046267"
        },
        {
          "url": "https://git.kernel.org/stable/c/2219a9aef37cbdf8fcb853d7d76c8749fb49658e"
        },
        {
          "url": "https://git.kernel.org/stable/c/836710f7981b3c4acb137613973b57f97942962d"
        },
        {
          "url": "https://git.kernel.org/stable/c/d6cf2ad9172ced724bfcf12ff965573f60e43ecb"
        },
        {
          "url": "https://git.kernel.org/stable/c/6a01fb125ba6474cb97f14b68fe5435d3cdd08e5"
        }
      ],
      "title": "ptp: kvm: x86: Leak clock_pair page if changing its encryption fails",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143211",
    "datePublished": "2026-12-03T09:20:32.707Z",
    "dateReserved": "2026-12-03T03:10:28.360Z",
    "dateUpdated": "2026-12-04T03:31:02.941Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143211",
      "date": "2026-12-04",
      "epss": "0.00236",
      "percentile": "0.15651"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-04T01:08:36.000Z",
      "cve": "CVE-2026-143211",
      "id": "msrc_CVE-2026-143211",
      "initial_release_date": "2026-12-03T18:50:45.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ptp: kvm: x86: Leak clock_pair page if changing its encryption fails",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-143211.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/ptp/ptp_kvm_x86.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "b9a2d8026946b676a37061b352f2b2493e046267",
                    "status": "affected",
                    "version": "143304277ffd538f7f022ecba9a75c75408a3d32",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2219a9aef37cbdf8fcb853d7d76c8749fb49658e",
                    "status": "affected",
                    "version": "6365ba64b4dbe8b59ddaeaa724b281f3787715d5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "836710f7981b3c4acb137613973b57f97942962d",
                    "status": "affected",
                    "version": "6365ba64b4dbe8b59ddaeaa724b281f3787715d5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d6cf2ad9172ced724bfcf12ff965573f60e43ecb",
                    "status": "affected",
                    "version": "6365ba64b4dbe8b59ddaeaa724b281f3787715d5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6a01fb125ba6474cb97f14b68fe5435d3cdd08e5",
                    "status": "affected",
                    "version": "6365ba64b4dbe8b59ddaeaa724b281f3787715d5",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "5ea817f40dbb78dc8fe0b073b2d069eb721e32aa",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5.15.227",
                    "status": "affected",
                    "version": "5.15.175",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.2",
                    "status": "affected",
                    "version": "6.1.121",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/ptp/ptp_kvm_x86.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.4"
                  },
                  {
                    "lessThan": "6.4",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.227",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.120",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.66",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nptp: kvm: x86: Leak clock_pair page if changing its encryption fails\n\nIn a confidential guest, kvm_arch_ptp_init() shares the clock_pair page\nwith the host using set_memory_decrypted(), and kvm_arch_ptp_exit()\nmakes it private again with set_memory_encrypted() before freeing it.\n\nThe untrusted host can make either call fail and leave the page shared.\nBoth paths still free the page: the init error path with __free_page(),\nand kvm_arch_ptp_exit() after only a WARN_ON(). The page allocator can\nthen hand a page the host can still access to an unrelated user.\n\nLeak the page in both cases instead, as was done for the same situation\nin commit b9fa16949d18 (\"dma-direct: Leak pages on dma_set_decrypted()\nfailure\") and commit 03f5a999adba (\"Drivers: hv: vmbus: Leak pages if\nset_memory_encrypted() fails\")."
          }
        ],
        "id": "CVE-2026-143211",
        "lastModified": "2026-12-04T04:17:43.150",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 9.3,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.5,
              "impactScore": 6.0,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-03T10:17:59.013",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2219a9aef37cbdf8fcb853d7d76c8749fb49658e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6a01fb125ba6474cb97f14b68fe5435d3cdd08e5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/836710f7981b3c4acb137613973b57f97942962d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b9a2d8026946b676a37061b352f2b2493e046267"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d6cf2ad9172ced724bfcf12ff965573f60e43ecb"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:57:36+00:00",
      "cve": "CVE-2026-143211",
      "id": "CVE-2026-143211",
      "initial_release_date": "2026-12-03T09:20:32.707000+00:00",
      "product_status:known_affected": "78",
      "product_status:known_not_affected": "202",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Information disclosure via unencrypted memory page reuse in KVM PTP driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143211.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.