x86/hyperv: Avoid using per-cpu output page in hv_apicid_to_vp_index()
Summary
| CVE | CVE-2026-99258 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-03 12:17:32 UTC |
| Updated | 2026-11-03 12:17:32 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 3d12349ade541eefde0e71bf5c4aa7aa04c52a79 bdba5f1b8bd0d18b1df61f769b559ed272902489 git |
Not specified |
| CNA |
Linux |
Linux |
affected 86c48271e0d60c82665e9fd61277002391efcef7 2b561786c9076a892ef8b8f416c9828bc87ed44f git |
Not specified |
| CNA |
Linux |
Linux |
affected 86c48271e0d60c82665e9fd61277002391efcef7 bc8ca0f4769627ae7d04e7ffdbd20de4f27a9bf9 git |
Not specified |
| CNA |
Linux |
Linux |
affected 86c48271e0d60c82665e9fd61277002391efcef7 7b74c117e2aac78e0f723e1c9c3644451c56b0d9 git |
Not specified |
| CNA |
Linux |
Linux |
affected cb002d6c8f06d6061e84b2109cb84416107a9fb9 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.12.41 6.12.115 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.15.3 6.16 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 6.16 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.16 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.115 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.59 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.13 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/bdba5f1b8bd0d18b1df61f769b559ed272902489 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2b561786c9076a892ef8b8f416c9828bc87ed44f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/7b74c117e2aac78e0f723e1c9c3644451c56b0d9 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/bc8ca0f4769627ae7d04e7ffdbd20de4f27a9bf9 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.