AZL-118349: CVE-2026-143211 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ptp: kvm: x86: Leak clockpair page if changing its encryption fails
In a confidential guest, kvmarchptpinit() shares the clockpair page with the host using setmemorydecrypted(), and kvmarchptpexit() makes it private again with setmemoryencrypted() 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 freepage(), and kvmarchptpexit() after only a WARNON(). 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 dmasetdecrypted() failure") and commit 03f5a999adba ("Drivers: hv: vmbus: Leak pages if setmemoryencrypted() fails").
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
The issue applies to confidential guests using the KVM PTP clock-pair support on x86, where a host participates in changing the clock_pair page between private and shared encryption states. The described risk depends on an untrusted host being able to cause those memory-encryption state changes to fail.
What does an attacker need to do to trigger the problem?
An untrusted host must cause set_memory_decrypted() during initialization or set_memory_encrypted() during teardown to fail. Before the fix, either failure path could free a page that remained shared with, and accessible to, the host.
What is the impact if exploitation succeeds?
A clock_pair page that is still shared with the host can be returned by the page allocator for unrelated use. This can expose data subsequently placed in that page to the untrusted host.
What mitigation is described when the encryption-state change fails?
The resolved behavior is to leak the page rather than free it when changing its encryption state fails. This prevents the allocator from reusing a page that may still be accessible to the host.