A Little Goes a Long Way: Tuning Configuration Selection for Continuous Kernel Fuzzing
Authors:
Open Access
- 26 April 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 795-807
Abstract
The Linux kernel is actively-developed and widely-used. It supports billions of devices of all classes, from high-performance computing to the Internet-of-Things, in part because of its sophisticated configuration system, which automatically tailors the source code according to thousands of user-provided configuration options. Fuzzing has been highly successful at finding kernel bugs, being among the top bug reporters. Since the kernel receives 100s of patches per day, fuzzers run continuously, stopping regularly to rebuild the kernel with the latest changes before restarting fuzzing. But kernel fuzzers currently use predefined configuration settings that, as we show, exclude the majority of new patches from the kernel binary, nullifying the benefits of continuous fuzzing. Unfortunately, state-of-the-art configuration testing techniques are generally ill-suited to the needs of continuous fuzzing, excluding necessary options or requiring too many configuration files to be tractable. We distill down the needs of continuous testing into six properties with the most impact, systematically analyze the space of configuration selection strategies, and provide actionable recommendations. Through our analysis, we discover that continuous fuzzers can improve configuration variety without sacrificing performance. We empirically evaluate our discovery by modifying the configuration selection strategy for syzkaller, the most popular Linux kernel fuzzer, which subsequently found more than twice as many new bugs (35 vs. 13) than with the original configuration file and 12x more (24 vs. 2) when considering only unique bugs-with one security vulnerability being assigned a CVE.Keywords
Funding Information
- National Science Foundation (CCF-1941816)
This publication has 47 references indexed in Scilit:
- POWER: Program Option-Aware Fuzzer for High Bug Detection Ability2022
- Variability through the Eyes of the Programmer2017
- Continuous Fuzzing with libFuzzer and AddressSanitizer2016
- Variability encoding: From compile-time to load-time variabilityJournal of Logical and Algebraic Methods in Programming, 2016
- Feature-Oriented Software Product Lines2013
- IEEE Standard for Configuration Management in Systems and Software Engineering2012
- Evolution of the Linux Kernel Variability Model2010
- A test generation strategy for pairwise testingIEEE Transactions on Software Engineering, 2002
- The Apache HTTP Server ProjectIEEE Internet Computing, 1997
- The combinatorial design approach to automatic test generationIEEE Software, 1996