AutoKFL: Linux Kernel Fault Localization via ReAct-Based Multi-Agent Framework with Dynamic Crash Reproduction

Fault localization (FL) is the task of identifying code locations responsible for bugs in software, and it is a prerequisite step in the bug-fixing process. FL in large-scale systems such as the Linux kernel involves three core challenges: First, the vast codebase fundamentally complicates fault search. Second, the structural characteristics of the kernel environment severely restrict runtime visibility. Third, the diverse and non-trivial root causes of kernel faults expand the reasoning space exponentially. To address these challenges, we make the following observations: (1) decomposing the analysis process into functionally separated agents progressively narrows the search scope, (2) sufficient information for analysis can be extracted from static artifacts collected at crash time without runtime instrumentation, and (3) iterative interaction among agents extends the search scope to non-trivial root causes. Based on these observations, we propose AutoKFL, an automated FL system for Linux kernel crashes. AutoKFL employs four cooperating large language model (LLM)-based agents—crash observer, code collector, code analyzer, and evidence synthesizer—to perform crash observation, code collection, code analysis, and evidence synthesis in sequence. Each agent operates in a reasoning–acting (ReAct) manner and supports iterative exploration through conditional routing that allows returning to a prior stage when necessary. In experiments on 208 Linux kernel crashes reported on Syzbot, AutoKFL achieved a file-level Recall@1 of 0.77 and a mean reciprocal rank (MRR) of 0.822, outperforming single-LLM-call approaches across both file-level and function-level localization.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-06-30
DOI
https://doi.org/10.3390/s26134129
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AutoKFL: Linux Kernel Fault Localization via ReAct-Based Multi-Agent Framework with Dynamic Crash Reproduction

Seungho Jeon, Seong Oun Hwang, JungWoo Park, Minju Kang
Sensors
Software Testing and Debugging Techniques
article

AutoKFL: Linux Kernel Fault Localization via ReAct-Based Multi-Agent Framework with Dynamic Crash Reproduction

Seungho Jeon, Seong Oun Hwang, JungWoo Park, Minju Kang
article en

Abstract

Fault localization (FL) is the task of identifying code locations responsible for bugs in software, and it is a prerequisite step in the bug-fixing process. FL in large-scale systems such as the Linux kernel involves three core challenges: First, the vast codebase fundamentally complicates fault search. Second, the structural characteristics of the kernel environment severely restrict runtime visibility. Third, the diverse and non-trivial root causes of kernel faults expand the reasoning space exponentially. To address these challenges, we make the following observations: (1) decomposing the analysis process into functionally separated agents progressively narrows the search scope, (2) sufficient information for analysis can be extracted from static artifacts collected at crash time without runtime instrumentation, and (3) iterative interaction among agents extends the search scope to non-trivial root causes. Based on these observations, we propose AutoKFL, an automated FL system for Linux kernel crashes. AutoKFL employs four cooperating large language model (LLM)-based agents—crash observer, code collector, code analyzer, and evidence synthesizer—to perform crash observation, code collection, code analysis, and evidence synthesis in sequence. Each agent operates in a reasoning–acting (ReAct) manner and supports iterative exploration through conditional routing that allows returning to a prior stage when necessary. In experiments on 208 Linux kernel crashes reported on Syzbot, AutoKFL achieved a file-level Recall@1 of 0.77 and a mean reciprocal rank (MRR) of 0.822, outperforming single-LLM-call approaches across both file-level and function-level localization.

SensorsVol. 26(13)
Gachon University (KR)
Peace, Justice and strong institutions
Openalex Percentile: Top 7%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.