CVEvulnerability
CVE-2026-29649
9.8 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2026-04-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-693
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 configurations
• xiangshan nemu
Related
Weakness · CWE (1)
- CWE-693 Protection Mechanism Failure weakness
References
- https://docs.riscv.org/reference/isa/priv/hypervisor.html Product
- https://docs.riscv.org/reference/isa/priv/machine.html Product
- https://github.com/OpenXiangShan/NEMU/issues/681 Issue Tracking
- https://github.com/OpenXiangShan/NEMU/pull/689 Issue Tracking, Patch