7.5high
x86: Incorrect input sanitisation in Viridian hypercalls
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.66% (higher than 46% of CVEs)
- Published
- Last changed
- Assigned by
- XEN
Description
[This CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Some Viridian hypercalls can specify a mask of vCPU IDs as an input, in one of three formats. Xen has boundary checking bugs with all three formats, which can cause out-of-bounds reads and writes while processing the inputs. * CVE-2025-58147. Hypercalls using the HV_VP_SET Sparse format can cause vpmask_set() to write out of bounds when converting the bitmap to Xen's format. * CVE-2025-58148. Hypercalls using any input format can cause send_ipi() to read d->vcpu[] out-of-bounds, and operate on a wild vCPU pointer.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Xen Xen | consult Xen advisory XSA-475, from 4.15.0 | CVE List, NVD |
Classification
What each source says
CVE List
[This CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Some Viridian hypercalls can specify a mask of vCPU IDs as an input, in one of three formats. Xen has boundary checking bugs with all three formats, which can cause out-of-bounds reads and writes while processing the inputs. * CVE-2025-58147. Hypercalls using the HV_VP_SET Sparse format can cause vpmask_set() to write out of bounds when converting the bitmap to Xen's format. * CVE-2025-58148. Hypercalls using any input format can cause send_ipi() to read d->vcpu[] out-of-bounds, and operate on a wild vCPU pointer.
NVD (es)
Este registro de información de CNA se relaciona con múltiples CVEs; el texto explica qué aspectos/vulnerabilidades corresponden a qué CVE. Algunas hiperllamadas de Viridian pueden especificar una máscara de IDs de vCPU como entrada, en uno de tres formatos. Xen tiene errores de comprobación de límites con los tres formatos, lo que puede causar lecturas y escrituras fuera de límites mientras procesa las entradas. * CVE-2025-58147. Las hiperllamadas que utilizan el formato HV_VP_SET Sparse pueden hacer que vpmask_set() escriba fuera de límites al convertir el mapa de bits al formato de Xen. * CVE-2025-58148. Las hiperllamadas que utilizan cualquier formato de entrada pueden hacer que send_ipi() lea d -> vcpu[] fuera de límites, y opere sobre un puntero vCPU no válido.
References
| https://xenbits.xenproject.org/xsa/advisory-475.html | patch, vendor-advisory | |
| http://xenbits.xen.org/xsa/advisory-475.html | patch, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/10/21/1 | mailing-list, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58148 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2025-58148 changed 2026-10-19 | Public domain |