Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Chipsalliance | Rocket-Chip | 2025-01-29 |
Related Weaknesses (CWE)
References
- https://github.com/chipsalliance/rocket-chipProduct
- https://github.com/chipsalliance/rocket-chip/blob/f517abbf41abb65cea37421d3559f9Product
- https://github.com/chipsalliance/rocket-chip/blob/master/src/main/scala/rocket/CProduct
- https://github.com/heyfenny/Vulnerability_disclosure/blob/main/RISCV/Rocket-chipExploitThird Party Advisory
- https://lf-riscv.atlassian.net/wiki/spaces/HOME/pages/16154769/RISC-V+Technical+Product
FAQ
What is CVE-2025-56301?
CVE-2025-56301 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2025-56301?
CVE-2025-56301 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-56301?
Check the references section above for vendor advisories and patch information. Affected products include: Chipsalliance Rocket-Chip.