Abstract
Custom Memory Allocator (CMA) replaces the standard memory allocator for various purposes, such as improving memory efficiency or enhancing security. However, memory objects allocated by CMA are vulnerable to memory bugs similar to those allocated by the standard memory allocator. Unfortunately, existing memory bug detection approaches, including Address Sanitizer (ASan), do not work properly with these CMAs because existing approaches are mainly designed for the standard memory allocator. This paper presents CMASan, the first CMA-aware address sanitizer designed to effectively detect memory bugs on CMA objects that ASan misses without requiring expert knowledge, manual code modifications, or changing the unique internal logic of CMAs. According to our evaluation, CMASan successfully identifies 19 previously unknown CMA memory bugs undetected by ASan, including some undetected for 9 years. Compared to ASan, CMASan incurs only an additional 9.63% overhead.
| Original language | English |
|---|---|
| Title of host publication | Proceedings - 46th IEEE Symposium on Security and Privacy, SP 2025 |
| Editors | Marina Blanton, William Enck, Cristina Nita-Rotaru |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Pages | 740-757 |
| Number of pages | 18 |
| ISBN (Electronic) | 9798331522360 |
| DOIs | |
| Publication status | Published - 2025 |
| Externally published | Yes |
| Event | 46th IEEE Symposium on Security and Privacy, SP 2025 - San Francisco, United States Duration: 2025 May 12 → 2025 May 15 |
Publication series
| Name | Proceedings - IEEE Symposium on Security and Privacy |
|---|---|
| ISSN (Print) | 1081-6011 |
Conference
| Conference | 46th IEEE Symposium on Security and Privacy, SP 2025 |
|---|---|
| Country/Territory | United States |
| City | San Francisco |
| Period | 25/5/12 → 25/5/15 |
Bibliographical note
Publisher Copyright:© 2025 IEEE.
ASJC Scopus subject areas
- Software
- Safety, Risk, Reliability and Quality
- Computer Networks and Communications
Fingerprint
Dive into the research topics of 'CMASan: Custom Memory Allocator-aware Address Sanitizer'. Together they form a unique fingerprint.Cite this
- APA
- Standard
- Harvard
- Vancouver
- Author
- BIBTEX
- RIS