2010 · 108 citations · 18 references
ComputingComputer EngineeringComputer ScienceCompilersOperating SystemsProgramming LanguagesControl-flow AnalysisMemory ManagementAddress Space ManagementBuffer OverflowsCompiler DesignCompiler SupportMemory AllocationMemory Allocation OverheadUse-after-free VulnerabilitiesVirtual Address Space
Use-after-free vulnerabilities exploiting so-called dangling pointers to deallocated objects are just as dangerous as buffer overflows: they may enable arbitrary code execution. Unfortunately, state-of-the-art defenses against use-after-free vulnerabilities require compiler support, pervasive source code modifications, or incur high performance overheads. This paper presents and evaluates Cling, a memory allocator designed to thwart these attacks at runtime. Cling utilizes more address space, a plentiful resource on modern machines, to prevent typeunsafe address space reuse among objects of different types. It infers type information about allocated objects at runtime by inspecting the call stack of memory allocation routines. Cling disrupts a large class of attacks against use-after-free vulnerabilities, notably including those hijacking the C++ virtual function dispatch mechanism, with low CPU and physical memory overhead even for allocation intensive applications. 1
18
Non-control-data attacks are realistic threats
Shuo Chen, Jun Xu, Emre C. Sezer et al. · USENIX Security Symposium · 2005 · 475 citations
Region-based memory management in cyclone
Dan Grossman, Greg Morrisett, Trevor Jim et al. · 2002 · 407 citations
Emery D. Berger, Benjamin G. Zorn · ACM SIGPLAN Notices · 2006 · 405 citations