Taming System Complexity: Demystifying Software Engineering Agents in Diagnosing Linux Kernel Faults
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
The Linux kernel is a critical system, serving as the foundation for numerous systems. Bugs in the Linux kernel can cause serious consequences, affecting billions of users. Fault localization (FL), which aims at identifying the buggy code elements in software, plays an essential role in software quality assurance. While recent LLM agents have achieved promising accuracy in FL on recent benchmarks like SWE-bench, it remains unclear how well these methods perform in the Linux kernel, where FL is much more challenging due to the large-scale code base, limited observability, and diverse impact factors. In this paper, we introduce LinuxFLBench, a FL benchmark constructed from real-world Linux kernel bugs. We conduct an empirical study to assess the performance of state-of-the-art LLM agents on the Linux kernel. Our initial results reveal that existing agents struggle with this task, achieving a best top-1 accuracy of only 41.6% at file level. To address this challenge, we propose LinuxFL^+, an enhancement framework designed to improve FL effectiveness of LLM agents for the Linux kernel. LinuxFL^+ substantially improves the FL accuracy of all studied agents (e.g., 7.2% - 11.2% accuracy increase) with minimal costs.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 9 of its 42 references that are in the map. First posted on arXiv 26 May 2025.
Builds on
9 of 42 references.
Closest ancestors · 2
Same direction, newest first
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 7
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2025SWE-Lancer: Can Frontier LLMs Earn 1 Million from Real-World Freelance Software Engineering?cited by 105
- 2024BM25S: Orders of magnitude faster lexical search via eager sparse scoringcited by 88
- 2024AgentFL: Scaling LLM-based Fault Localization to Project-Level Contextcited by 47
- 2021Fast Changeset-based Bug Localization with BERTcited by 13
- 2024KGym: A Platform and Dataset to Benchmark Large Language Models on Linux Kernel Crash Resolutioncited by 12
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Towards Better Linux Kernel Fault Localization: Leveraging Contrastive Reasoning and Hierarchical Context Analysis ↗
- 2026Outrunning LLM Cutoffs: A Live Kernel Crash Resolution Benchmark for All
- 2026SyzHarness: Patch-Based Kernel Bug Reproduction with LLM-Synthesized Fuzzing Harnesses
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexion
- 2026KernelDiag: Agent-Based Root Cause Diagnosis for Kernel Crashes ↗
- 2025kAgent: An execution-guided crash resolution agent for the Linux kernel
- 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localization
- 2026Patch-to-PoC: A Systematic Study of Agentic LLM Systems for Linux Kernel N-Day Reproduction