ptp: kvm: x86: Leak clock_pair page if changing its encryption fails
- CVE-2026-143211
- GHSA-vwmw-95v6-gfx7
- EUVD-2026-142861
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").
Text from the CVE.org record.
Recommendation
Linux
- If you run a version from 6.1.121 to before 6.2update to 6.2 or laterMinor version change: check the release notes
- If you run 5.15.xupdate to 5.15.227 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.1.121 to before 6.2 6.2 from 5.15.175 to before 5.15.227 5.15.227 6.4 none stated before 6.4: not affected none stated from 5.15.227 up to 5.15.*: not affected none stated from 6.12.120 up to 6.12.*: not affected none stated from 6.18.66 up to 6.18.*: not affected none stated from 7.3.7 up to 7.3.*: not affected none stated and 1 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.