Lune

ASPLOS2021顶会

In-fat pointer: hardware-assisted tagged-pointer spatial memory safety defense with subobject granularity protection

Shengjie Xu, Wei Huang, David Lie

摘要

Programming languages like C and C++ are not memory-safe because they provide programmers with low-level pointer manipulation primitives. The incorrect use of these primitives can result in bugs and security vulnerabilities: for example, spatial memory safety errors can be caused by dereferencing pointers outside the legitimate address range belonging to the corresponding object. While a range of schemes to provide protection against these vulnerabilities have been proposed, they all suffer from the lack of one or more of low performance overhead, compatibility with legacy code, or comprehensive protection for all objects and subobjects.

We present In-Fat Pointer, the first hardware-assisted defense that can achieve spatial memory safety at subobject granularity while maintaining compatibility with legacy code and low overhead. In-Fat Pointer improves the protection granularity of taggedpointer schemes using object metadata, which is efficient and binarycompatible for object-bound spatial safety. Unlike previous work that devotes all pointer tag bits to object metadata lookup, In-Fat Pointer uses three complementary object metadata schemes to reduce the number pointer tag bits needed for metadata lookup, allowing it to use the left-over bits, along with in-memory type metadata, to refine the object bounds to subobject granularity. We show that this approach provides practical protection of fine-grained spatial memory safety.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • PACMem: Enforcing Spatial and Temporal Memory Safety via ARM Pointer Authentication 引用了 Hardware-based Always-On Heap Memory Safety
  • PACMem: Enforcing Spatial and Temporal Memory Safety via ARM Pointer Authentication 引用了 Stack Bounds Protection with Low Fat Pointers
  • PACMem: Enforcing Spatial and Temporal Memory Safety via ARM Pointer Authentication 引用了 SoK: Sanitizing for Security
  • PACMem: Enforcing Spatial and Temporal Memory Safety via ARM Pointer Authentication 引用了 No-FAT: Architectural Support for Low Overhead Memory Safety Checks
  • TAILCHECK: A Lightweight Heap Overflow Detection Mechanism with Page Protection and Tagged Pointers 引用了 PACMem: Enforcing Spatial and Temporal Memory Safety via ARM Pointer Authentication
  • TAILCHECK: A Lightweight Heap Overflow Detection Mechanism with Page Protection and Tagged Pointers 引用了 Prober: Practically Defending Overflows with Page Protection
  • TAILCHECK: A Lightweight Heap Overflow Detection Mechanism with Page Protection and Tagged Pointers 引用了 SoK: Sanitizing for Security
  • TAILCHECK: A Lightweight Heap Overflow Detection Mechanism with Page Protection and Tagged Pointers 引用了 No-FAT: Architectural Support for Low Overhead Memory Safety Checks
  • Stack Bounds Protection with Low Fat Pointers 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • SoK: Sanitizing for Security 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • SoK: Sanitizing for Security 引用了 Stack Bounds Protection with Low Fat Pointers
  • CAMP: Compiler and Allocator-based Heap Memory Protection 引用了 Hardware-based Always-On Heap Memory Safety
  • CAMP: Compiler and Allocator-based Heap Memory Protection 引用了 PACMem: Enforcing Spatial and Temporal Memory Safety via ARM Pointer Authentication
  • CAMP: Compiler and Allocator-based Heap Memory Protection 引用了 Prober: Practically Defending Overflows with Page Protection
  • Securing GPU via region-based bounds checking 引用了 Hardware-based Always-On Heap Memory Safety
  • Securing GPU via region-based bounds checking 引用了 No-FAT: Architectural Support for Low Overhead Memory Safety Checks
  • No-FAT: Architectural Support for Low Overhead Memory Safety Checks 引用了 Hardware-based Always-On Heap Memory Safety
  • No-FAT: Architectural Support for Low Overhead Memory Safety Checks 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • No-FAT: Architectural Support for Low Overhead Memory Safety Checks 引用了 Stack Bounds Protection with Low Fat Pointers
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper13

  1. PACMem: Enforcing Spatial and Temporal Memory Safety via ARM Pointer AuthenticationYuan Li, Wende Tan, Zhizheng Lv, Songtao Yang 等CCS 2022 · 30 次引用
  2. No-FAT: Architectural Support for Low Overhead Memory Safety ChecksMohamed Tarek Ibn Ziad, Miguel A. Arroyo, Evgeny Manzhosov, Ryan Piersma 等ISCA 2021 · 26 次引用
  3. Securing GPU via region-based bounds checkingJaewon Lee, Yonghae Kim, Jiashen Cao, Euna Kim 等ISCA 2022 · 19 次引用
  4. TAILCHECK: A Lightweight Heap Overflow Detection Mechanism with Page Protection and Tagged PointersAmogha Udupa Shankaranarayana Gopal, Raveendra Soori, Michael Ferdman, Dongyoon LeeOSDI 2023 · 14 次引用
  5. CAMP: Compiler and Allocator-based Heap Memory ProtectionZhenpeng Lin, Zheng Yu, Ziyi Guo, Simone Campanoni 等USENIX Security 2024 · 14 次引用

它引用的 Paper5

  1. Data-Oriented Programming: On the Expressiveness of Non-control Data AttacksHong Hu, Shweta Shinde, Sendroiu Adrian, Zheng Leong Chua 等S&P 2016 · 420 次引用
  2. SoK: Sanitizing for SecurityDokyung Song, Julian Lettner, Prabhu Rajasekaran, Yeoul Na 等S&P 2019 · 196 次引用
  3. Stack Bounds Protection with Low Fat PointersGregory J. Duck, Roland H. C. Yap, Lorenzo CavallaroNDSS 2017 · 121 次引用
  4. Hardware-based Always-On Heap Memory SafetyYonghae Kim, Jaekyu Lee, Hyesoon KimMICRO 2020 · 41 次引用
  5. Prober: Practically Defending Overflows with Page ProtectionHongyu Liu, Ruiqin Tian, Tongping Liu, Bin RenASE 2020 · 3 次引用

相关 Paper

  1. Look Before You Access: Efficient Heap Memory Safety for Embedded Systems on ARMv8-MJeonghwan Kang, Jaeyeol Park, Jiwon Seo, Donghyun KwonDAC 2024 · 1 次引用
  2. Fat Pointers for Temporal Memory Safety of CJie Zhou, John Criswell, Michael HicksOOPSLA 2023 · 17 次引用
  3. Cryptographically Enforced Memory SafetyMartin Unterguggenberger, David Schrammel, Lukas Lamster, Pascal Nasahl 等CCS 2023 · 6 次引用
  4. Cryptographic Capability ComputingMichael LeMay, Joydeep Rakshit, Sergej Deutsch, David M. Durham 等MICRO 2021 · 29 次引用
  5. CGuard: Scalable and Precise Object Bounds Protection for CPiyus Kedia, Rahul Purandare, Udit Kumar Agarwal, RishabhISSTA 2023 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖