CWEweakness
CWE-1264 Hardware Logic with Insecure De-Synchronization between Control and Data Channels
- Abstraction
- Base
- Structure
- Simple
- Status
- Incomplete
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The hardware logic for error handling and security checks can incorrectly forward data before the security check is complete.
Extended description
Many high-performance on-chip bus protocols and processor data-paths employ separate channels for control and data to increase parallelism and maximize throughput. Bugs in the hardware logic that handle errors and security checks can make it possible for data to be forwarded before the completion of the security checks. If the data can propagate to a location in the hardware observable to an attacker, loss of data confidentiality can occur.
'Meltdown' is a concrete example of how de-synchronization between data and permissions checking logic can violate confidentiality requirements. Data loaded from a page marked as privileged was returned to the CPU regardless of current privilege level for performance reasons. The assumption was that the CPU could later remove all traces of this data during the handling of the illegal memory access exception, but this assumption was proven false as traces of the secret data were not removed from the microarchitectural state.
Common consequences
• Confidentiality: Read Memory, Read Application Data
Potential mitigations
• [Architecture and Design] Thoroughly verify the data routing logic to ensure that any error handling or security checks effectively block illegal dataflows.
Observed examples
• CVE-2017-5754: Systems with microprocessors utilizing speculative execution and indirect branch prediction may allow unauthorized disclosure of information to an attacker with local user access via a side-channel analysis of the data cache.
Related
Attack pattern · CAPEC (2)
Observed example · CVE (1)
- CVE-2017-5754 Systems with microprocessors utilizing speculative execution and indirect branch prediction may allow unauthorized disclosure of… vulnerability
Child of · CWE (1)
- CWE-821 Incorrect Synchronization weakness
Peer of · CWE (1)
- CWE-1037 Processor Optimization Removal or Modification of Security-critical Code weakness
Referenced by CAPEC · weakness (2)
Referenced by CVE · weakness (2)
- CVE-2024-21823 Hardware logic with insecure de-synchronization in Intel(R) DSA and Intel(R) IAA for some Intel(R) 4th or 5th generation Xeon(R) processors… vulnerability
- CVE-2022-41588 The home screen module has a vulnerability in service logic processing.Successful exploitation of this vulnerability may affect data… vulnerability
Referenced by CWE · overlaps (1)
- CWE-1476 Improper Request Propagation before Data Reception in Write Transactions in a Bus Architecture weakness