Historical Pattern Filtering for Speculative Memory Accesses

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern processors are vulnerable to speculative and out-of-order processing vulnerabilities, such as cache line loading due to untrusted data, leading to potential information leaks and unwanted operations.

Innovation Solution

A computer program product that includes a filter to detect and delay events inconsistent with a historical pattern of events, determining their validity before proceeding, thereby preventing malicious memory accesses and other events.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If speculative and out-of-order processing is implemented to improve processing speed, then productivity increases, but security vulnerabilities arise allowing malicious memory accesses and information leaks

Engineering Contradiction:
Improveprocessing speedVSAvoidsecurity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary actions by checking historical access patterns and validating memory access requests before they are executed. A filter mechanism monitors and validates memory access patterns in advance, comparing them against established historical patterns to prevent malicious accesses before they can compromise security.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

An intermediary filter mechanism is introduced between the speculative execution unit and the memory system. This filter acts as a mediator that validates memory access requests by comparing them against historical patterns, allowing legitimate accesses to proceed while blocking malicious ones, thus resolving the contradiction between maintaining processing speed and ensuring security.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If memory accesses are delayed to validate consistency with historical patterns, then security improves, but processing time increases

Engineering Contradiction:
ImprovesecurityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system applies partial validation by checking only critical aspects of memory access patterns against historical data. Rather than performing complete validation of all access parameters, the filter focuses on key characteristics that distinguish malicious from legitimate accesses, reducing validation time while maintaining security effectiveness.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The filter mechanism allows legitimate memory accesses that match historical patterns to skip validation and proceed immediately without delay. Only accesses that deviate from established patterns are subjected to validation checks, enabling the system to rush through valid operations while still securing against malicious ones.

Inventive Principle:
Principle #21Skipping (Rushing through)

Data Source

PatentEP4031998B1Preventing historical pattern inconsistent speculative accesses in a computing environment
Publication Date: 2025.12.17 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • EP4031998B1 patent drawingFigure 1
  • EP4031998B1 patent drawingFigure 2
  • EP4031998B1 patent drawingFigure 3

AI summary

Detecting and preventing selected events within a computing environment. A determination is made as to whether a selected event of the computing environment is consistent with a historical pattern of selected events of the computing environment. Based on determining the selected event is inconsistent with the historical pattern of selected events, processing associated with the selected event is delayed. Based on delaying processing associated with the selected event, a determination is made as to whether the selected event is valid. Based on determining that the selected event is valid, processing associated with the selected event is resumed.