...
首页> 外文期刊>Frontiers of computer science in China >DFTracker: detecting double-fetch bugs by multi-taint parallel tracking
【24h】

DFTracker: detecting double-fetch bugs by multi-taint parallel tracking

机译:DFTracker:通过多污点并行跟踪检测双抓漏洞

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

A race condition is a common trigger for con-currency bugs. As a special case, a race condition can also occur across the kernel and user space causing a doublefetch bug, which is a field that has received little research attention. In our work, we first analyzed real-world doublefetch bug cases and extracted two specific patterns for doublefetch bugs. Based on these patterns, we proposed an approach of multi-taint parallel tracking to detect double-fetch bugs. We also implemented a prototype called DFTracker (doublefetch bug tracker), and we evaluated it with our test suite. Our experiments demonstrated that it could effectively find all the double-fetch bugs in the test suite including eight real-world cases with no false negatives and minor false positives. In addition, we tested it on Linux kernel and found a new double-fetch bug. The execution overhead is approximately 2x for single-file cases and approximately 9x for the whole kernel test, which is acceptable. To the best of the authors' knowledge, this work is the first to introduce multi-taint parallel tracking to double-fetch bug detection-an innovative method that is specific to double-fetch bug features-and has better path coverage as well as lower runtime overhead than the widely used dynamic approaches.
机译:竞争条件是并发错误的常见触发器。作为一种特殊情况,竞争条件也可能会在内核和用户空间上发生,从而引起doublefetch错误,这一领域很少受到研究关注。在我们的工作中,我们首先分析了实际的doublefetch错误案例,并提取了doublefetch错误的两种特定模式。基于这些模式,我们提出了一种多污点并行跟踪的方法来检测两次提取错误。我们还实现了一个名为DFTracker(doublefetch错误跟踪器)的原型,并通过测试套件对其进行了评估。我们的实验表明,它可以有效地找到测试套件中的所有双抓取错误,包括八个真实的案例,没有假阴性和次要假阳性。此外,我们在Linux内核上对其进行了测试,并发现了一个新的double-fetch错误。对于单文件情况,执行开销约为2倍,对于整个内核测试,执行开销约为9倍,这是可以接受的。据作者所知,这项工作是第一个将多污点并行跟踪引入双抓取错误检测的方法,这是一种专门针对双抓取错误功能的创新方法,并且具有更好的路径覆盖范围并且降低了运行时的开销要比广泛使用的动态方法大。

著录项

  • 来源
    《Frontiers of computer science in China》 |2019年第2期|247-263|共17页
  • 作者单位

    Natl Univ Def Technol, Sci & Technol Parallel & Distributed Proc Lab, Changsha 410073, Hunan, Peoples R China|Natl Univ Def Technol, Coll Comp, Changsha 410073, Hunan, Peoples R China|Natl Univ Def Technol, Collaborat Innovat Ctr High Performance Comp, Changsha 410073, Hunan, Peoples R China;

    Natl Univ Def Technol, Sci & Technol Parallel & Distributed Proc Lab, Changsha 410073, Hunan, Peoples R China|Natl Univ Def Technol, Coll Comp, Changsha 410073, Hunan, Peoples R China|Natl Univ Def Technol, Collaborat Innovat Ctr High Performance Comp, Changsha 410073, Hunan, Peoples R China;

    Natl Univ Def Technol, Sci & Technol Parallel & Distributed Proc Lab, Changsha 410073, Hunan, Peoples R China|Natl Univ Def Technol, Coll Comp, Changsha 410073, Hunan, Peoples R China|Natl Univ Def Technol, Collaborat Innovat Ctr High Performance Comp, Changsha 410073, Hunan, Peoples R China;

    Natl Univ Def Technol, Sci & Technol Parallel & Distributed Proc Lab, Changsha 410073, Hunan, Peoples R China|Natl Univ Def Technol, Coll Comp, Changsha 410073, Hunan, Peoples R China|Natl Univ Def Technol, Collaborat Innovat Ctr High Performance Comp, Changsha 410073, Hunan, Peoples R China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    multi-taint parallel tracking; double fetch; race condition between kernel and user; time of check to time of use; real-world case analysis; Clang Static Analyzer;

    机译:多污点并行跟踪;双重获取;内核与用户之间的竞争条件;检查到使用的时间;真实案例分析;Clang Static Analyzer;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号