9.8critical
NEMU contains an implementation flaw in its RISC-V Hypervisor CSR handling where henvcfg[7:4] (CBIE/CBCFE/CBZE-related fields) is incorrect…
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.69% (higher than 48% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
Description
NEMU contains an implementation flaw in its RISC-V Hypervisor CSR handling where henvcfg[7:4] (CBIE/CBCFE/CBZE-related fields) is incorrectly masked/updated based on menvcfg[7:4], so a machine-mode write to menvcfg can implicitly modify the hypervisor's environment configuration. This can lead to incorrect enforcement of virtualization configuration and may cause unexpected traps or denial of service when executing cache-block management instructions in virtualized contexts (V=1).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| xiangshan nemu | Not specified | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
NEMU contains an implementation flaw in its RISC-V Hypervisor CSR handling where henvcfg[7:4] (CBIE/CBCFE/CBZE-related fields) is incorrectly masked/updated based on menvcfg[7:4], so a machine-mode write to menvcfg can implicitly modify the hypervisor's environment configuration. This can lead to incorrect enforcement of virtualization configuration and may cause unexpected traps or denial of service when executing cache-block management instructions in virtualized contexts (V=1).
NVD (es)
NEMU contiene un fallo de implementación en su manejo de CSR del hipervisor RISC-V donde henvcfg[7:4] (campos relacionados con CBIE/CBCFE/CBZE) se enmascara/actualiza incorrectamente basándose en menvcfg[7:4], por lo que una escritura en modo máquina a menvcfg puede modificar implícitamente la configuración del entorno del hipervisor. Esto puede llevar a una aplicación incorrecta de la configuración de virtualización y puede causar trampas inesperadas o denegación de servicio al ejecutar instrucciones de gestión de bloques de caché en contextos virtualizados (V=1).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-29649 changed 2026-04-21 | CVE Terms of Use |
| NVD | CVE-2026-29649 changed 2026-11-11 | Public domain |