# US 2025/0168151 A1 · Remote Execution of Computer Instructions in a Kernel Space of a Communication Device

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

- Number: US 2025/0168151 A1
- Document ID: US20250168151A1
- Status: Published application
- Kind: A1
- Application number: 18/729,549
- Filed: 2022-01-24
- Published: 2025-05-22
- Earliest claimed: 2022-01-24
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Oscar Novo Diaz; Aitor Hernandez Herranz
- Web page: https://patentgrep.com/patent/US20250168151A1

## CPC

- G06F 21/121: {Restricting unauthorised execution of programs}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- H04L 63/123: {received data contents, e.g. message integrity}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

There is provided mechanisms for remote execution of computer instructions in a kernel space of a communication device. A method is performed by an application server for the communication device. The method comprises obtaining computer instructions for handling interaction between the application server and the kernel space. The computer instructions are to be remotely executed in the kernel space of the communication device. The method comprises sending an encrypted package comprises the computer instructions towards the kernel space of the communication device.

## Claims

### Claim at position 1

-33. (canceled)

### Claim 34

A method for remote execution of computer instructions in a kernel space of a communication device, the method being performed by an application server for the communication device, the method comprising:
obtaining computer instructions for handling interaction between the application server and the kernel space, wherein the computer instructions are to be remotely executed in the kernel space of the communication device; and
sending an encrypted package comprising the computer instructions towards the kernel space of the communication device.

### Claim 35 (depends on 34)

The method according to claim 34, wherein the encrypted package is sent to:
an interface of the kernel space, the interface interfacing an outside of the communication device; or
a user space of the communication device.

### Claim 36 (depends on 34)

The method according to claim 34, wherein, according to the computer instructions, the interaction involves the application server monitoring a status of the communication device and/or the application server exchanging application data with the communication device.

### Claim 37 (depends on 36)

The method according to claim 36, wherein:
the status of the communication device that is monitored pertains to any of: a status of hardware of the communication device accessible by the kernel space, memory usage of the communication device, or processing usage of the communication device; and/or
the application data exchanged with the communication device pertains to any of: data relating to an application run by the communication device, a change of which application is run in the communication device, or change of an application run in the communication device.

### Claim 38 (depends on 37)

The method according to claim 37, the application data exchanged with the communication device pertains to data relating to an application run by the communication device, wherein the data relating to an application run in the communication device pertains to any of: accumulated processing usage for the application, frequency of occurrence of running the application in the communication device, memory bandwidth for read and/or write operations performed when running the application in the communication device, or access to library calls made by the application when running the application in the communication device.

### Claim 39 (depends on 34)

The method according to claim 34, wherein the method further comprises:
interacting with the kernel space in accordance with the computer instructions.

### Claim 40 (depends on 34)

The method according to claim 34, wherein, in the encrypted package, the computer instructions are provided either as source code or as compiled bytecode.

### Claim 41 (depends on 34)

The method according to claim 34, wherein the encrypted package is an encrypted Berkeley Packet Filter (BPF) package or an encrypted extended BPF (eBPF) package.

### Claim 42

A method for execution of computer instructions in a kernel space of a communication device, the method being performed by the communication device, the method comprising:
receiving, from an application server for the communication device, an encrypted package comprising computer instructions for handling interaction between the application server and the kernel space;
in the kernel space, decrypting the encrypted package, resulting in a decrypted package; and
in the kernel space, executing the computer instructions in the decrypted package.

### Claim 43 (depends on 42)

The method according to claim 42, wherein the encrypted package is received:
from the application server in an interface of the kernel space, the interface interfacing an outside of the communication device; or
from the application server in a user space of the communication device and forwarded from the user space to the kernel space.

### Claim 44 (depends on 42)

The method according to claim 42, wherein the method further comprises:
in the kernel space, verifying the decrypted package before executing the computer instructions.

### Claim 45 (depends on 42)

The method according to claim 42, wherein, in the encrypted package, the computer instructions are provided as source code, and wherein the method further comprises:
in the kernel space, compiling the source code into compiled bytecode before executing the computer instructions.

### Claim 46 (depends on 42)

The method according to claim 42, wherein, according to the computer instructions, the interaction involves the application server to monitor status of the communication device and/or the application server to exchange application data with the communication device.

### Claim 47 (depends on 46)

The method according to claim 46, wherein:
the status of the communication device that is monitored pertains to any of: a status of hardware of the communication device accessible by the kernel space, memory usage of the communication device, or processing usage of the communication device; and/or
the application data exchanged with the communication device pertains to any of: data relating to an application run by the communication device, a change of which application is run in the communication device, or a change of an application run in the communication device.

### Claim 48 (depends on 47)

The method according to claim 47, wherein the data relating to an application run in the communication device pertains to any of: accumulated processing usage for the application, frequency of occurrence of running the application in the communication device, memory bandwidth for read and/or write operations performed when running the application in the communication device, or access to library calls made by the application when running the application in the communication device.

### Claim 49 (depends on 42)

The method according to claim 42, wherein executing the computer instructions comprises:
interacting with the application server in accordance with the computer instructions.

### Claim 50 (depends on 42)

The method according to claim 42, wherein the encrypted package is an encrypted Berkeley Packet Filter (BPF) package or an encrypted extended BPF (eBPF) package.

### Claim 51 (depends on 50)

The method according to claim 50, wherein the computer instructions are executed in a BPF virtual machine or an eBPF virtual machine run in the kernel space.

### Claim 52

An application server for remote execution of computer instructions in a kernel space of a communication device, the application server comprising processing circuitry, the processing circuitry being configured to cause the application server to:
obtain computer instructions for handling interaction between the application server and the kernel space, wherein the computer instructions are to be remotely executed in the kernel space of the communication device; and
send an encrypted package comprising the computer instructions towards the kernel space of the communication device.

### Claim 53

A communication device for execution of computer instructions in a kernel space of the communication device, the communication device comprising processing circuitry, the processing circuitry being configured to cause the communication device to:
receive, from an application server for the communication device, an encrypted package comprising computer instructions for handling interaction between the application server and the kernel space;
in the kernel space, decrypt the encrypted package, resulting in a decrypted package; and
in the kernel space, execute the computer instructions in the decrypted package.
