CVE-2026-99258

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

Published Nov 3, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The kernel function hv_apicid_to_vp_index() incorrectly uses a per‑cpu hypercall output page that may not be allocated by the guest. This causes the hypervisor to write the mapped virtual processor index into memory that the guest has not reserved. The result can be a corruption of guest memory or exposure of memory contents that should remain protected, thereby subverting the guest’s confidentiality and integrity.

Affected Systems

All Linux kernel builds for x86 running on Hyper‑V that enable VTL2 or SEV‑SNP CoCo guest mode. The issue is present in any version of the Linux kernel containing the problematic hv_apicid_to_vp_index() implementation.

Risk and Exploitability

The CVSS score is 4.1, and the EPSS score is < 1%. The vulnerability is not listed in CISA’s KEV catalog. Exploitation would require the attacker to trigger the hv_apicid_to_vp_index() path while the guest is operating in VTL2 or SEV‑SNP CoCo mode. Because the flaw causes memory corruption that lacks a clear privilege‑escalation or persistence mechanism, the attack vector is likely local, requiring control over the guest kernel or the ability to influence hypervisor calls. The current lack of documented exploitation scripts or proof‑of‑concepts suggests moderate risk under typical usage.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a revision that replaces hv_apicid_to_vp_index() with logic that uses the input hypercall page for both input and output, eliminating the use of an unallocated output page.
  • If an immediate kernel update is not feasible, disable SEV‑SNP CoCo or VTL2 functionality in the Hyper‑V configuration to avoid the vulnerable code path.
  • Remove or disable the Hyper‑V guest module from the kernel if Hyper‑V support is unnecessary for your environment, thereby preventing the execution of the vulnerable function.

Generated by OpenCVE AI on November 5, 2026 at 16:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9166-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9173-2 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-665
CWE-788
Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-665
CWE-788
Type Values Removed Values Added
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.
Title x86/hyperv: Avoid using per-cpu output page in hv_apicid_to_vp_index()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 3, 2026, 11:40 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 3, 2026, 12:17 PM
Modified
Nov 3, 2026, 12:17 PM
Severity
Moderate
Public date
Nov 3, 2026, 11:25 AM