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
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
- SyzDirect: Directed Greybox Fuzzing for Linux Kernel 引用了 Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis
- SyzDirect: Directed Greybox Fuzzing for Linux Kernel 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
- OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System Verification 引用了 KernelGPT: Enhanced Kernel Fuzzing via Large Language Models
- KernelGPT: Enhanced Kernel Fuzzing via Large Language Models 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
- KernelGPT: Enhanced Kernel Fuzzing via Large Language Models 引用了 SyzDirect: Directed Greybox Fuzzing for Linux Kernel
- KernelGPT: Enhanced Kernel Fuzzing via Large Language Models 引用了 DIFUZE: Interface Aware Fuzzing for Kernel Drivers
- SyzGen++: Dependency Inference for Augmenting Kernel Driver Fuzzing 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
- SyzGen++: Dependency Inference for Augmenting Kernel Driver Fuzzing 引用了 DIFUZE: Interface Aware Fuzzing for Kernel Drivers
- SyzGen++: Dependency Inference for Augmenting Kernel Driver Fuzzing 引用了 Evaluating Fuzz Testing
- Evaluating Fuzz Testing 引用了 DIFUZE: Interface Aware Fuzzing for Kernel Drivers
引用它的顶会 Paper21
- KernelGPT: Enhanced Kernel Fuzzing via Large Language ModelsChenyuan Yang, Zijie Zhao, Lingming ZhangASPLOS 2025 · 45 次引用
- SyzDirect: Directed Greybox Fuzzing for Linux KernelXin Tan, Yuan Zhang, Jiadong Lu, Xin Xiong 等CCS 2023 · 25 次引用
- SyzGen++: Dependency Inference for Augmenting Kernel Driver FuzzingWeiteng Chen, Yu Hao, Zheng Zhang, Xiaochen Zou 等S&P 2024 · 12 次引用
- OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System VerificationShangyu Li, Juyong Jiang, Tiancheng Zhao, Jiasi ShenAAAI 2026 · 10 次引用
- SimLLM: Calculating Semantic Similarity in Code Summaries using a Large Language Model-Based ApproachXin Jin, Zhiqiang LinFSE 2024 · 8 次引用
它引用的 Paper25
- Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
- DIFUZE: Interface Aware Fuzzing for Kernel DriversJake Corina, Aravind Machiry, Christopher Salls, Yan Shoshitaishvili 等CCS 2017 · 195 次引用
- MoonShine: Optimizing OS Fuzzer Seed Selection with Trace DistillationShankara Pailoor, Andrew Aday, Suman JanaUSENIX Security 2018 · 180 次引用
- Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type AnalysisKangjie Lu, Hong HuCCS 2019 · 142 次引用
- Enforcing Kernel Security Invariants with Data Flow IntegrityChengyu Song, Byoungyoung Lee, Kangjie Lu, William Harris 等NDSS 2016 · 141 次引用
相关 Paper
- SyzSpec: Specification Generation for Linux Kernel Fuzzing via Under-Constrained Symbolic ExecutionYu Hao, Juefei Pu, Xingyu Li, Zhiyun Qian 等CCS 2025 · 2 次引用
- KSG: Augmenting Kernel Fuzzing with System Call Specification GenerationHao Sun, Yuheng Shen, Jianzhong Liu, Yiru Xu 等USENIX ATC 2022 · 45 次引用
- SyzGen: Automated Generation of Syscall Specification of Closed-Source macOS DriversWeiteng Chen, Yu Wang, Zheng Zhang, Zhiyun QianCCS 2021 · 25 次引用
- No Grammar, No Problem: Towards Fuzzing the Linux Kernel without System-Call DescriptionsAlexander Bulekov, Bandan Das, Stefan Hajnoczi, Manuel EgeleNDSS 2023
- A Little Goes a Long Way: Tuning Configuration Selection for Continuous Kernel FuzzingSanan Hasanov, Stefan Nagy, Paul GazzilloICSE 2025 · 6 次引用
