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

classification cs.SEcs.AIcs.OS
keywords kagentkernelcrashlinuxrepairbugscomplexcrashes
verification ladder T0 review T1 audit T2 compute T3 formal
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 to comment.

Forward citations

Cited by 4 Pith papers

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

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

    cs.SE 2026-07 conditional novelty 6.0 of 10

    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.

  2. Agentic Harness for Real-World Compilers

    cs.SE 2026-03 conditional novelty 6.0 of 10

    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...

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

    cs.SE 2026-02 conditional novelty 6.0 of 10

    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.

  4. BitsAI-Fix: LLM-Driven Approach for Automated Lint Error Resolution in Practice

    cs.SE 2025-08 conditional novelty 6.0 of 10

    A 32B LLM trained with progressive reinforcement learning on cold-start and user-feedback data fixes Go lint errors at 84.68% accuracy with 1.72% redundancy on a private ByteDance test set.

Pith tools