Lune

NDSS2024顶会

MOCK: Optimizing Kernel Fuzzing Mutation with Context-aware Dependency

Jiacheng Xu, Xuhong Zhang, Shouling Ji, Yuan Tian, Binbin Zhao, Qinying Wang, Peng Cheng, Jiming Chen

摘要

—Kernels are at the heart of modern operating systems, whereas their development comes with vulnerabilities. Coverage-guided fuzzing has proven to be a promising software testing technique. When applying fuzzing to kernels, the salient aspect of it is that the input is a sequence of system calls (syscalls). As kernels are complex and stateful, specific sequences of syscalls are required to build up necessary states to trigger code deep in the kernels. However, the syscall sequences generated by existing fuzzers fall short in maintaining states to sufficiently cover deep code in the kernels where vulnerabilities favor residing. In this paper, we present a practical and effective kernel fuzzing framework, called M OCK , which is capable of learning the contextual dependencies in syscall sequences and then generating context-aware syscall sequences. To conform to the statefulness when fuzzing kernel, M OCK adaptively mutates syscall sequences in line with the calling context. M OCK integrates the context-aware dependency with (1) a customized language model-guided dependency learning algorithm, (2) a context-aware syscall sequence mutation algorithm, and (3) an adaptive task scheduling strategy to balance exploration and exploitation. Our evaluation shows that M OCK performs effectively in achieving branch coverage (up to 32% coverage growth), producing high-quality input (50% more interrelated sequences), and discovering bugs (15% more unique crashes) than the state-of-the-art kernel fuzzers. Various setups including initial seeds and a pre-trained model further boost M OCK ’s performance. Additionally, M OCK also discovers 15 unique bugs in the most recent Linux kernels, including two CVEs.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • NEUZZ: Efficient Fuzzing with Neural Program Smoothing 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
  • SYSYPHUZZ: the Pressure of More Coverage 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • SYSYPHUZZ: the Pressure of More Coverage 引用了 Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAG
  • SYSYPHUZZ: the Pressure of More Coverage 引用了 Evaluating Fuzz Testing
  • Snowplow: Effective Kernel Fuzzing with a Learned White-box Test Mutator 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • Snowplow: Effective Kernel Fuzzing with a Learned White-box Test Mutator 引用了 NEUZZ: Efficient Fuzzing with Neural Program Smoothing
  • Waltzz: WebAssembly Runtime Fuzzing with Stack-Invariant Transformation 引用了 Evaluating Fuzz Testing
  • From Documentation to Zero-day Vulnerabilities: LLM-Driven Fuzzing of JavaScript Engines in PDF Readers 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • 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 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
  • SMARTIAN: Enhancing Smart Contract Fuzzing with Static and Dynamic Data-Flow Analyses 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • Evaluating Fuzz Testing 引用了 Skyfire: Data-Driven Seed Generation for Fuzzing
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Snowplow: Effective Kernel Fuzzing with a Learned White-box Test MutatorSishuai Gong, Wang Rui, Deniz Altinbüken, Pedro Fonseca 等ASPLOS 2025 · 5 次引用
  2. Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAGZhiyu Zhang, Longxing Li, Ruigang Liang, Kai ChenISSTA 2025 · 3 次引用
  3. SYSYPHUZZ: the Pressure of More CoverageZezhong Ren, Han Zheng, Zhiyao Feng, Qinying Wang 等NDSS 2026 · 1 次引用
  4. Waltzz: WebAssembly Runtime Fuzzing with Stack-Invariant TransformationLingming Zhang, Binbin Zhao, Jiacheng Xu, Peiyu Liu 等USENIX Security 2025
  5. From Documentation to Zero-day Vulnerabilities: LLM-Driven Fuzzing of JavaScript Engines in PDF ReadersSuyue Guo, Stijn Pletinckx, Tianle Yu, Yigitcan Kaya 等CCS 2026

它引用的 Paper18

  1. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
  2. Skyfire: Data-Driven Seed Generation for FuzzingJunjie Wang, Bihuan Chen, Lei Wei, Yang LiuS&P 2017 · 382 次引用
  3. NEUZZ: Efficient Fuzzing with Neural Program SmoothingDongdong She, Kexin Pei, Dave Epstein, Junfeng Yang 等S&P 2019 · 220 次引用
  4. MoonShine: Optimizing OS Fuzzer Seed Selection with Trace DistillationShankara Pailoor, Andrew Aday, Suman JanaUSENIX Security 2018 · 180 次引用
  5. SMARTIAN: Enhancing Smart Contract Fuzzing with Static and Dynamic Data-Flow AnalysesJaeseung Choi, Doyeon Kim, Soomin Kim, Gustavo Grieco 等ASE 2021 · 164 次引用

相关 Paper

  1. HEALER: Relation Learning Guided Kernel FuzzingHao Sun, Yuheng Shen, Cong Wang, Jianzhong Liu 等SOSP 2021 · 59 次引用
  2. Configuration-Sensitive Linux Kernel FuzzingYuheng Shen, Jianzhong Liu, Yuhan Chen, Yifei Chu 等ICSE 2026
  3. SyzDiversity: Diversity-Guided Linux Kernel FuzzingKun Hu, Jiaji Qin, Chaofeng Sha, Bihuan Chen 等ISSTA 2026
  4. SegFuzz: Segmentizing Thread Interleaving to Discover Kernel Concurrency Bugs through FuzzingDae R. Jeong, Byoungyoung Lee, Insik Shin, Youngjin KwonS&P 2023
  5. ACTOR: Action-Guided Kernel FuzzingMarius Fleischer, Dipanjan Das, Priyanka Bose, Weiheng Bai 等USENIX Security 2023
黄昏的海面,两侧是细线勾勒的悬崖