arXiv Science⌕ Search

arXiv · 2611.34142

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Xiao Wu, Yunbo Ni, Hao Sun, Yuanyuan Yuan, Shaohua Li. 2026-11-25. Reproducer Synthesis for AI-Reported Bugs in the Linux Kernel. https://arxiv.science/abs/2611.34142

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Resolving an Idle-Time Accounting Hazard in Linux Load Balancing

The Linux kernel scheduler uses per-runqueue idle-time history (avg_idle) to decide whether searching other CPUs for runnable work justifies its execution overhead. This estimate is an active input to new-idle load balancing, helping determine whether a search continues across scheduling domains. This operational study presents the design and subsequent hardening of idle-time accounting through two upstream patch series. The original wakeup-side accounting missed legitimate idle exits associated with task creation, exec-related placement paths, and load-balancing migration. Introducing update_rq_avg_idle() and moving accounting to idle-task switch-out broadened coverage beyond wakeup-specific arrival paths. However, the broader consumer could also reach histories without a valid start timestamp. Subtracting zero from the runqueue clock constructs a sample unrelated to the measured idle interval and can rapidly saturate the bounded estimator, weakening new-idle balance cost gating. We describe the accounting redesign and its refinement using public development archives, patch iterations (v1-v8 and v1-v3), runtime tracing, independent review, and upstream integration records. A configuration-independent ttwu_pending history reaches the relocated consumer without a compatible measurement start. Core Scheduling force-idling and proxy execution further show why mechanically symmetric idle-entry timestamping is insufficient. From this incident and two retrospective scheduler cases, we extract a state-lifetime audit organized around missing establishment, premature consumption, and stale consumption. We distinguish these correctness findings from performance attribution, for which a controlled three-variant experiment remains necessary.

cs.OS↗

Ambar: Memory Management for Agentic AI Sandboxes at Scale

Agentic AI creates growing demand for datacenter CPUs to execute tools inside sandboxes. Our characterization of open-source agentic AI benchmarks and our sandbox workloads shows that memory capacity prevents servers from fully utilizing these CPUs. The cause is a mismatch between CPU and memory demand: sandboxes execute tools in short bursts, then wait for LLM responses or user input while their memory remains stranded. Servers can use these idle periods to colocate more agents and improve datacenter efficiency, but server memory capacity limits the number of agents each can support. To increase effective memory capacity, idle sandboxes can be compressed or moved to slower memory tiers, e.g., CXL or SSDs. However, these operations and later memory restoration consume cycles and delay tool execution. Hence, memory management must increase effective memory capacity while preserving cycles for new agents and avoiding delays when idle agents resume execution. We propose Ambar, an agent-aware memory manager that jointly manages memory tiering and compression to support more concurrent agents per server while limiting execution overhead. Under memory pressure, Ambar decides which sandboxes to move to a slower memory tier, compress, or both. It predicts sandbox idle time and weighs the local memory it frees against the time needed to reclaim and restore its memory before tool execution resumes. To make reclamation practical, Ambar introduces three optimizations: (i) efficient snapshotting with (ii) hot-page tracking to reduce state-preservation work and eagerly restore only the memory that the next tool needs, and (iii) it offloads data movement and compression to hardware accelerators. Compared to conventional frameworks, Ambar increases the number of agents per server by 5.9x and CPU utilization by 5.0x, while limiting agent P99 latency increases by up to 6.3%.

cs.OS↗

safeL4: Rethinking Safe-Language-Based Single Address Space Microkernels

Microkernels provide good features such as high security, safety, and flexibility, but their reliance on hardware-based isolation leads to heavy performance overhead, limiting their widespread adoption. Although constructing single-address-space microkernels based on safe language-based isolation is a promising approach to addressing the performance issue, this approach still faces challenges in maintaining the principle of minimality and enforcing capability-based, fine-grained access control over system resources. We propose safeL4, an approach to constructing microkernels based on safe languages. It guarantees minimality through low-level abstractions for unsafe operations, and implements a capability system based on the safe language's object capabilities to achieve fine-grained access control over all operations on system resources. We implement a prototype system in Rust, and our evaluation results show that the primitives provided by safeL4 are, on average, 1.9$\times$ faster than those of seL4.

cs.OS↗