CVE-2026-29649

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).
Configurations

Configuration 1 (hide)

cpe:2.3:a:xiangshan:nemu:-:*:*:*:*:*:*:*

History

11 Nov 2026, 19:10

Type Values Removed Values Added
Summary
  • (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).

24 Apr 2026, 19:23

Type Values Removed Values Added
CPE cpe:2.3:a:xiangshan:nemu:-:*:*:*:*:*:*:*
First Time Xiangshan nemu
Xiangshan
References () https://docs.riscv.org/reference/isa/priv/hypervisor.html - () https://docs.riscv.org/reference/isa/priv/hypervisor.html - Product
References () https://docs.riscv.org/reference/isa/priv/machine.html - () https://docs.riscv.org/reference/isa/priv/machine.html - Product
References () https://github.com/OpenXiangShan/NEMU/issues/681 - () https://github.com/OpenXiangShan/NEMU/issues/681 - Issue Tracking
References () https://github.com/OpenXiangShan/NEMU/pull/689 - () https://github.com/OpenXiangShan/NEMU/pull/689 - Issue Tracking, Patch

21 Apr 2026, 20:16

Type Values Removed Values Added
CWE CWE-693
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

20 Apr 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-20 20:16

Updated : 2026-11-11 19:10


NVD link : CVE-2026-29649

Mitre link : CVE-2026-29649

CVE.ORG link : CVE-2026-29649


JSON object : View

Products Affected

xiangshan

  • nemu
CWE
CWE-693

Protection Mechanism Failure