Lune

S&P2023顶会

SegFuzz: Segmentizing Thread Interleaving to Discover Kernel Concurrency Bugs through Fuzzing

Dae R. Jeong, Byoungyoung Lee, Insik Shin, Youngjin Kwon

摘要

Discovering kernel concurrency bugs through fuzzing is challenging. Identifying kernel concurrency bugs, as opposed to non-concurrency bugs, necessitates an analysis of possible interleavings between two or more threads. However, because the search space of thread interleaving is vast, it is impractical to investigate all conceivable thread interleavings. To explore the vast search space, most previous approaches perform random or simple heuristic searches without having coverage for thread interleaving or with an insufficient form of coverage. As a result, they either conduct wasteful searches with redundant executions or overlook concurrent bugs that their coverage cannot address.To overcome such limitations, we propose SegFuzz, a fuzzing framework for kernel concurrency bugs. When exploring the search space of thread interleavings, SegFuzz decomposes an entire thread interleaving into a set of segments, each of which represents an interleaving of the small number of instructions, and utilizes individual segments as interleaving coverage, called interleaving segment coverage. When searching for thread interleavings, SegFuzz mutates interleavings in explored interleaving segments to construct new thread interleavings that have not yet been explored. With SegFuzz, we discover new 21 concurrency bugs in Linux kernels, and demonstrate the efficiency of SegFuzz by showing that SegFuzz can identify known bugs on average 4.1 times quickly than the state-of-the-art approaches.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • OZZ: Identifying Kernel Out-of-Order Concurrency Bugs with In-Vivo Memory Access Reordering 引用了 Razzer: Finding Kernel Race Bugs through Fuzzing
  • OZZ: Identifying Kernel Out-of-Order Concurrency Bugs with In-Vivo Memory Access Reordering 引用了 IMF: Inferred Model-based Fuzzer
  • OZZ: Identifying Kernel Out-of-Order Concurrency Bugs with In-Vivo Memory Access Reordering 引用了 Evaluating Fuzz Testing
  • CountDown: Refcount-guided Fuzzing for Exposing Temporal Memory Errors in Linux Kernel 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • CountDown: Refcount-guided Fuzzing for Exposing Temporal Memory Errors in Linux Kernel 引用了 Razzer: Finding Kernel Race Bugs through Fuzzing
  • MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation 引用了 kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation 引用了 IMF: Inferred Model-based Fuzzer
  • Razzer: Finding Kernel Race Bugs through Fuzzing 引用了 IMF: Inferred Model-based Fuzzer
  • Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAG 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAG 引用了 Razzer: Finding Kernel Race Bugs through Fuzzing
  • Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAG 引用了 kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • Evaluating Fuzz Testing 引用了 kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • Evaluating Fuzz Testing 引用了 IMF: Inferred Model-based Fuzzer
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Monarch: A Fuzzing Framework for Distributed File SystemsTao Lyu, Liyi Zhang, Zhiyao Feng, Yueyang Pan 等USENIX ATC 2024 · 17 次引用
  2. GhostRace: Exploiting and Mitigating Speculative Race ConditionsHany Ragab, Andrea Mambretti, Anil Kurmus, Cristiano GiuffridaUSENIX Security 2024 · 10 次引用
  3. OZZ: Identifying Kernel Out-of-Order Concurrency Bugs with In-Vivo Memory Access ReorderingDae R. Jeong, Yewon Choi, Byoungyoung Lee, Insik Shin 等SOSP 2024 · 4 次引用
  4. CountDown: Refcount-guided Fuzzing for Exposing Temporal Memory Errors in Linux KernelShuangpeng Bai, Zhechang Zhang, Hong HuCCS 2024 · 4 次引用
  5. Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAGZhiyu Zhang, Longxing Li, Ruigang Liang, Kai ChenISSTA 2025 · 3 次引用

它引用的 Paper25

  1. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
  2. kAFL: Hardware-Assisted Feedback Fuzzing for OS KernelsSergej Schumilo, Cornelius Aschermann, Robert Gawlik, Sebastian Schinzel 等USENIX Security 2017 · 324 次引用
  3. Razzer: Finding Kernel Race Bugs through FuzzingDae R. Jeong, Kyungtae Kim, Basavesh Shivakumar, Byoungyoung Lee 等S&P 2019 · 202 次引用
  4. MoonShine: Optimizing OS Fuzzer Seed Selection with Trace DistillationShankara Pailoor, Andrew Aday, Suman JanaUSENIX Security 2018 · 180 次引用
  5. IMF: Inferred Model-based FuzzerHyungSeok Han, Sang Kil ChaCCS 2017 · 139 次引用

相关 Paper

  1. Concurrency Fuzzing of the Linux Kernel with eBPFJiacheng Xu, Dylan Wolff, Xing Yi Han, Jialin Li 等USENIX Security 2026
  2. Context-Sensitive and Directional Concurrency Fuzzing for Data-Race DetectionZu-Ming Jiang, Jia-Ju Bai, Kangjie Lu, Shi-Min HuNDSS 2022
  3. MUZZ: Thread-aware Grey-box Fuzzing for Effective Bug Hunting in Multithreaded ProgramsHongxu Chen, Shengjian Guo, Yinxing Xue, Yulei Sui 等USENIX Security 2020
  4. Greybox Fuzzing for Concurrency TestingDylan Wolff, Zheng Shi, Gregory J. Duck, Umang Mathur 等ASPLOS 2024 · 19 次引用
  5. Krace: Data Race Fuzzing for Kernel File SystemsMeng Xu, Sanidhya Kashyap, Hanqing Zhao, Taesoo KimS&P 2020 · 131 次引用
黄昏的海面,两侧是细线勾勒的悬崖