{"id":"CVE-2026-143211","state":"PUBLISHED","title":"ptp: kvm: x86: Leak clock_pair page if changing its encryption fails","description":"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\").","publishedAt":"2026-12-03T09:20:32.707Z","updatedAt":"2026-12-03T09:20:32.707Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"143304277ffd538f7f022ecba9a75c75408a3d32","status":"affected","lessThan":"b9a2d8026946b676a37061b352f2b2493e046267","versionType":"git"},{"version":"6365ba64b4dbe8b59ddaeaa724b281f3787715d5","status":"affected","lessThan":"2219a9aef37cbdf8fcb853d7d76c8749fb49658e","versionType":"git"},{"version":"6365ba64b4dbe8b59ddaeaa724b281f3787715d5","status":"affected","lessThan":"836710f7981b3c4acb137613973b57f97942962d","versionType":"git"},{"version":"6365ba64b4dbe8b59ddaeaa724b281f3787715d5","status":"affected","lessThan":"d6cf2ad9172ced724bfcf12ff965573f60e43ecb","versionType":"git"},{"version":"6365ba64b4dbe8b59ddaeaa724b281f3787715d5","status":"affected","lessThan":"6a01fb125ba6474cb97f14b68fe5435d3cdd08e5","versionType":"git"},{"version":"5ea817f40dbb78dc8fe0b073b2d069eb721e32aa","status":"affected","versionType":"git"},{"version":"5.15.175","status":"affected","lessThan":"5.15.227","versionType":"semver"},{"version":"6.1.121","status":"affected","lessThan":"6.2","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/ptp/ptp_kvm_x86.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/ptp/ptp_kvm_x86.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143211.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143211","state":"PUBLISHED","datePublished":"2026-12-03T09:20:32.707Z","dateUpdated":"2026-12-03T09:20:32.707Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.360Z"},"containers":{"cna":{"title":"ptp: kvm: x86: Leak clock_pair page if changing its encryption fails","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\")."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"143304277ffd538f7f022ecba9a75c75408a3d32","status":"affected","lessThan":"b9a2d8026946b676a37061b352f2b2493e046267","versionType":"git"},{"version":"6365ba64b4dbe8b59ddaeaa724b281f3787715d5","status":"affected","lessThan":"2219a9aef37cbdf8fcb853d7d76c8749fb49658e","versionType":"git"},{"version":"6365ba64b4dbe8b59ddaeaa724b281f3787715d5","status":"affected","lessThan":"836710f7981b3c4acb137613973b57f97942962d","versionType":"git"},{"version":"6365ba64b4dbe8b59ddaeaa724b281f3787715d5","status":"affected","lessThan":"d6cf2ad9172ced724bfcf12ff965573f60e43ecb","versionType":"git"},{"version":"6365ba64b4dbe8b59ddaeaa724b281f3787715d5","status":"affected","lessThan":"6a01fb125ba6474cb97f14b68fe5435d3cdd08e5","versionType":"git"},{"version":"5ea817f40dbb78dc8fe0b073b2d069eb721e32aa","status":"affected","versionType":"git"},{"version":"5.15.175","status":"affected","lessThan":"5.15.227","versionType":"semver"},{"version":"6.1.121","status":"affected","lessThan":"6.2","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/ptp/ptp_kvm_x86.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/ptp/ptp_kvm_x86.c"]}],"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"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:32.707Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.175","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"7.4-rc3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.121"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}