Abstract
How can we effectively search for bugs in thousands of programs using a standard PC? This research shifts the focus from the "fuzzer" (the tool generating test cases) to the scheduler—the logic that determines which programs to fuzz and for how long. We demonstrate that a well-designed scheduling strategy is as impactful as utilizing a state-of-the-art fuzzer. By introducing BOIAN, a dynamic scheduler based on Multi-Armed Bandits, we achieved a 30% performance boost over standard methods and uncovered 4,908 bugs across a newly compiled benchmark of 5,467 Ubuntu programs.
Introduction: Wide Fuzzing vs. Deep Fuzzing
Fuzzing is a cornerstone of modern security, traditionally focused on "Deep Fuzzing"—spending weeks to find complex bugs in high-profile targets like the Linux Kernel. However, a different challenge exists: Wide Fuzzing. This occurs when an organization needs to audit thousands of internal tools or an entire Linux distribution. In these scenarios, the number of programs far exceeds available CPU cores.
The industry standard, used by platforms like Google’s OSS-Fuzz, typically employs a baseline scheduler that allocates equal time to every program. This research argues that such an approach is wasteful, as some programs yield bugs quickly while others plateau, hogging resources unnecessarily. The challenge is dynamically allocating CPU time to maximize the total number of bugs found across the entire fleet.
Methodology: The BOIAN Scheduler
To address the inefficiencies of static scheduling, the authors model the problem as a Multi-Armed Bandit (MAB) problem. Each program is treated as a "bandit arm," and the "reward" is the amount of new code coverage achieved.
The authors developed BOIAN, a sophisticated dynamic scheduler that accounts for the non-stationary nature of fuzzing rewards. As shown in the figure above, coverage typically increases rapidly at the start and then plateaus. BOIAN utilizes a Discounted MAB approach, exponentially discounting older results to prioritize programs showing recent progress. It dynamically cycles the discount rate and increases exploration over time to prevent getting stuck on programs that had a lucky start but have since dried up.
Evaluation and Benchmarking
To test scaling, the researchers introduced UBUNTUBENCH, a massive benchmark of 5,467 programs derived from Ubuntu packages. They also validated results on 345 binaries from Google’s OSS-Fuzz.
Key findings include:
- The Scheduler as a Force Multiplier: Switching from a basic scheduler to BOIAN provided a 41% performance boost, significantly higher than the 14% boost gained by switching from the AFL fuzzer to the more advanced AFL++.
- Massive Bug Discovery: Using BOIAN on a 30-core machine, the researchers identified 4,908 unique bugs in 675 different Ubuntu programs within just 72 hours.
- Scalability: The framework successfully managed 5,000 simultaneous sessions on a single machine with minimal computational overhead.
Conclusion and Future Work
The results prove that advancing schedulers is fundamental for fuzzing at scale. While code coverage is a useful proxy, future work will explore more complex reinforcement learning models and automated triage to handle the massive volume of bugs discovered. As the efficiency of finding bugs increases, the bottleneck is shifting from discovery to automated reporting and remediation.
Summary updated