Metraipolis › archive › dc_81d1beae7a61

Beyond Crash-to-Patch: Patch Evolution for Linux Kernel Repair — arXiv:2604.03851

Source
arXiv (en)
Original
https://arxiv.org/abs/2604.03851
License (as archived)
CC0-1.0
Archived
2026-11-05T18:32:35.290Z
SHA-256 of the archived text
f6a5f65a6199e264534d43934857a0c7d4fa6693ad8d1aa87138839626a367f8
Stable URL of this page
https://metraipolis.com/documento/dc_81d1beae7a61

How to cite

Beyond Crash-to-Patch: Patch Evolution for Linux Kernel Repair — arXiv:2604.03851 — arXiv (en), https://arxiv.org/abs/2604.03851 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_81d1beae7a61 (Metraipolis archive dc_81d1beae7a61, sha256 f6a5f65a6199e264534d43934857a0c7d4fa6693ad8d1aa87138839626a367f8)
BibTeX
@misc{dc81d1beae7a61,
  title = {Beyond Crash-to-Patch: Patch Evolution for Linux Kernel Repair — arXiv:2604.03851},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2604.03851},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_81d1beae7a61; sha256 f6a5f65a6199e264534d43934857a0c7d4fa6693ad8d1aa87138839626a367f8},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2604.03851. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Linux kernel bug repair is typically approached as a direct mapping from crash reports to code patches. In practice, however, kernel fixes undergo iterative revision on mailing lists before acceptance, with reviewer feedback shaping correctness, concurrency handling, and API compliance. This iterative refinement process encodes valuable repair knowledge that existing automated approaches overlook. We present a large-scale study of kernel patch evolution, reconstructing 6946 syzbot-linked bug-fix lifecycles that connect crash reports, reproducers, mailing-list discussions, revision histories, and merged fixes. Our analysis confirms that accepted repairs are frequently non-local and governed by reviewer-enforced constraints not present in bug reports. Building on these insights, we develop PatchAdvisor, a repair framework that integrates retrieval-based memory with a fine-tuned diagnostic advisor to guide a coding agent toward reviewer-aligned patches. Evaluation on temporally held-out syzbot cases demonstrates that leveraging patch-evolution history yields measurable gains in both reviewer-aligned refinement signals and end-to-end repair quality compared to unguided and retrieval-only baselines.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.OS, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Operating Systems (cs.OS).
Pagina del lavoro: https://arxiv.org/abs/2604.03851 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-05T18:22:34.046Z dalla pagina https://arxiv.org/list/cs.OS/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).