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.
https://github.com/OpenXiangShan/XiangShan/pull/3978
https://github.com/OpenXiangShan/NEMU/issues/691
https://docs.riscv.org/reference/isa/priv/smstateen.html#state-enable-0-registers