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 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- 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
- Fat Pointers for Temporal Memory Safety of CJie Zhou, John Criswell, Michael HicksOOPSLA 2023 · 17 次引用
- WAFFLE: Exposing Memory Ordering Bugs Efficiently with Active Delay InjectionBogdan Alexandru Stoica, Shan Lu, Madanlal Musuvathi, Suman NathEuroSys 2023 · 4 次引用
- Statically Discover Cross-Entry Use-After-Free Vulnerabilities in the Linux KernelHang Zhang, Jangha Kim, Chuhong Yuan, Zhiyun Qian 等NDSS 2025
- Fast Pointer Nullification for Use-After-Free PreventionYubo Du, Youtao Zhang, Jun YangNDSS 2026
相关 Paper
- FreeWill: Automatically Diagnosing Use-after-free Bugs via Reference Miscounting Detection on BinariesLiang He, Hong Hu, Purui Su, Yan Cai 等USENIX Security 2022
- A Robust and Efficient Defense against Use-after-Free Exploits via Concurrent Pointer SweepingDaiping Liu, Mingwei Zhang, Haining WangCCS 2018 · 43 次引用
- Runtime detection of memory errors with smart statusZhe Chen, Chong Wang, Junqi Yan, Yulei Sui 等ISSTA 2021 · 16 次引用
- ViK: practical mitigation of temporal memory safety violations through object ID inspectionHaehyun Cho, Jinbum Park, Adam Oest, Tiffany Bao 等ASPLOS 2022 · 13 次引用
- Precise and Scalable Detection of Use-after-Compacting-Garbage-Collection BugsHyungSeok Han, Andrew Wesie, Brian PakUSENIX Security 2021 · 4 次引用
