A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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 products
From the NVD's configuration data (CPE), vendor first.
- Xiangshan nemu
Weakness type
References
- docs.riscv.org /reference/isa/priv/hypervisor.html
- docs.riscv.org /reference/isa/priv/machine.html
- github.com /OpenXiangShan/NEMU/issues/681
- github.com /OpenXiangShan/NEMU/pull/689
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning