Linux kernel memory disclosure via PTP KVM clock page
Affects Linux x86 confidential (memory-encrypted) guests using the ptp_kvm driver, which is built in by default. Fixed ranges listed: 5.15.227 and 6.2; the facts name no vendor rating.
- Exploited
- No known exploitation
- Fix
- Fixed in 5.15.227, 6.2
- Who is exposed
- Specific setups only
Summary
The Linux kernel, when running as a confidential guest, can free a memory page that a malicious host has kept shared if switching it back to private fails. The page allocator may then give that host-accessible page to an unrelated user, exposing or altering data. The bug is reached locally, without logging in or any user interaction.
Written by a model
Original description
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").
Who should check
Teams running x86 confidential guests (e.g. Intel TDX or AMD SEV) on Linux with the ptp_kvm driver built in, where the host is untrusted.
“In a confidential guest, kvm_arch_ptp_init() shares the clock_pair page”
What to do
Check whether your setup matches what the bug needs.
Guest is a confidential guest (memory encryption) on x86 using the ptp_kvm driver The untrusted host makes the page encryption state change fail, leaving the page shared ptp_kvm driver built in (CONFIG_PTP_1588_CLOCK_KVM defaults to y)Upgrade to a fixed version: 5.15.227, 6.2.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-143211 (ptp: kvm: x86: Leak clock_pair page if changing its encryption fails), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-143211 (entry last updated 2026-12-04):
Affected:
- Linux Linux: from 5.15.175, fixed in 5.15.227; from 6.1.121, fixed in 6.2
- Linux Linux: versions 6.4
Fixed versions: 5.15.227, 6.2.
Conditions (all must be true for the bug to be hit):
- Guest is a confidential guest (memory encryption) on x86 using the ptp_kvm driver (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b9a2d8026946b676a37061b352f2b2493e046267)
- The untrusted host makes the page encryption state change fail, leaving the page shared (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b9a2d8026946b676a37061b352f2b2493e046267)
- ptp_kvm driver built in (CONFIG_PTP_1588_CLOCK_KVM defaults to y) (source: https://www.cve.org/CVERecord?id=CVE-2026-143211)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: local access, no login, no user action.
CISA KEV: CVE-2026-143211 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-143211 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/b9a2d8026946b676a37061b352f2b2493e046267
- https://git.kernel.org/stable/c/2219a9aef37cbdf8fcb853d7d76c8749fb49658e
- https://git.kernel.org/stable/c/836710f7981b3c4acb137613973b57f97942962d
- https://git.kernel.org/stable/c/d6cf2ad9172ced724bfcf12ff965573f60e43ecb
- https://git.kernel.org/stable/c/6a01fb125ba6474cb97f14b68fe5435d3cdd08e5
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b9a2d8026946b676a37061b352f2b2493e046267
- https://www.cve.org/CVERecord?id=CVE-2026-143211
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-143211
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-143211"}.Affected versions
- Linux LinuxFrom 5.15.175 · fixed in 5.15.227; From 6.1.121 · fixed in 6.2
- Linux Linux6.4
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity9.3/10CVSS 9.3
- No patch0/5No signal
What would change the score
- Would score about 84 if added to CISA KEV
- Would score about 79 if CISA's SSVC rates exploitation active
- Would score about 44 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 7
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-143211 |
| Record | NVD · CVE-2026-143211 |
| Other links 5 | |
| Link | git.kernel.org · stable/c/b9a2d8026946b676a37061b352f2b2493e046267 |
| Link | git.kernel.org · stable/c/2219a9aef37cbdf8fcb853d7d76c8749fb49658e |
| Link | git.kernel.org · stable/c/836710f7981b3c4acb137613973b57f97942962d |
| Link | git.kernel.org · stable/c/d6cf2ad9172ced724bfcf12ff965573f60e43ecb |
| Link | git.kernel.org · stable/c/6a01fb125ba6474cb97f14b68fe5435d3cdd08e5 |
Questions about CVE-2026-143211
Is CVE-2026-143211 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
In a confidential guest, the ptp_kvm driver shares a page with the host. If the untrusted host makes the change back to encrypted fail, the guest frees the page while it is still shared. The allocator can then reuse it for other kernel data the host can read or modify, and the guest can crash.
Source: git.kernel.org, cve.org
Which versions are affected by CVE-2026-143211?
Linux: from 5.15.175 before 5.15.227; from 6.1.121 before 6.2. Linux: version 6.4.
Source: cve.now feed data
Am I affected, and how do I check?
The facts cover x86 confidential guests (memory encryption) that use the ptp_kvm driver, which is built in by default (CONFIG_PTP_1588_CLOCK_KVM defaults to y). Listed ranges run from 5.15.175 (fixed in 5.15.227) and from 6.1.121 (fixed in 6.2). To check, look at the kernel version with uname -r and the kernel config for CONFIG_PTP_1588_CLOCK_KVM.
Source: git.kernel.org, cve.org
How do I fix CVE-2026-143211?
Upgrade the kernel to a fixed version: 5.15.227 or later in the 5.15 series, or 6.2 or later for the other listed range. The facts give no workaround.
Source: git.kernel.org, cve.org
Related
- CVE-2026-143401net: virtio: validate outer protocol of UDP tunnel GSO packets
- CVE-2026-143400virtio_net: check RX buffer length before DMA sync
- CVE-2026-143399udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat()
- CVE-2026-143398Input: destroy force-feedback device on input unregistration
- CVE-2026-1433979p: use fc->net_ns for network namespace in RDMA and socket transports
- CVE-2026-143396net/9p/usbg: fix descriptor cleanup use-after-free
No corrections so far. Something wrong on this page? Report an error.