Lune

ICSE2022Top-tier venue

Controlled Concurrency Testing via Periodical Scheduling

Cheng Wen, Mengda He, Bohao Wu, Zhiwu Xu, Shengchao Qin

Abstract

Controlled concurrency testing (CCT) techniques have been shown promising for concurrency bug detection. Their key insight is to control the order in which threads get executed, and attempt to explore the space of possible interleavings of a concurrent program to detect bugs. However, various challenges remain in current CCT techniques, rendering them ineffective and ad-hoc. In this paper, we propose a novel CCT technique Period. Unlike previous works, Period models the execution of concurrent programs as periodical execution, and systematically explores the space of possible interleavings, where the exploration is guided by periodical scheduling and influenced by previously tested interleavings. We have evaluated Period on 10 real-world CVEs and 36 widely-used benchmark programs, and our experimental results show that Period demonstrates superiority over other CCT techniques in both effectiveness and runtime overhead. Moreover, we have discovered 5 previously unknown concurrency bugs in real-world programs.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Greybox Fuzzing for Concurrency Testing cites Effective Concurrency Testing for Distributed Systems
  • Greybox Fuzzing for Concurrency Testing cites Razzer: Finding Kernel Race Bugs through Fuzzing
  • Greybox Fuzzing for Concurrency Testing cites Krace: Data Race Fuzzing for Kernel File Systems
  • Krace: Data Race Fuzzing for Kernel File Systems cites Razzer: Finding Kernel Race Bugs through Fuzzing
  • Canary: practical static detection of inter-thread value-flow bugs cites Razzer: Finding Kernel Race Bugs through Fuzzing
  • Canary: practical static detection of inter-thread value-flow bugs cites Krace: Data Race Fuzzing for Kernel File Systems
  • Peahen: fast and precise static deadlock detection via context reduction cites Razzer: Finding Kernel Race Bugs through Fuzzing
  • Peahen: fast and precise static deadlock detection via context reduction cites Krace: Data Race Fuzzing for Kernel File Systems
  • Peahen: fast and precise static deadlock detection via context reduction cites Canary: practical static detection of inter-thread value-flow bugs
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration cites Razzer: Finding Kernel Race Bugs through Fuzzing
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration cites Krace: Data Race Fuzzing for Kernel File Systems
  • Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving Exploration cites Automatically detecting and fixing concurrency bugs in go software systems
  • When Threads Meet Interrupts: Effective Static Detection of Interrupt-Based Deadlocks in Linux cites Razzer: Finding Kernel Race Bugs through Fuzzing
  • When Threads Meet Interrupts: Effective Static Detection of Interrupt-Based Deadlocks in Linux cites Krace: Data Race Fuzzing for Kernel File Systems
  • When Threads Meet Interrupts: Effective Static Detection of Interrupt-Based Deadlocks in Linux cites Peahen: fast and precise static deadlock detection via context reduction
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Greybox Fuzzing for Concurrency TestingDylan Wolff, Zheng Shi, Gregory J. Duck, Umang Mathur et al.ASPLOS 2024 · 19 citations
  2. Peahen: fast and precise static deadlock detection via context reductionYuandao Cai, Chengfeng Ye, Qingkai Shi, Charles ZhangFSE 2022 · 16 citations
  3. RPG: Rust Library Fuzzing with Pool-based Fuzz Target Generation and Generic SupportZhiwu Xu, Bohao Wu, Cheng Wen, Bin Zhang et al.ICSE 2024 · 9 citations
  4. Effective Concurrency Testing for Go via Directional Primitive-Constrained Interleaving ExplorationZongze Jiang, Ming Wen, Yixin Yang, Chao Peng et al.ASE 2023 · 6 citations
  5. When Threads Meet Interrupts: Effective Static Detection of Interrupt-Based Deadlocks in LinuxChengfeng Ye, Yuandao Cai, Charles ZhangUSENIX Security 2024 · 5 citations

Builds on10

  1. Razzer: Finding Kernel Race Bugs through FuzzingDae R. Jeong, Kyungtae Kim, Basavesh Shivakumar, Byoungyoung Lee et al.S&P 2019 · 202 citations
  2. Krace: Data Race Fuzzing for Kernel File SystemsMeng Xu, Sanidhya Kashyap, Hanqing Zhao, Taesoo KimS&P 2020 · 131 citations
  3. Automatically detecting and fixing concurrency bugs in go software systemsZiheng Liu, Shuofei Zhu, Boqin Qin, Hao Chen et al.ASPLOS 2021 · 32 citations
  4. Effective Concurrency Testing for Distributed SystemsXinhao Yuan, Junfeng YangASPLOS 2020 · 30 citations
  5. Canary: practical static detection of inter-thread value-flow bugsYuandao Cai, Peisen Yao, Charles ZhangPLDI 2021 · 25 citations

Related papers

  1. Learning-based controlled concurrency testingSuvam Mukherjee, Pantazis Deligiannis, Arpita Biswas, Akash LalOOPSLA 2020 · 20 citations
  2. Concurrency Fuzzing of the Linux Kernel with eBPFJiacheng Xu, Dylan Wolff, Xing Yi Han, Jialin Li et al.USENIX Security 2026
  3. Selectively Uniform Concurrency TestingHuan Zhao, Dylan Wolff, Umang Mathur, Abhik RoychoudhuryASPLOS 2025 · 4 citations
  4. Fray: An Efficient General-Purpose Concurrency Testing Platform for the JVMAo Li, Byeongjee Kang, Vasudev Vikram, Isabella Laybourn et al.OOPSLA 2025
  5. SegFuzz: Segmentizing Thread Interleaving to Discover Kernel Concurrency Bugs through FuzzingDae R. Jeong, Byoungyoung Lee, Insik Shin, Youngjin KwonS&P 2023
Dusk over the sea between two cliffs drawn in fine vertical lines