# US 2024/0004804 A1 · Method for managing access rights of memory regions and corresponding system on chip

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

- Number: US 2024/0004804 A1
- Document ID: US20240004804A1
- Status: Published application
- Kind: A1
- Application number: 18/346,512
- Filed: 2023-07-03
- Published: 2024-01-04
- Earliest claimed: 2022-07-04
- Assignees: STMicroelectronics (Grand Ouest) SAS
- Applicants: STMicroelectronics (Grand Ouest) SAS
- Inventors: Loic Pallardy; Lionel Debieve
- Web page: https://patentgrep.com/patent/US20240004804A1

## CPC

- G06F 12/1441: {for a range}
- G06F 12/1458: {by checking the subject access rights}
- G06F 9/5016: {the resource being the memory}
- G06F 12/1491: {in a hierarchical protection system, e.g. privilege levels, memory rings}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- G06F 2212/1052: Security improvement
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The method for managing access rights of memory regions of a memory comprises assigning an execution permission status for each memory region in a firewall device dedicated to the memory, so that the content of a memory region having an executable status is capable of being executed by a processor, and the content of a memory region having a non-executable status cannot be executed by the processor.

## Claims

### Claim 1

A method for managing access rights of memory regions of a memory, the method comprising:
assigning an execution permission status for each memory region in a firewall device dedicated to the memory, wherein:
content of a memory region having an executable status is permitted to be executed by a processor, and
content of a memory region having a non-executable status is not permitted to be executed by the processor.

### Claim 2 (depends on 1)

The method according to claim 1, wherein assigning the execution permission status comprises assigning the non-executable status to memory regions containing data.

### Claim 3 (depends on 1)

The method according to claim 1, wherein assigning the execution permission status further comprises:
performing a first phase of verifying authenticity of the content of memory regions containing program code;
assigning the executable status to memory regions whose content is authenticated in the first phase of verifying authenticity; and
assigning the non-executable status to memory regions whose content is not authenticated in the first phase of verifying authenticity.

### Claim 4 (depends on 3)

The method according to claim 3, wherein: assigning the execution permission status further comprises, upon executing content of a first memory region of the memory:
performing a second phase of verifying authenticity of the content of a second memory region;
assigning the executable status to the second memory region when the content of the second memory region is authenticated in the second phase of verifying; and
assigning the non-executable status to the second memory region when the content of the second memory region is not authenticated in the second phase of verifying.

### Claim 5 (depends on 1)

The method according to claim 1, wherein assigning the execution permission status comprises assigning the execution permission status to each memory region in the firewall device in addition to a read permission status and a write permission status.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the memory regions having the non-executable status are configured to have the read permission status or a non-read permission status, and a write permission status or a non-write permission status.

### Claim 7 (depends on 1)

The method according to claim 1, wherein assigning the execution permission status further comprises, for each memory region, assigning respective different execution permission statuses to different processors, in the firewall device.

### Claim 8

A system-on-chip comprising:
a processor;
a memory having memory regions;
a firewall device dedicated to the memory; and
an access rights management system configured to assign an execution permission status for each memory region in the firewall device, wherein the firewall device and the processor is configured to:
permit content of a memory region having an executable status to be executed by the processor, and
forbid content of a memory region having a non-executable status from being executed by the processor.

### Claim 9 (depends on 8)

The system-on-chip according to claim 8, wherein the access rights management system is further configured to assign the non-executable status to memory regions containing data.

### Claim 10 (depends on 8)

The system-on-chip according to claim 8, wherein the access right management system is further configured to:
verify authenticity of the content of the memory regions containing program code;
assign the executable status to memory regions whose content is authenticated; and
assign the non-executable status to memory regions whose content is not authenticated.

### Claim 11 (depends on 10)

The system-on-chip according to claim 10, wherein the access rights management system, upon execution of content of a first memory region by the processor, is configured to:
verify authenticity of content of a second memory region;
assign the executable status to the second memory region whose content is authenticated; and
assign the non-executable status to the second memory region whose content is not authenticated.

### Claim 12 (depends on 8)

The system-on-chip according to claim 8, wherein the access rights management system is further configured to assign the execution permission status to each memory region in the firewall device in addition to a read permission status and a write permission status.

### Claim 13 (depends on 12)

The system-on-chip according to claim 12, wherein the access rights management system is further configured to assign the read permission status or a non-read permission status, and a write permission status or a non-write permission status to memory regions having the non-executable status.

### Claim 14 (depends on 8)

The system-on-chip according to claim 8, further including at least one other processor, wherein the access rights management system is configured to assign, for each memory region, different respective execution permission statuses to the processor and the at least one other processor, in the firewall device.

### Claim 15 (depends on 8)

The system-on-chip of claim 8, wherein the access rights management system comprises a co-processor coupled to the firewall device via a bus or is implemented using the processor.

### Claim 16

A system comprising:
a processor configured to be coupled to a firewall device via a bus, wherein the firewall device is dedicated to a system memory comprising memory regions; and
a program memory coupled to the processor with instruction stored thereon, wherein the instructions, when executed by the processor, enable the processor to:
assign an execution permission status in the firewall device for each memory region in the system memory,
permit content of a memory region having an executable status to be executed by the processor, and
forbid content of a memory region having a non-executable status from being executed by the processor.

### Claim 17 (depends on 16)

The system of claim 16, wherein the instructions, when executed by the processor, further enable the processor to:
verify authenticity of the content of memory regions containing program code;
assign the executable status to memory regions whose content is authenticated; and
assign the non-executable status to memory regions whose content is not authenticated.

### Claim 18 (depends on 17)

The system of claim 17, wherein the instructions, when executed by the processor, further enable the processor to, upon execution of content of a first memory region by the processor:
verify authenticity of content of a second memory region;
assign the executable status to the second memory region whose content is authenticated; and
assign the non-executable status to the second memory region whose content is not authenticated.

### Claim 19 (depends on 16)

The system of claim 16, wherein the instructions, when executed by processor, further enable the processor to assign the execution permission status to each memory region in the firewall device in addition to a read permission status and a write permission status.

### Claim 20 (depends on 16)

The system of claim 16, further comprising:
the system memory; and
the firewall device.
