# US 2025/0165414 A1 · System and method for on-demand separated i/o channels

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

- Number: US 2025/0165414 A1
- Document ID: US20250165414A1
- Status: Published application
- Kind: A1
- Application number: 18/841,843
- Filed: 2023-03-07
- Published: 2025-05-22
- Earliest claimed: 2022-03-15
- Assignees: Carnegie Mellon University
- Applicants: Carnegie Mellon University
- Inventors: Miao Yu; Virgil Gilgor
- Web page: https://patentgrep.com/patent/US20250165414A1

## CPC

- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- G06F 13/20: for access to input/output bus
- G06F 2213/40: Bus coupling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein is a system and method to provide secured I/O channels for multiple types of I/O devices to isolated applications, on-demand. The invention enables composition of different I/O kernels and, as such, eliminates developer effort required to re-implement and re-verify new I/O kernels to protect multiple types of I/O devices.

## Claims

### Claim 1

A system for providing on-demand, secured I/O channels between multiple types of I/O devices and one or more isolated applications comprising:
one or more processors;
one or more input/output devices in communication with at least one of the processors;
memory, connected to the one or more processors; and
computer-readable instructions, which when executed by the one or more processors cause the creation of an environment executing on the processor, comprising:
one or more operating systems;
an execution environment isolation component;
an I/O composition kernel component;
one or more I/O separation modules; and
one or more of the isolated applications;
wherein the environment creates the secured I/O channels.

### Claim 2 (depends on 1)

The system of claim 1 wherein the environment further comprises:
one or more untrusted applications executing on top of the one or more operating systems.

### Claim 3 (depends on 1)

The system of claim 1 wherein the isolated applications execute on top of the I/O composition kernel component, in the I/O composition kernel component, in the execution environment isolation component, or in one or more of the I/O separation modules.

### Claim 4 (depends on 1)

The system of claim 1 wherein the I/O separation modules execute on top of the I/O composition kernel component, in the I/O composition kernel component, in the execution environment isolation component, or in one or more of the isolated applications.

### Claim 5 (depends on 1)

The system of claim 1 wherein the execution environment isolation component creates one or more domains, each domain including a subset of:
processor contents; and
one or more regions of memory reserved for exclusive use of a secure domain.

### Claim 6 (depends on 4)

The system of claim 4 wherein the execution environment isolation component partitions the memory into a plurality of domains separated from the execution environment isolation component and any I/O devices associated therewith, the plurality of domains including:
one or more secure domains for the exclusive use of the I/O composition kernel component, the I/O separation modules, the isolated applications, and any associated I/O devices; and
one or more untrusted domains for the exclusive use of the operating systems, any untrusted applications, and any associated I/O devices.

### Claim 7 (depends on 6)

The system of claim 6 wherein the execution environment isolation component provides interfaces to secure domains and untrusted domains.

### Claim 8 (depends on 6)

The system of claim 6 wherein the execution environment isolation further supports the I/O composition kernel component to intercept hardware resource accesses issued by any domains.

### Claim 9 (depends on 6)

The system of claim 6 wherein the execution environment isolation further supports secure domains to intercept hardware resource accesses issued by untrusted domains.

### Claim 10 (depends on 6)

The system of claim 6 wherein the execution environment isolation component performs the functions of:
creating one or more secure domains;
mapping the I/O composition kernel component, the isolated applications and the I/O separation modules to the one or more secure domains; and
assigning I/O devices required by the I/O composition kernel component, the isolated applications and the I/O separation modules to the one or more secure domains.

### Claim 11 (depends on 10)

The system of claim 10 wherein the execution environment isolation component performs the further functions of:
creating one or more untrusted domains;
mapping the operating systems and the untrusted applications to the one or more untrusted domains; and
assigning I/O devices required by the operating systems or the untrusted applications to the one or more untrusted domains.

### Claim 12 (depends on 6)

The system of claim 6 wherein the execution environment isolation component employs a plurality of security primitives to:
control which of the domains can access which memory regions;
control which of the domains can access which I/O devices; and
control which of the I/O devices can perform direct memory access operations to which memory regions.

### Claim 13 (depends on 2)

The system of claim 2 wherein the I/O composition kernel component is isolated from the operating systems and the untrusted applications.

### Claim 14 (depends on 13)

The system of claim 13 wherein the I/O composition kernel component authorizes all accesses for I/O devices issued by the operating systems and the untrusted applications.

### Claim 15 (depends on 14)

The system of claim 14 wherein the I/O composition kernel component comprises:
an I/O separation composition component for authorizing accesses to hardware resources by the secure processes, the operating systems and the untrusted applications; and
a kernel/process communications component for processing communications related to the I/O composition kernel component and the secure processes.

### Claim 16 (depends on 15)

The system of claim 15 wherein the communications include OS-IOCK communications, inter-secure process communications, and delivery of signals and interrupts to secure processes.

### Claim 17 (depends on 15)

The system of claim 15, the I/O composition kernel further comprising:
a processes component for managing the secure processes of the isolated applications and the I/O separation modules.

### Claim 18 (depends on 17)

The system of claim 17 wherein the managing includes storing information about the secure processes.

### Claim 19 (depends on 15)

The system of claim 15, the I/O composition kernel further comprising a yield-to-OS component for preserving compatibility with the operating systems and the untrusted applications due to preempting the execution of the untrusted applications on the processors.

### Claim 20 (depends on 2)

The system of claim 2 wherein the I/O separation modules are scheduled when there are pending requests issued by the operating systems, the untrusted applications, the I/O composition kernel component, the execution environment isolation component, the I/O separation modules, or the isolated applications.

### Claim 21 (depends on 2)

The system of claim 2 wherein each of the I/O separation modules can invoke the I/O composition kernel component to gain accesses to the I/O devices.

### Claim 22 (depends on 2)

The system of claim 2 wherein the I/O separation modules enforce I/O separation for one or more types of I/O devices.

### Claim 23 (depends on 2)

The system of claim 2 wherein each of the isolated applications requires I/O communications to one or more types of the I/O devices and invokes the I/O composition kernel component and/or the I/O separation modules to gain accesses to the I/O devices.

### Claim 24 (depends on 2)

The system of claim 2 wherein the I/O devices are assigned to secured I/O channels whenever an isolated application is executing, the assigning comprising:
one or more of the operating systems and/or one or more of the untrusted applications configure one or more I/O devices for use by an isolated application and assign the devices to the I/O composition kernel component;
the I/O composition kernel component assigns a subset of the I/O devices to one or more of I/O separation modules, and executes the one or more I/O separation modules; and
the I/O separation modules provide secure I/O channels for a subset of the I/O devices to the isolated application.

### Claim 25 (depends on 24)

The system of claim 24 wherein I/O communications between the isolated application and the I/O device cannot be intercepted or modified by the operating systems, the untrusted applications, other isolated applications or associated I/O devices.

### Claim 26 (depends on 2)

The system of claim 2 wherein the I/O devices assigned to secured I/O channels are re-assigned to the operating systems and/or the untrusted applications when no I/O separation module or isolated application has further need of the I/O device, the re-assigning comprising:
the I/O composition kernel component releases control of the I/O device by I/O separation modules and the isolated application; and
the I/O composition kernel component invokes the execution environment isolation component to re-assign hardware resources of the I/O device to an untrusted domain.

### Claim 27 (depends on 1)

The system of claim 1 wherein a portion of the I/O composition kernel may be included inside or outside of the execution environment isolation component.

### Claim 28

A method comprising:
loading an I/O composition kernel component image;
registering the I/O composition kernel component image with a micro-hypervisor;
creating a secure domain;
switching operation of the micro-hypervisor to the secure domain;
executing the I/O composition kernel component image in the secure domain; and
initializing the execution of I/O composition kernel component.

### Claim 29 (depends on 28)

The method of claim 28 further comprising:
loading an I/O separation module image into memory;
moving the I/O separation module image to a secure domain;
mapping devices associated with the I/O separation module image to the secure domain;
invoking the I/O composition kernel to start the I/O separation module;
creating one or more secure processes of the I/O separation module image;
executing the I/O separation module image; and
initializing the executing I/O separation module.

### Claim 30 (depends on 29)

The method of claim 29 further comprising:
loading an isolated application image into memory;
moving the isolated application image to a secure domain;
invoking the I/O composition kernel to start the isolated application;
creating secure processes of the isolated application;
executing the isolated application image; and
initializing the executing isolated application.
