CVE-2025-56301 Details
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.
A vulnerability exists in Chipsalliance Rocket-Chip in the Control and Status Register (CSR) logic, specifically in commit f517abb. This vulnerability allows for the corruption of exception handling and privilege state transitions. The issue arises from a flawed interaction between the exception handling mechanism and the MRET return process. When MRET is executed in machine mode without an active exception, it can trigger an Instruction Access Fault. This fault causes both the exception handling and return logic to activate simultaneously, leading to conflicting updates in the control and status registers. As a result, the exception handling flow is disrupted, causing improper execution of exception-related tasks, such as saving interrupt states.
To address this vulnerability, exception-triggering checks should be added to the MRET return logic to ensure that the return process only occurs when no exceptions are active.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1281 | Sequence of Processor Instructions Leads to Unexpected Behavior | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| chipsalliance rocket-chip | 2025-01-29 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 17, 2025 | Initial Analysis | [email protected] |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Sep 30, 2025 | New CVE Received | [email protected] |