Invention Grant
- Patent Title: Using a memory safety violation indicator to detect accesses to an out-of-bounds or unallocated memory area
-
Application No.: US16278246Application Date: 2019-02-18
-
Publication No.: US10824560B2Publication Date: 2020-11-03
- Inventor: Jan Hoogerbrugge , Marcel Medwed , Ventzislav Nikov , Asier Goikoetxea Yanci
- Applicant: NXP B.V.
- Applicant Address: NL Eindhoven
- Assignee: NXP B.V.
- Current Assignee: NXP B.V.
- Current Assignee Address: NL Eindhoven
- Agent Daniel D. Hill
- Main IPC: G06F12/0802
- IPC: G06F12/0802 ; G06F12/0804 ; G06F21/78 ; G06F21/79

Abstract:
A data processing system and method for protecting a memory from unauthorized accesses are provided. The data processing system includes a system bus, a memory coupled to the system bus through a memory controller, and a processing core including a cache system. The memory controller is coupled to the system bus for controlling accesses to the memory that are requested by the processing core. A memory protection circuit uses one or more memory safety violation (MSV) indicators stored in out-of-bounds areas of the memory for detecting when the processing core attempts to access an out-of-bounds area of the memory. The processing core generates an error signal, such as an interrupt, when an attempt to access the out-of-bounds area is detected. The out-of-bounds area may be an unallocated area of the memory. The MSV indicator may be written to the memory by executing a flush instruction of the cache system, and may include the same number of bits as a cache line of the cache system. A data value of the MSV indicator may be a secret data value.
Public/Granted literature
- US20200264976A1 DATA PROCESSING SYSTEM HAVING MEMORY PROTECTION AND METHOD THEREFOR Public/Granted day:2020-08-20
Information query
IPC分类: