Invention Grant
- Patent Title: Fine-grained stack protection using cryptographic computing
-
Application No.: US17134406Application Date: 2020-12-26
-
Publication No.: US11580035B2Publication Date: 2023-02-14
- Inventor: David M. Durham , Karanvir S. Grewal , Michael D. LeMay , Salmin Sultana , Andrew James Weiler
- Applicant: Intel Corporation
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Alliance IP, LLC
- Main IPC: G06F12/14
- IPC: G06F12/14 ; G06F9/30 ; G06F9/50

Abstract:
A processor includes a register to store an encoded pointer to a variable in stack memory. The encoded pointer includes an encrypted portion and a fixed plaintext portion of a memory address corresponding to the variable. The processor further includes circuitry to, in response to a memory access request for associated with the variable, decrypt the encrypted portion of the encoded pointer to obtain first upper address bits of the memory address and a memory allocation size for a variable, decode the encoded pointer to obtain the memory address, verify the memory address is valid based, at least in part on the memory allocation size, and in response to determining that the memory address is valid, allow the memory access request.
Public/Granted literature
- US20210149825A1 FINE-GRAINED STACK PROTECTION USING CRYPTOGRAPHIC COMPUTING Public/Granted day:2021-05-20
Information query