Methods to improve security of multi-tenant memory modules
Abstract
An example system includes a host computing device configured to host a first tenant and a second tenant, non-volatile memory configured to store data for the first tenant and data for the second tenant, and a memory controller including a cache of a volatile memory configured to store a first encrypted key associated with the first tenant used to access the data stored at the non-volatile memory and a second encrypted key associated with a second tenant used to access the data stored at the non-volatile memory. The memory controller further includes a processor having encryption logic configured to detect an attack on a portion of the cache storing the second encrypted key by the first tenant, and to erase the stored second encrypted key from the cache in response to detection of the attack.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 69 · Forward citations: 0.
Claims (22 — 3 Independent, 19 Dependent)
- Claim 1Independent Claim
A method comprising: writing, to a cache coupled to a volatile memory device, a first encrypted key associated with a first tenant for a non-volatile memory device coupled to the volatile memory device; writing, to the cache coupled to the volatile memory device, a second encrypted key associated with a second tenant for the non-volatile memory device coupled to the volatile memory device; and responsive to detection of an attack on a portion of the cache storing the second encrypted key by the first tenant, erasing the stored second encrypted key from the cache.
- Claim 2Depends on #1
The method of claim 1, further comprising detecting the attack on the cache via repeated accesses of one portion of the cache physically adjacent the portion or the cache storing the second encrypted key.
- Claim 3Depends on #1
The method of claim 1, further comprising, further responsive to detection of an attack on a portion of the cache storing the second encrypted key by the first tenant, blocking all access to the non-volatile memory by the second tenant.
- Claim 4Depends on #1
The method of claim 1, further comprising, responsive to receipt of a memory access request from the second tenant, using the second encrypted key to store data to or retrieve data from the non-volatile memory device.
- Claim 5Depends on #4
The method of claim 4, further comprising, responsive to receipt of a memory access request from the first tenant, using the first encrypted key to store data to or retrieve data from the non-volatile memory device.
- Claim 6Depends on #1
The method of claim 1, wherein the first tenant and the second tenant are both hosted on a host computing device.
- Claim 7Depends on #1
The method of claim 1, wherein the non-volatile memory device comprises at least one of a NAND memory device or a 3D XPoint memory device.
- Claim 8Depends on #1
The method of claim 1, further comprising generating the first encrypted key based partly on a pseudorandom value from a pseudorandom number generator.
- Claim 9Depends on #8
The method of claim 8, further comprising generating the first encrypted key using an authenticated stream cipher.
- Claim 10Independent Claim
An apparatus comprising: a cache of a volatile memory configured to store a first encrypted key associated with a first tenant used to access a non-volatile memory and a second encrypted key associated with a second tenant used to access the non-volatile memory; and a processor having encryption logic configured to detect an attack on a portion of the cache storing the second encrypted key by the first tenant, and to erase the stored second encrypted key from the cache in response to detection of the attack.
- Claim 11Depends on #10
The apparatus of claim 10, wherein the encryption logic is configured to detect the attack on the cache based on repeated accesses of one portion of the cache physically adjacent the portion or the cache storing the second encrypted key.
- Claim 12Depends on #10
The apparatus of claim 10, wherein the encryption logic is further configured to, responsive to detection of an attack on a portion of the cache storing the second encrypted key by the first tenant, block all access to the non-volatile memory by the second tenant.
- Claim 13Depends on #10
The apparatus of claim 10, wherein the processor is configured to: responsive to receipt of a memory access request from the second tenant, using the second encrypted key to store data to or retrieve data from the non-volatile memory device; and responsive to receipt of a memory access request from the first tenant, using the first encrypted key to store data to or retrieve data from the non-volatile memory device.
- Claim 14Depends on #10
The apparatus of claim 10, wherein the first tenant and the second tenant are both hosted on a host computing device.
- Claim 15Depends on #10
The apparatus of claim 10, wherein the encryption logic is further configured to generate the first encrypted key based partly on a pseudorandom value from a pseudorandom number generator.
- Claim 16Depends on #15
The apparatus of claim 15, wherein the encryption logic is further configured to generate the first encrypted key using an authenticated stream cipher.
- Claim 17Independent Claim
A system comprising: a host computing device configured to host a first tenant and a second tenant; non-volatile memory configured to store data for the first tenant and data for the second tenant; and a memory controller comprising: a cache of a volatile memory configured to store a first encrypted key associated with the first tenant used to access the data stored at the non-volatile memory and a second encrypted key associated with the second tenant used to access the data stored at the non-volatile memory; and a processor having encryption logic configured to detect an attack on a portion of the cache storing the second encrypted key by the first tenant, and to erase the stored second encrypted key from the cache in response to detection of the attack.
- Claim 18Depends on #17
The system of claim 17, wherein the encryption logic is configured to detect the attack on the cache based on repeated accesses of one portion of the cache physically adjacent the portion or the cache storing the second encrypted key.
- Claim 19Depends on #17
The system of claim 17, wherein the encryption logic is further configured to, responsive to detection of an attack on a portion of the cache storing the second encrypted key by the first tenant, block all access to the non-volatile memory by the second tenant.
- Claim 20Depends on #17
The system of claim 17, wherein the processor is configured to: responsive to receipt of a memory access request from the second tenant, using the second encrypted key to store data to or retrieve data from the non-volatile memory device; and responsive to receipt of a memory access request from the first tenant, using the first encrypted key to store data to or retrieve data from the non-volatile memory device.
- Claim 21Depends on #17
The system of claim 17, wherein the encryption logic is further configured to generate the first encrypted key based partly on a pseudorandom value from a pseudorandom number generator.
- Claim 22Depends on #21
The system of claim 21, wherein the memory controller further comprises the pseudorandom number generator configured to generate the pseudorandom value.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application claims the filing benefit of U.S. Provisional Application No. 63/617,710, filed Jan. 4, 2024. This application is incorporated by reference herein in its entirety and for all purposes. BACKGROUND Emerging memory architectures are designed to handle a range of memory access requests and may include memories with different characteristics. For example, memory may include dynamic random-access memory (DRAM) and phase-change memory (PCM)). Non-volatile memories may be highly non-uniform. For example, certain NAND flash memories (e.g., based on page type) may be faster to read or write than others, with latencies changing as they wear out, or with different levels of cell (e.g., multi-level-cells (MLC)), among different NAND flash memories. Emerging memory architectures may also utilize non-volatile dual in-line memory modules (NVDIMMs), such as NVDIMM-P or NVDIMM-F. NVDIMMs generally include both a non-volatile and a volatile memory device. In some applications, multiple tenants or users may be allocated memory on a particular NVDIMM to more efficiently use the memory, such as in a data center application. However, there may be scenarios where malicious tenants or users are able to attack portions of memory adjacent that are allocated to a different tenant. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic illustration of a memory system interacting in accordance with examples described herein. FIG. 2 is a schematic illustration of a memory system interacting in accordance with examples described herein. FIG. 3 is a schematic illustration of a method in accordance with examples described herein. DETAILED DESCRIPTION Cryptographic methods may use block ciphers to provide security for data, e.g., to authenticate data using a cryptographic key. For example, a cryptographic key may transform data from plaintext to ciphertext when encrypting; and vice-versa when decrypting. A block cipher provides a block transfo
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (69)
Non-Patent Literature (10)
- U.S. Appl. No. 18/428,157 titled
- “
- Memory Systems and Devices Including Examples of Accessing Memory and Generating Access Codes Using an Authenticated Stream Cipher
- ”
- , filed Jan. 31, 2024; pp. all pages of application as filed.
- U.S. Appl. No. 19/205,070 titled
- “
- Memory Systems and Devices Including Examples of Accessing Memory and Generating Access Codes Using an Authenticated Stream Cipher
- ”
- , filed May 12, 2025; pp. all pages of application as filed.