mlsanityData to 14 Oct 2026

Rethinking Kernel Program Repair: Benchmarking and Enhancing LLMs with RGym

arXiv 2511.15757 ↗First posted 19 Nov 2025cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have revolutionized automated program repair (APR) but current benchmarks like SWE-Bench predominantly focus on userspace applications and overlook the complexities of kernel-space debugging and repair. The Linux kernel poses unique challenges due to its monolithic structure, concurrency, and low-level hardware interactions. Prior efforts such as KGym and CrashFixer have highlighted the difficulty of APR in this domain, reporting low success rates or relying on costly and complex pipelines and pricey cloud infrastructure. In this work, we introduce RGym, a lightweight, platform-agnostic APR evaluation framework for the Linux kernel designed to operate on local commodity hardware. Built on RGym, we propose a simple yet effective APR pipeline leveraging specialized localization techniques (e.g., call stacks and blamed commits) to overcome the unrealistic usage of oracles in KGym. We test on a filtered and verified dataset of 143 bugs. Our method achieves up to a 43.36% pass rate with GPT-5 Thinking while maintaining a cost of under 0.20 per bug. We further conduct an ablation study to analyze contributions from our proposed localization strategy, prompt structure, and model choice, and demonstrate that feedback-based retries can significantly enhance success rates.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 19 Nov 2025.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Outrunning LLM Cutoffs: A Live Kernel Crash Resolution Benchmark for All
  2. 2024Aligning the Objective of LLM-based Program Repair
  3. 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency
  4. 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Models
  5. 2025kAgent: An execution-guided crash resolution agent for the Linux kernel
  6. 2026Beyond Crash-to-Patch: Patch Evolution for Linux Kernel Repair
  7. 2025Automated Repair of C Programs Using Large Language Models
  8. 2026Refine After Generation: Toward Correct and Concise Patches in LLM-based Program Repair