Implicit Memory Tagging: No-Overhead Memory Safety Using Alias-Free Tagged ECC

被引:1
|
作者
Sullivan, Michael B. [1 ]
Ibn Ziad, Mohamed Tarek [2 ]
Jaleel, Aamer [2 ]
Keckler, Stephen W. [1 ]
机构
[1] NVIDIA, Austin, TX 78717 USA
[2] NVIDIA, Westford, MA USA
来源
PROCEEDINGS OF THE 2023 THE 50TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, ISCA 2023 | 2023年
关键词
memory tagging; memory security; error correcting codes;
D O I
10.1145/3579371.3589102
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Memory safety is a major security concern for unsafe programming languages, including C/C++ and CUDA/OpenACC. Hardware-accelerated memory tagging is an effective mechanism for detecting memory safety violations; however, its adoption is challenged by significant meta-data storage and memory traffic overheads. This paper proposes Implicit Memory Tagging (IMT), a novel approach that provides no-overhead hardware-accelerated memory tagging by leveraging the system error correcting code (ECC) to check for the equivalence of a memory tag in addition to its regular duties of detecting and correcting data errors. Implicit Memory Tagging relies on a new class of ECC codes called Alias-Free Tagged ECC (AFT-ECC) that can unambiguously identify tag mismatches in the absence of data errors, while maintaining the efficacy of ECC when data errors are present. When applied to GPUs, IMT addresses the increasing importance of GPU memory safety and the costs of adding meta-data to GPU memory. Ultimately, IMT detects memory safety violations without meta-data storage or memory access overheads. In practice, IMT can provide larger tag sizes than existing industry memory tagging implementations, enhancing security.
引用
收藏
页码:937 / 949
页数:13
相关论文
共 1 条
  • [1] Reducing the Overhead of Authenticated Memory Encryption Using Delta Encoding and ECC Memory
    Yitbarek, Salessawi Ferede
    Austin, Todd
    2018 55TH ACM/ESDA/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2018,