Home
Description
In OpenXiangShan NEMU, insufficient Smstateen permission enforcement allows lower-privileged code to access IMSIC state via stopei/vstopei CSRs even when mstateen0.IMSIC is cleared, potentially enabling cross-context information leakage or disruption of interrupt handling.
References
github.com/OpenXiangShan/NEMU/issues/691
github.com/OpenXiangShan/NEMU/issues/691
github.com/OpenXiangShan/XiangShan/pull/3978
docs.riscv.org/reference/isa/priv/smstateen.html