ELECTRONIC DEVICE AND MEMORY PROTECTION METHOD USING SAME

    公开(公告)号:US20230198759A1

    公开(公告)日:2023-06-22

    申请号:US18172747

    申请日:2023-02-22

    CPC classification number: H04L9/32 G06F3/0622 G06F3/0637 G06F3/0673

    Abstract: An electronic device is provided. The electronic device includes a memory and a processor, the processor allocates first and second address spaces (AS) to the memory in rich execution environment (REE) when detecting a request to write data, writes the data to the first AS and detect access to the second address space in the REE, configures access permission of a first user virtual memory AS (VMAS), mapped to the first address space, in the REE so that write access is deactivated by a trusted environment manager when detecting access to the second AS, configures access permission of a second user VMAS, mapped to the second AS, in the REE so that read access is activated and write access is deactivated, and configures access permission of a first kernel VMAS, mapped to the first AS, in the REE so that write access is deactivated by the trusted environment manager.

Patent Agency Ranking