Vulnerability

CVE-2025-56301

highCVSS 3.1 7.5Published 30 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

An issue was discovered in Chipsalliance Rocket-Chip commit f517abbf41abb65cea37421d3559f9739efd00a9 (2025-01-29) allowing attackers to corrupt exception handling and privilege state transitions via a flawed interaction between exception handling and MRET return mechanisms in the CSR logic when an exception is triggered during MRET execution. The Control and Status Register (CSR) logic has a flawed interaction between exception handling and exception return (MRET) mechanisms which can cause faulty trap behavior. When the MRET instruction is executed in machine mode without being in an exception state, an Instruction Access Fault may be triggered. This results in both the exception handling logic and the exception return logic activating simultaneously, leading to conflicting updates to the control and status registers.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Chipsalliance rocket-chip

Weakness type

References

  • github.com /chipsalliance/rocket-chip
  • github.com /chipsalliance/rocket-chip/blob/f517abbf41abb65cea37421d355…
  • github.com /chipsalliance/rocket-chip/blob/master/src/main/scala/rocke…
  • github.com /heyfenny/Vulnerability_disclosure/blob/main/RISCV/Rocket-c…
  • lf-riscv.atlassian.net /wiki/spaces/HOME/pages/16154769/RISC-V+Technical+Specifica…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning