跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2402.03373 (cs)
[提交于 2024年5月22日 (v1),最后修订于 2024年5月22日 (此版本, v2)]

标题:SeMalloc: Semantics-Informed Memory Allocator

作者:Ruizhe Wang, Meng Xu, N. Asokan
查看论文《SeMalloc: Semantics-Informed Memory Allocator》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Use-after-free (UAF) is a critical and prevalent problem in memory unsafe languages. While many solutions have been proposed, balancing security, run-time cost, and memory overhead (an impossible trinity) is hard. In this paper, we show one way to balance the trinity by passing more semantics about the heap object to the allocator for it to make informed allocation decisions. More specifically, we propose a new notion of thread-, context-, and flow-sensitive "type", SemaType, to capture the semantics and prototype a SemaType-based allocator that aims for the best trade-off amongst the impossible trinity. In SeMalloc, only heap objects allocated from the same call site and via the same function call stack can possibly share a virtual memory address, which effectively stops type-confusion attacks and makes UAF vulnerabilities harder to exploit. Through extensive empirical evaluation, we show that SeMalloc is realistic: (a) SeMalloc is effective in thwarting all real-world vulnerabilities we tested; (b) benchmark programs run even slightly faster with SeMalloc than the default heap allocator, at a memory overhead averaged from 41% to 84%; and (c) SeMalloc balances security and overhead strictly better than other closely related works.
评论: Accepted to ACM CCS 2024, camera-ready version under preparation
主题: 密码学与安全 (cs.CR)
引用方式: arXiv:2402.03373 [cs.CR]
  (或者 arXiv:2402.03373v2 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2402.03373

提交历史

来自:Ruizhe Wang
[v2] 2024年5月22日 星期三 18:55:43 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-05
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站