A Survey of Fuzzing Open-Source Operating Systems

Kun Hu, Qi-Cai Chen, Zhaogeng Lu, Wei Zhang, Bihuan Chen, You Lü, Haowen Jiang, Bo Sun, Xin Peng, Wenyun ZhaoarXiv 2025 · DOI

Abstract

Vulnerabilities in open-source operating systems (OSs) pose substantial security risks to software systems, making their detection crucial. While fuzzing has been an effective vulnerability detection technique in various domains, OS fuzzing (OSF) faces unique challenges due to OS complexity and multi-layered interaction, and has not been comprehensively reviewed. Therefore, this work systematically surveys the state-of-the-art OSF techniques, categorizes them based on the general fuzzing process, and investigates challenges specific to kernel, file system, driver, and hypervisor fuzzing. Finally, future research directions for OSF are discussed.

Introduction: The Complexity Wall in OS Fuzzing

Operating systems are the bedrock of modern computing, yet their massive codebases remain riddled with vulnerabilities. While "fuzzing"—the process of feeding semi-random inputs to a program to trigger crashes—has seen immense success in user-level applications, it faces a significant "complexity wall" when applied to the OS layer.

OS fuzzing (OSF) is uniquely difficult for three primary reasons:

  1. Architectural Complexity: OSs manage intricate hardware-software interactions that are difficult to simulate accurately.
  2. Multi-layered Interaction: Vulnerabilities often trigger only through specific sequences of system calls combined with precise environmental states, such as a specific disk image configuration.
  3. Environment Isolation: Unlike user-space apps, a kernel crash typically brings down the entire testing environment, necessitating robust isolation to maintain high-throughput testing.

Methodology and Unified Workflow

To address these challenges, researchers have developed specialized techniques across different OS layers. This survey analyzes 60 state-of-the-art papers and major open-source tools published between 2015 and 2024. The authors propose a unified OSF workflow consisting of three core modules: the Input Module, the Fuzzing Engine, and the Running Environment.

Figure 5: (a) Interfaces of each OS layer and (b) General workflow of OSF.

As shown in the workflow above, the process begins with an Input Module that handles seed generation (via patterns, specifications, or traces) and target instrumentation. The Fuzzing Engine manages the lifecycle of these seeds through selection, mutation (at the syscall, argument, or thread level), and trimming. Finally, the Running Environment typically utilizes full-virtual environments (like QEMU) to isolate crashes and collect feedback via sanitizers.

Key Insights: Semantic Awareness and Layer Specifics

The survey identifies several critical trends in how fuzzers have evolved to handle OS complexity:

  • The "Syzkaller" Foundation: Google’s Syzkaller is the dominant force in kernel fuzzing. Most modern research builds upon its "Syzlang" description language to define syscall structures, though manual specification remains a major bottleneck.
  • Semantic Awareness: Effective fuzzers are increasingly "semantically aware," understanding syscall dependencies (e.g., an open call must precede a write) and the complex grammar of device protocols.
  • The Validation Chain Hurdle: Driver fuzzing is uniquely difficult because fuzzers must pass a "validation chain" (enumeration and probing) to reach core logic. Researchers are pivoting toward "device-free" fuzzing, using symbolic execution to bypass hardware checks.
  • Status-Aware Fuzzing: File system fuzzing has shifted toward mutating both the disk image metadata and the operation sequence simultaneously to uncover deep consistency bugs.

The field has seen explosive growth, with the number of kernel vulnerabilities documented by the NVD surging to 3,300 in 2024—a 10x increase over previous years, driven largely by improved fuzzing tools.

Figure 3: Distribution of surveyed papers by year and OS layer.

As illustrated in the temporal distribution above, early research (2015–2018) focused almost exclusively on the kernel. However, since 2020, there has been a significant rise in specialized fuzzers for drivers, file systems, and hypervisors. Furthermore, 77% of this research is concentrated in top-tier security venues (USENIX Security, ACM CCS, IEEE S&P, and NDSS), highlighting the critical importance of OS security.

Future Directions

The survey identifies several frontiers for the next generation of OSF:

  • LLM Integration: Using Large Language Models to automatically generate syscall descriptions and driver grammars to replace slow manual processes.
  • The "Deep State" Problem: Improving the detection of vulnerabilities that require long, specific sequences of states, such as race conditions under memory pressure.
  • Rust Kernels: Pivoting from memory corruption detection to finding complex logic and concurrency bugs as kernels adopt memory-safe languages.
  • Heterogeneous Hardware: Developing better simulation techniques for the vast array of custom hardware peripherals found in IoT and intelligent vehicles.

Summary updated

Abstract

Vulnerabilities in open-source operating systems (OSs) pose substantial security risks to software systems, making their detection crucial. While fuzzing has been an effective vulnerability detection technique in various domains, OS fuzzing (OSF) faces unique challenges due to OS complexity and multi-layered interaction, and has not been comprehensively reviewed. Therefore, this work systematically surveys the state-of-the-art OSF techniques, categorizes them based on the general fuzzing process, and investigates challenges specific to kernel, file system, driver, and hypervisor fuzzing. Finally, future research directions for OSF are discussed.
BibTeX
@misc{hu2025survey,
  author = {Kun Hu and Qi-Cai Chen and Zhaogeng Lu and Wei Zhang and Bihuan Chen and You Lü and Haowen Jiang and Bo Sun and Xin Peng and Wenyun Zhao},
  title = {{A Survey of Fuzzing Open-Source Operating Systems}},
  year = {2025},
  eprint = {2502.13163},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.13163},
}
Figure