Lune

ISSTA2021顶会

UAFSan: an object-identifier-based dynamic approach for detecting use-after-free vulnerabilities

Binfa Gui, Wei Song, Jeff Huang

摘要

Use-After-Free (UAF) vulnerabilities constitute severe threats to software security. In contrast to other memory errors, UAFs are more difficult to detect through manual or static analysis due to pointer aliases and complicated relationships between pointers and objects. Existing evidence-based dynamic detection approaches only track either pointers or objects to record the availability of objects, which become invalid when the memory that stored the freed object is reallocated. To this end, we propose an approach UAFSan dedicated to comprehensively detecting UAFs at runtime. Specifically, we assign a unique identifier to each newly-allocated object and its pointers; when a pointer dereferences a memory object, we determine whether a UAF occurs by checking the consistency of their identifiers. We implement UAFSan in an open-source tool and evaluate it on a large collection of popular benchmarks and real-world programs. The experiment results demonstrate that UAFSan successfully detect all UAFs with reasonable overhead, whereas existing publicly-available dynamic detectors all miss certain UAFs.

问 Lune

几分钟看清这篇 Paper 的位置,不用再花一下午。

Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

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

可以从这些问题问起

Lune 可以查阅

摘要 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Statically Discover Cross-Entry Use-After-Free Vulnerabilities in the Linux Kernel 引用了 Fat Pointers for Temporal Memory Safety of C
  • Fast Pointer Nullification for Use-After-Free Prevention 引用了 Fat Pointers for Temporal Memory Safety of C
  • Fast Pointer Nullification for Use-After-Free Prevention 引用了 Statically Discover Cross-Entry Use-After-Free Vulnerabilities in the Linux Kernel
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Fat Pointers for Temporal Memory Safety of CJie Zhou, John Criswell, Michael HicksOOPSLA 2023 · 17 次引用
  2. WAFFLE: Exposing Memory Ordering Bugs Efficiently with Active Delay InjectionBogdan Alexandru Stoica, Shan Lu, Madanlal Musuvathi, Suman NathEuroSys 2023 · 4 次引用
  3. Statically Discover Cross-Entry Use-After-Free Vulnerabilities in the Linux KernelHang Zhang, Jangha Kim, Chuhong Yuan, Zhiyun Qian 等NDSS 2025
  4. Fast Pointer Nullification for Use-After-Free PreventionYubo Du, Youtao Zhang, Jun YangNDSS 2026

相关 Paper

  1. FreeWill: Automatically Diagnosing Use-after-free Bugs via Reference Miscounting Detection on BinariesLiang He, Hong Hu, Purui Su, Yan Cai 等USENIX Security 2022
  2. A Robust and Efficient Defense against Use-after-Free Exploits via Concurrent Pointer SweepingDaiping Liu, Mingwei Zhang, Haining WangCCS 2018 · 43 次引用
  3. Runtime detection of memory errors with smart statusZhe Chen, Chong Wang, Junqi Yan, Yulei Sui 等ISSTA 2021 · 16 次引用
  4. ViK: practical mitigation of temporal memory safety violations through object ID inspectionHaehyun Cho, Jinbum Park, Adam Oest, Tiffany Bao 等ASPLOS 2022 · 13 次引用
  5. Precise and Scalable Detection of Use-after-Compacting-Garbage-Collection BugsHyungSeok Han, Andrew Wesie, Brian PakUSENIX Security 2021 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖