Reproducer Synthesis for AI-Reported Bugs in the Linux Kernel
Wu et al. in Agents
With DeepSeek-V4-Flash, ReproCue matched 49 of 100 recent Sashiko reviews
Reproducer Synthesis for AI-Reported Bugs in the Linux Kernel
A review names risk, not how to trigger it
It flags suspicious code but leaves the needed calls, kernel state, timing, and setup implicit.
A proof-of-concept (PoC) needs a verifier-valid BPF program calling a kfunc via the target kernel's dynamic BTF ID; the kernel build needs BTF enabled and compatible pahole, the BTF metadata generator.
Replay historical bugs, guide new reproductions

Offline, Strategy and Environment Agents replay historical bugs to learn a finite-state machine (FSM) per subsystem. Online, PoC and Environment Agents use it and execution feedback to refine the PoC and environment.
Historical replays become subsystem FSMs
- 1
Replay cases
Of 806 Syzbot/CVE candidates, 317 successful replays supplied trajectories.
- 2
Encode workflows
Shared operations form common states; recurring tasks like BPF verification become specialized states.
- 3
Store recoveries
Repeated failure-fix paths add return edges and guidance, such as rebuilding after a missing kernel option.
The FSM routes failures to the right work
- 1
One agent at a time
The controller supplies state-specific guidance and tools: the PoC Agent builds triggers; the Environment Agent configures kernel and VM.
- 2
Route by error
Verifier rejection returns to PoC revision; missing BTF sends environment work back to rebuild.
Trace-matching PoCs on 100 recent Sashiko reviews
D4VS=DeepSeek-V4-Flash; K-Repro reimplemented with same model. Target PoCs withheld; LLM cap 500 rounds/100M tokens; SyzDirect 24h/case.
A crash alone did not count
DeepSeek-V4-Flash ReproCue triggered crashes on 52 of the 100 reviews; three were similar faults in other code paths.
A match required the reported fault and call trace; two authors independently reviewed crash-producing cases against their reports, leaving 49 matches.
Known bugs offer a second check
Target PoCs withheld; LLM cap 500 rounds/100M tokens; SyzDirect 24h/bug. ReproCue precision: 89.5% Syzbot, 100.0% CVE.
Removing either core mechanism cuts matches
Same 100 Sashiko reviews; DeepSeek-V4-Flash. No-FSM keeps two agents; no-E removes env tools but retains FSM in static x86.
Environment tools still need coordination
On 100 Sashiko reviews with DeepSeek-V4-Flash, the flat agent kept the FSM and all environment tools, matched 20, and averaged 380.0 steps.
It matched 49 and averaged 136.0 steps; its controller routes rebuilds and clears stale run results.
Maintainers confirmed many submitted PoCs
ReproCue: 49 sent, 35 replies, 34 confirmed/fixed; 1 rejected for brute force. Sashiko: 10 rounds x 100 emails; observational.
Where this evidence stops
Crash-focused
The evaluation covers observable crashes; silent logic, data corruption, and performance regressions need different checks.
Manual matching
Authors compare traces with reports; similar faults may be misassigned, and no PoC does not prove a review false.
Selection and scope
Only matched ReproCue cases were emailed, making reception observational; two models and QEMU may not generalize to rare bugs or unmodeled hardware.
Why it matters
- A trace-matching PoC gives maintainers executable evidence; 34 of 49 submitted reports were confirmed and fixed.
- For crashable reviews, reuse subsystem recovery lessons and coordinate PoC work with kernel and VM setup in isolation.
- Silent defects and hardware-dependent behavior beyond QEMU's device models still need other reproduction checks.
13 slides, 3 min
5 days ago