CVE-2026-29642: Xiangshan Dte Sdt Isolation Bypass

The hardware logic improperly uses `menvcfg.DTE` to gate writes and reads for the machine-mode `mstatus.SDT` register. `menvcfg.DTE` should only control the supervisor mode alias `sstatus.SDT`. This improper hardware state isolation causes WPRI (writes preserve values, reads ignore values) violations and incorrectly impacts M-mode execution, allowing attacke

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Scala
greprules fetch cve-2026-29642-xiangshan-dte-sdt-isolation-bypass --engine opengrep

Description

The hardware logic improperly uses `menvcfg.DTE` to gate writes and reads for the machine-mode `mstatus.SDT` register. `menvcfg.DTE` should only control the supervisor mode alias `sstatus.SDT`. This improper hardware state isolation causes WPRI (writes preserve values, reads ignore values) violations and incorrectly impacts M-mode execution, allowing attacke