Reproducer Synthesis for AI-Reported Bugs in the Linux Kernel
Abstract
Agentic review systems are increasingly flagging suspected bugs in Linux kernel patches as textual reports. A maintainer who receives such reports needs further inspection to determine whether the report is true. The inspection requires understanding whether the bug can be triggered and, if necessary, manually constructing one. As a consequence, despite the excessive textual explanation, many reports go unanswered. In this paper, we argue that a runnable proof-of-concept (PoC) is the key information in such AI-generated kernel review reports. It is, however, challenging to automatically synthesize a valid and runnable PoC. We present ReproCue, a framework that generates PoCs for AI-generated Linux kernel reviews. ReproCue replays the historical kernel bugs and learns one reproduction finite-state-machine (FSM) per subsystem from successful runs. An FSM records the steps a reproduction goes through, together with the requirements observed at each step. Given a new review, ReproCue follows the FSM of that subsystem, adjusting the PoC and the environment as execution shows what is missing. In 100 recent AI-generated reviews, ReproCue writes PoCs for 49 of them, compared with 10 for the current agentic reproducer and 9 for the state-of-the-art directed fuzzing. Excitingly, with our generated PoCs, Linux kernel maintainers confirmed 69.4% of them, much higher than 9.3% from Sashiko where only textual explanations are included, making AI reviews more actionable in practice.
Create a lesson
Metadata
- Categories
- cs.OS, cs.AI, cs.SE
- Comments
- 16 pages, 4 figures
Related papers
Breaking the Coupling: Efficient Concurrency Fuzzing for Linux Kernel Data Race Detection
Shared title terminologycs.OSCen Zhang, Jia-Ju Bai, Zi-Yu Zhang et al.
Concurrency Testing in the Linux Kernel via eBPF
Shared title terminologycs.OSJiacheng Xu, Dylan Wolff, Xing Yi Han et al.
Hotness Fragmentation Limits Linux Proactive Reclaim: An Experimental Study of Object Placement, zswap, and cgroup v2 memory.reclaim
Shared title terminologycs.OSLin Ju
Resolving an Idle-Time Accounting Hazard in Linux Load Balancing
Shared title terminologycs.OSShubhang Kaushik
Bring Cloud-Native Networking to FreeBSD Jails: Porting Calico from Linux
Shared title terminologycs.OSSoma Sakaguchi, Shintaro Suzuki, Yuki Nakata et al.
Benchmarking Linux CGroup and Schedule Idle
Shared title terminologycs.OSAnna Arpaci-Dusseau