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.
History

Thu, 02 Oct 2025 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Chipsalliance
Chipsalliance rocket-chip
Vendors & Products Chipsalliance
Chipsalliance rocket-chip

Wed, 01 Oct 2025 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1281
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 30 Sep 2025 15:00:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2025-09-30T00:00:00.000Z

Updated: 2025-10-01T19:53:58.842Z

Reserved: 2025-08-16T00:00:00.000Z

Link: CVE-2025-56301

cve-icon Vulnrichment

Updated: 2025-10-01T19:53:50.543Z

cve-icon NVD

Status : Received

Published: 2025-09-30T15:15:52.040

Modified: 2025-10-01T20:18:36.447

Link: CVE-2025-56301

cve-icon Redhat

No data.