A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
A local attacker who can execute privileged CSR operations (or can induce firmware to do so) performs carefully crafted reads/writes to menvcfg (e.g., csrrs in M-mode). On affected XiangShan versions (commit aecf601e803bfd2371667a3fb60bfcd83c333027, 2024-11-19), these menvcfg accesses can unexpectedly set WPRI (reserved) bits in the status view (xstatus) to 1. RISC-V defines WPRI fields as "writes preserve values, reads ignore values," i.e., they must not be modified by software manipulating other fields, and menvcfg itself contains multiple WPRI fields.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- docs.riscv.org /reference/isa/priv/machine.html
- docs.riscv.org /reference/isa/priv/priv-csrs.html
- github.com /OpenXiangShan/XiangShan/commit/5e3dd63
- github.com /OpenXiangShan/XiangShan/issues/3934
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning