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").
https://git.kernel.org/stable/c/d6cf2ad9172ced724bfcf12ff965573f60e43ecb
https://git.kernel.org/stable/c/b9a2d8026946b676a37061b352f2b2493e046267
https://git.kernel.org/stable/c/836710f7981b3c4acb137613973b57f97942962d
https://git.kernel.org/stable/c/6a01fb125ba6474cb97f14b68fe5435d3cdd08e5
https://git.kernel.org/stable/c/2219a9aef37cbdf8fcb853d7d76c8749fb49658e