x86/hyperv: Avoid using per-cpu output page in hv_apicid_to_vp_index()

State
Published
Severity
Not Scored
Published
Nov 3, 2026
Updated
Nov 3, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

x86/hyperv: Avoid using per-cpu output page in hv_apicid_to_vp_index()

hv_apicid_to_vp_index() currently uses the per-cpu hypercall input and output pages. This function is called when running in VTL2 and when running in an SEV-SNP CoCo VM with no paravisor. In the former case, the output page is allocated, but in the latter case it is not, so the hypervisor stores the output VP index in memory that has not been allocated by the guest.

Fix this by using the input page for both input and output. The hypercall has very small input and output, so sharing the same page for both is straightforward. An alternative fix is to allocate the per-cpu output page when running in an SEV-SNP CoCo guest, but this uses significantly more memory, particularly with larger vCPUs counts.

ProductVersions
Linux Linux3d12349ade541eefde0e71bf5c4aa7aa04c52a79 to before bdba5f1b8bd0d18b1df61f769b559ed272902489 Affected86c48271e0d60c82665e9fd61277002391efcef7 to before 2b561786c9076a892ef8b8f416c9828bc87ed44f Affected86c48271e0d60c82665e9fd61277002391efcef7 to before bc8ca0f4769627ae7d04e7ffdbd20de4f27a9bf9 Affected86c48271e0d60c82665e9fd61277002391efcef7 to before 7b74c117e2aac78e0f723e1c9c3644451c56b0d9 Affectedcb002d6c8f06d6061e84b2109cb84416107a9fb9 Affected6.12.41 to before 6.12.115 Affected6.15.3 to before 6.16 Affected
Linux Linux6.16 Affectedbefore 6.16 Not Affected6.12.115 through 6.12.* Not Affected6.18.59 through 6.18.* Not Affected7.2.13 through 7.2.* Not Affected7.3 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.