Lune

CCS2023Top-tier venue

SyzDirect: Directed Greybox Fuzzing for Linux Kernel

Xin Tan, Yuan Zhang, Jiadong Lu, Xin Xiong, Zhuang Liu, Min Yang

Abstract

Bug reports and patch commits are dramatically increasing for OS kernels, incentivizing a critical need for kernel-level bug reproduction and patch testing. Directed greybox fuzzing (DGF), aiming to stress-test a specific part of code, is a promising approach for bug reproduction and patch testing. However, the existing DGF methods exclusively target user-space applications, presenting intrinsic limitations in handling OS kernels. In particular, these methods cannot pinpoint the appropriate system calls and the needed syscall parameter values to reach the target location, resulting in low efficiency and waste of resources. In this paper, we present SyzDirect, a DGF solution for the Linux kernel. With a novel, scalable static analysis of the Linux kernel, SyzDirect identifies valuable information such as correct system calls and conditions on their arguments to reach the target location. During fuzzing, SyzDirect utilizes the static analysis results to guide the generation and mutation of test cases, followed by leveraging distance-based feedback for seed prioritization and power scheduling. We evaluated SyzDirect on upstream Linux kernels for bug reproduction and patch testing. The results show that SyzDirect can reproduce 320% more bugs and reach 25.6% more target patches than generic kernel fuzzers. It also improves the speed of bug reproduction and patch reaching by a factor of 154.3 and 680.9, respectively.

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.

18 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

  • MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation cites kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • A Little Goes a Long Way: Tuning Configuration Selection for Continuous Kernel Fuzzing cites kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • Snowplow: Effective Kernel Fuzzing with a Learned White-box Test Mutator cites MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • Snowplow: Effective Kernel Fuzzing with a Learned White-box Test Mutator cites kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • Snowplow: Effective Kernel Fuzzing with a Learned White-box Test Mutator cites Directed Greybox Fuzzing
  • Snowplow: Effective Kernel Fuzzing with a Learned White-box Test Mutator cites KernelGPT: Enhanced Kernel Fuzzing via Large Language Models
  • REDQUEEN: Fuzzing with Input-to-State Correspondence cites kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • PortGPT: Towards Automated Backporting Using Large Language Models cites KernelGPT: Enhanced Kernel Fuzzing via Large Language Models
  • Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAG cites MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAG cites kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAG cites KernelGPT: Enhanced Kernel Fuzzing via Large Language Models
  • KernelGPT: Enhanced Kernel Fuzzing via Large Language Models cites MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers18

  1. KernelGPT: Enhanced Kernel Fuzzing via Large Language ModelsChenyuan Yang, Zijie Zhao, Lingming ZhangASPLOS 2025 · 45 citations
  2. A Little Goes a Long Way: Tuning Configuration Selection for Continuous Kernel FuzzingSanan Hasanov, Stefan Nagy, Paul GazzilloICSE 2025 · 6 citations
  3. Snowplow: Effective Kernel Fuzzing with a Learned White-box Test MutatorSishuai Gong, Wang Rui, Deniz Altinbüken, Pedro Fonseca et al.ASPLOS 2025 · 5 citations
  4. Unlocking Low Frequency Syscalls in Kernel Fuzzing with Dependency-Based RAGZhiyu Zhang, Longxing Li, Ruigang Liang, Kai ChenISSTA 2025 · 3 citations
  5. PortGPT: Towards Automated Backporting Using Large Language ModelsZhaoyang Li, Zheng Yu, Jingyi Song, Meng Xu et al.S&P 2026 · 2 citations

Builds on29

  1. Directed Greybox FuzzingMarcel Böhme, Van-Thuan Pham, Manh-Dung Nguyen, Abhik RoychoudhuryCCS 2017 · 836 citations
  2. REDQUEEN: Fuzzing with Input-to-State CorrespondenceCornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik et al.NDSS 2019 · 413 citations
  3. Hawkeye: Towards a Desired Directed Grey-box FuzzerHongxu Chen, Yinxing Xue, Yuekang Li, Bihuan Chen et al.CCS 2018 · 335 citations
  4. kAFL: Hardware-Assisted Feedback Fuzzing for OS KernelsSergej Schumilo, Cornelius Aschermann, Robert Gawlik, Sebastian Schinzel et al.USENIX Security 2017 · 324 citations
  5. MoonShine: Optimizing OS Fuzzer Seed Selection with Trace DistillationShankara Pailoor, Andrew Aday, Suman JanaUSENIX Security 2018 · 180 citations

Related papers

  1. BEACON: Directed Grey-Box Fuzzing with Provable Path PruningHeqing Huang, Yiyuan Guo, Qingkai Shi, Peisen Yao et al.S&P 2022 · 139 citations
  2. SelectFuzz: Efficient Directed Fuzzing with Selective Path ExplorationChanghua Luo, Wei Meng, Penghui LiS&P 2023
  3. Predecessor-aware Directed Greybox FuzzingYujian Zhang, Yaokun Liu, Jinyu Xu, Yanhao WangS&P 2024 · 8 citations
  4. Fuzzing File Systems via Two-Dimensional Input Space ExplorationWen Xu, Hyungon Moon, Sanidhya Kashyap, Po-Ning Tseng et al.S&P 2019 · 117 citations
  5. DDRace: Finding Concurrency UAF Vulnerabilities in Linux Drivers with Directed FuzzingMing Yuan, Bodong Zhao, Penghui Li, Jiashuo Liang et al.USENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines