Lune

S&P2023Top-tier venue

SyzDescribe: Principled, Automated, Static Generation of Syscall Descriptions for Kernel Drivers

Yu Hao, Guoren Li, Xiaochen Zou, Weiteng Chen, Shitong Zhu, Zhiyun Qian, Ardalan Amiri Sani

Abstract

Fuzz testing operating system kernels has been effective overall in recent years. For example, syzkaller manages to find thousands of bugs in the Linux kernel since 2017. One necessary component of syzkaller is a collection of syscall descriptions that are often provided by human experts. However, to our knowledge, current syscall descriptions are largely written manually, which is both time-consuming and error-prone. It is especially challenging considering that there are many kernel drivers (for new hardware devices and beyond) that are continuously being developed and evolving over time. In this paper, we present a principled solution for generating syscall descriptions for Linux kernel drivers. At its core, we summarize and model the key invariants or programming conventions, extracted from the "contract" between the core kernel and drivers. This allows us to understand programmatically how a kernel driver is initialized and how its associated interfaces are constructed. With this insight, we have developed a solution in a tool called SyzDescribe that has been tested for over hundreds of kernel drivers. We show that the syscall descriptions produced by SyzDescribe are competitive to manually-curated ones, and much better than prior work (i.e., DIFUZE and KSG). Finally, we analyze the gap between our descriptions and the ground truth and point to future improvement opportunities.

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.

21 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

  • Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis cites MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • SyzDirect: Directed Greybox Fuzzing for Linux Kernel cites Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis
  • SyzDirect: Directed Greybox Fuzzing for Linux Kernel cites MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System Verification 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
  • KernelGPT: Enhanced Kernel Fuzzing via Large Language Models cites SyzDirect: Directed Greybox Fuzzing for Linux Kernel
  • KernelGPT: Enhanced Kernel Fuzzing via Large Language Models cites DIFUZE: Interface Aware Fuzzing for Kernel Drivers
  • SyzGen++: Dependency Inference for Augmenting Kernel Driver Fuzzing cites MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • SyzGen++: Dependency Inference for Augmenting Kernel Driver Fuzzing cites DIFUZE: Interface Aware Fuzzing for Kernel Drivers
  • SyzGen++: Dependency Inference for Augmenting Kernel Driver Fuzzing cites Evaluating Fuzz Testing
  • Evaluating Fuzz Testing cites DIFUZE: Interface Aware Fuzzing for Kernel Drivers
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. KernelGPT: Enhanced Kernel Fuzzing via Large Language ModelsChenyuan Yang, Zijie Zhao, Lingming ZhangASPLOS 2025 · 45 citations
  2. SyzDirect: Directed Greybox Fuzzing for Linux KernelXin Tan, Yuan Zhang, Jiadong Lu, Xin Xiong et al.CCS 2023 · 25 citations
  3. SyzGen++: Dependency Inference for Augmenting Kernel Driver FuzzingWeiteng Chen, Yu Hao, Zheng Zhang, Xiaochen Zou et al.S&P 2024 · 12 citations
  4. OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System VerificationShangyu Li, Juyong Jiang, Tiancheng Zhao, Jiasi ShenAAAI 2026 · 10 citations
  5. SimLLM: Calculating Semantic Similarity in Code Summaries using a Large Language Model-Based ApproachXin Jin, Zhiqiang LinFSE 2024 · 8 citations

Builds on25

  1. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei et al.CCS 2018 · 753 citations
  2. DIFUZE: Interface Aware Fuzzing for Kernel DriversJake Corina, Aravind Machiry, Christopher Salls, Yan Shoshitaishvili et al.CCS 2017 · 195 citations
  3. MoonShine: Optimizing OS Fuzzer Seed Selection with Trace DistillationShankara Pailoor, Andrew Aday, Suman JanaUSENIX Security 2018 · 180 citations
  4. Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type AnalysisKangjie Lu, Hong HuCCS 2019 · 142 citations
  5. Enforcing Kernel Security Invariants with Data Flow IntegrityChengyu Song, Byoungyoung Lee, Kangjie Lu, William Harris et al.NDSS 2016 · 141 citations

Related papers

  1. SyzSpec: Specification Generation for Linux Kernel Fuzzing via Under-Constrained Symbolic ExecutionYu Hao, Juefei Pu, Xingyu Li, Zhiyun Qian et al.CCS 2025 · 2 citations
  2. KSG: Augmenting Kernel Fuzzing with System Call Specification GenerationHao Sun, Yuheng Shen, Jianzhong Liu, Yiru Xu et al.USENIX ATC 2022 · 45 citations
  3. SyzGen: Automated Generation of Syscall Specification of Closed-Source macOS DriversWeiteng Chen, Yu Wang, Zheng Zhang, Zhiyun QianCCS 2021 · 25 citations
  4. No Grammar, No Problem: Towards Fuzzing the Linux Kernel without System-Call DescriptionsAlexander Bulekov, Bandan Das, Stefan Hajnoczi, Manuel EgeleNDSS 2023
  5. A Little Goes a Long Way: Tuning Configuration Selection for Continuous Kernel FuzzingSanan Hasanov, Stefan Nagy, Paul GazzilloICSE 2025 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines