# US 2008/0301440 A1 · Updateable Secure Kernel Extensions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0301440 A1
- Document ID: US20080301440A1
- Status: Published application
- Kind: A1
- Application number: 11/754,658
- Filed: 2007-05-29
- Published: 2008-12-04
- Earliest claimed: 2007-05-29
- Assignees: International Business Machines Corporation
- Inventors: Wilfred E. Plouffe, JR.; Kanna Shimizu; Vladimir Zbarsky
- Web page: https://patentgrep.com/patent/US20080301440A1

## CPC

- G06F 21/575: {Secure boot}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 2221/2143: Clearing memory, e.g. to prevent the data from being stolen
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, computer program product, and data processing system for providing an updateable encrypted operating kernel are disclosed. In a preferred embodiment, secure initialization hardware decrypts a minimal secure kernel containing sensitive portions of data and/or code into a portion of the processor-accessible memory space, from which the kernel is executed. Most system software functions are not directly supported by the secure kernel but are provided by dynamically loaded kernel extensions that are encrypted with a public key so that they can only be decrypted with a private key possessed by the secure kernel. The public/private key pair is processor-specific. Before passing control to a kernel extension the secure kernel deletes a subset of its sensitive portions, retaining only those sensitive portions needed to perform the task(s) delegated to the kernel extension. Which sensitive portions are retained is determined by a cryptographic key with which the kernel extension is signed.

## Claims

### Claim 1

A computer-implemented method comprising:
executing a secure kernel in a data processing system, wherein the secure kernel includes a plurality of sensitive portions, and wherein the executing includes
loading a kernel extension, wherein the kernel extension is associated with a cryptographic key;
selecting a subset of the plurality of sensitive portions based on the cryptographic key;
deleting said subset; and
transferring control to the kernel extension subsequent to said deleting.

### Claim 2 (depends on 1)

The method of claim 1, wherein the kernel extension is signed with a digital signature using the cryptographic key.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
validating the digital signature using the cryptographic key.

### Claim 4 (depends on 1)

The method of claim 1, wherein the cryptographic key is one of a plurality of pre-defined keys and each of the plurality of pre-defined keys is associated with one or more of the plurality of sensitive portions.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
in response to the kernel extension returning control to the secure kernel, deleting a remainder of the plurality of sensitive portions.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
decrypting the kernel extension.

### Claim 7 (depends on 1)

The method of claim 1, wherein the cryptographic key is a public key in a public key cryptosystem.

### Claim 8

A computer program product in a computer-readable medium comprising:
one or more sensitive portions of data or instruction code;
instructions for loading a kernel extension, wherein the kernel extension is associated with a cryptographic key;
instructions for selecting a subset of the plurality of sensitive portions based on the cryptographic key;
instructions for deleting said subset; and
instructions for transferring control to the kernel extension subsequent to said deleting.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the kernel extension is signed with a digital signature using the cryptographic key.

### Claim 10 (depends on 8)

The computer program product of claim 8, further comprising:
instructions for validating the digital signature using the cryptographic key.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein the cryptographic key is one of a plurality of pre-defined keys and each of the plurality of pre-defined keys is associated with one or more of the plurality of sensitive portions.

### Claim 12 (depends on 8)

The computer program product of claim 8, further comprising:
instructions, responsive to a return to executing said computer program product from execution of the kernel extension, for deleting a remainder of the plurality of sensitive portions.

### Claim 13 (depends on 8)

The computer program product of claim 8, further comprising:
instructions for decrypting the kernel extension.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the cryptographic key is a public key in a public key cryptosystem.

### Claim 15

A data processing system comprising:
initialization hardware;
a processor datapath;
memory accessible to the processor datapath and the initialization hardware; and
non-volatile storage containing an encrypted copy of a secure kernel having a plurality of sensitive portions, wherein
the initialization hardware, on initialization of the data processing system, decrypts the encrypted copy into the memory,
the processor datapath executes the secure kernel from the memory,
the processing datapath loads a kernel extension into the memory, wherein the kernel extension is associated with a cryptographic key, and
prior to transferring control of the processor datapath from the secure kernel to the kernel extension, the secure kernel deletes a subset of the plurality of sensitive portions, where the subset is determined by the cryptographic key.

### Claim 16 (depends on 15)

The data processing system of claim 15, wherein the kernel extension is signed with a digital signature using the cryptographic key.

### Claim 17 (depends on 15)

The data processing system of claim 15, wherein the processor datapath executes instructions in the secure kernel for validating the digital signature using the cryptographic key.

### Claim 18 (depends on 15)

The data processing system of claim 15, wherein the cryptographic key is one of a plurality of pre-defined keys and each of the plurality of pre-defined keys is associated with one or more of the plurality of sensitive portions.

### Claim 19 (depends on 15)

The data processing system of claim 15, wherein the processor data path deletes a remainder of the plurality of sensitive portions upon transfer of control flow from the kernel extension.

### Claim 20 (depends on 15)

The data processing system of claim 15, wherein the processor datapath executes instructions in the secure kernel for decrypting the kernel extension.
