Policy-Driven Kernel Extension Loading With Integrity Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing loadable kernel extensions in cloud and server systems face security vulnerabilities due to implicit trust, leading to potential compromises in data processing systems, with limited protection against untrusted software and complex access privileges.

Innovation Solution

Implement a policy-driven approach that includes validating kernel extension metadata against an allowlist and blocklist, performing integrity measurements, and ensuring signature verification to control access and loading of extensions, with policy-based restrictions at load-time and run-time.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If kernel extensions are implicitly trusted to maintain high security standards, then system security is maintained, but the system becomes vulnerable to untrusted software compromising the kernel

Engineering Contradiction:
Improvekernel securityVSAvoidvulnerability to untrusted software
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent applies preliminary action by performing integrity measurements and policy validations on kernel extensions before they are loaded into the kernel space. The system measures the integrity of extension code and validates metadata against policies in advance, ensuring that only trusted extensions are loaded, thereby preventing security vulnerabilities before they can compromise the kernel

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary validation mechanism that acts as a mediator between user space and kernel space. This intermediary layer verifies extension integrity and enforces policies, creating a security buffer that prevents direct trust relationships and blocks untrusted software from compromising the kernel

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If policy validation and integrity measurements are performed on all kernel extensions, then security is enhanced, but system latency increases

Engineering Contradiction:
Improveextension trustworthinessVSAvoidextension loading latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs integrity measurements and policy validations in advance during the extension loading process, before the extension is executed. By completing security checks preliminarily, the system ensures that extensions are verified once during loading rather than continuously during execution, reducing overall latency while maintaining security

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies partial action by performing validation and integrity measurements selectively based on policy requirements. The system validates metadata and measures integrity only when necessary according to the configured policies, avoiding unnecessary validation overhead for trusted extensions while maintaining security for untrusted ones

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20250252221A1Policy-driven kernel extension security
Publication Date: 2025.08.07 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20250252221A1 patent drawing
  • US20250252221A1 patent drawing
  • US20250252221A1 patent drawing

AI summary

A computer-implemented method (CIM), according to one embodiment, includes receiving, at a kernel space of a data processing system, from a user space, a policy, a kernel extension code, and metadata associated with the kernel extension code. The metadata describes at least one type of attachment point in the kernel space, and the policy includes an allowlist and a blocklist of metadata for the attachment points. The method further includes validating the metadata against the policy, and performing an integrity measurement on the kernel extension code. In response to a determination that the metadata is validated against the policy and the integrity measurement is verified, the kernel extension code is loaded in the kernel space.