Pith. sign in

REVIEW 4 cited by

kAgent: An execution-guided crash resolution agent for the Linux kernel

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2504.20412 v3 pith:GFY6LI2H submitted 2025-04-29 cs.SE cs.AIcs.OS

kAgent: An execution-guided crash resolution agent for the Linux kernel

classification cs.SE cs.AIcs.OS
keywords kagentkernelcrashlinuxrepairbugscomplexcrashes
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

Fuzzing frameworks like syzkaller have uncovered thousands of Linux kernel crashes, many of which are critical and security-sensitive. However, the ability to rapidly repair these crashes has not kept pace, particularly given the complexity and low-level nature of kernel code. Predominantly targeting user-space applications, existing LLM-based program repair techniques are not tailored to the unique challenges posed by kernel fuzz bugs-such as the absence of natural language bug reports, lack of exhaustive test oracles, and highly specialized crash artifacts. Thus, in this work, we first identify the prevalent bottlenecks that generic agents struggle with in complex systems such as the Linux kernel. Guided by these findings, we then build kAgent, a workflow-based agent inspired by how kernel developers diagnose and fix bugs, and kGym++, the co-designed toolstack supporting kAgent's requests. kAgent inspects relevant execution logs, generates execution-grounded natural language hypotheses, synthesizes candidate patches, validates patches through crash reproduction, and iteratively refines its reasoning. We ablate these agentic system features in kAgent and quantitatively analyze their contributions to the overall performance. We also report our experience on building agents for kernel crash repair. Although derived from this work on Linux, we note that our experience applies broadly to fuzzing-discovered bugs in complex systems software. We evaluate kAgent on kBenchSyz and show that it can repair up to 54.5% of crashes without localization and 65% with correct file hints. We also show kAgent's generalization on a few wild Syzkaller bugs, and how different patch types offer varying utility to developers who debug complex system software.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 4 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Code Researcher: Deep Research Agent for Large Systems Code and Commit History

    cs.SE 2025-05 unverdicted novelty 7.0

    Code Researcher retrieves global context via multi-step reasoning on code semantics, patterns, and commit history to fix Linux kernel crashes, reaching 48% crash-resolution rate versus 31% for baselines.

  2. TRIM: Reducing AI-Generated CodeSlop via Agent Trajectory Minimization

    cs.SE 2026-07 conditional novelty 6.0

    TRIM uses an AI coding agent's repair trajectory to prune leftover redundant edits, cutting agent patch size by 17.9–32.9% at about half the validation cost of delta debugging.

  3. Agentic Harness for Real-World Compilers

    cs.SE 2026-03 conditional novelty 6.0

    An LLVM-specific harness and agent raise LLM bug-fix pass rates by about 22 percent over a general agent, but expert review shows true capability stays below 22 percent because LLVM's regression tests accept many inco...

  4. Outrunning LLM Cutoffs: A Live Kernel Crash Resolution Benchmark for All

    cs.SE 2026-02 conditional novelty 6.0

    A live, self-evolving benchmark for Linux kernel crash resolution, with an agent-agnostic evaluation environment, shows agents perform up to 25% better on bugs fixed before LLM knowledge cutoffs.