Xen Viridian Hypercall Input Validation Vulnerability on x86 HVM Guests

Vulnerability

A vulnerability exists in Xen hypervisors version 4.15 and newer, specifically affecting x86 HVM guests with Viridian enabled. This vulnerability arises from improper input validation in certain Viridian hypercalls that allow the specification of vCPU ID masks. All three input formats are affected, leading to out-of-bounds reads and writes. In the HV_VP_SET Sparse format, the vpmask_set() function can be tricked into writing outside of its allocated bounds. Additionally, any input format can cause the send_ipi() function to read beyond the intended memory range and operate on invalid vCPU pointers. The consequences of this vulnerability include potential information leaks, unauthorized privilege escalation, and a denial-of-service condition impacting the entire host.

Impact

Exploitation of this vulnerability can result in a denial-of-service condition affecting the entire host, information leaks, or unauthorized privilege escalation.

Remediation

To address this vulnerability, apply the patches available in the Xen Security Advisory XSA-475. For Xen versions 4.19.x to 4.17.x, use the patches labeled 'xsa475-4.19-?'. After applying the patches, downstreams are encouraged to update to the latest stable branch.

Added: Oct 31, 2025, 12:26 PM
Updated: Oct 31, 2025, 6:19 PM

Vulnerability Rating

Custom Algorithm
spread
6.6
impact
7.5
exploitability
3.3
remediation
7.9
relevance
0.8
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.