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

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

计算机科学 > 操作系统

arXiv:2612.04862 (cs)
[提交于 2026年12月3日]

标题:Quietus: Detecting False Finality in DMA Buffer Reclamation

作者:Samarth Narang, Brandon Reagen
查看论文《Quietus: Detecting False Finality in DMA Buffer Reclamation》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Direct memory access (DMA) lets devices read and write memory independently of the CPU, so a driver can safely hand a buffer to a new owner only after every operation that can access that memory has finished. In practice, however, drivers often release or reuse buffers right after requesting a stop or observing a single completion event, which lets queued descriptors, asynchronous completion callbacks, or deferred bounce-buffer copybacks outlive that handoff and overwrite memory that now belongs to the new owner. We call this failure false finality, and catching it requires tracking operations across execution contexts while accounting for the actual retirement guarantees of the underlying DMA provider. We present QUIETUS, a framework that detects unsafe DMA buffer reclamation by checking authority-set finality, the requirement that no hardware or software operation from a buffer's previous use can still access it once a new owner takes over. We formalize this property in Lean and build a verified checker that analyzes reconstructed driver lifecycles using each DMA provider's retirement guarantees. The checker shows how each reported violation occurs within the model and establishes safe retirement only when every modeled path is safe. We applied QUIETUS to Linux and Zephyr and uncovered 32 machine-checked DMA lifecycle violations across 29 drivers, and reproduced representative violations on physical hardware and in kernel emulation, demonstrating writes into a new owner's memory on embedded hardware and use-after-free writes in Linux.
主题: 操作系统 (cs.OS); 软件工程 (cs.SE)
引用方式: arXiv:2612.04862 [cs.OS]
  (或者 arXiv:2612.04862v1 [cs.OS] 对于此版本)
  https://doi.org/10.48550/arXiv.2612.04862

提交历史

来自:Samarth Narang
[v1] 2026年12月3日 星期四 02:43:31 UTC (42 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.OS
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-12
切换浏览方式为:
cs
cs.SE

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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