MigGPT: Harnessing Large Language Models for Automated Migration of Out-of-Tree Linux Kernel Patches Across Versions
Not on the map. Why?
Abstract (arXiv)
Out-of-tree kernel patches are essential for adapting the Linux kernel to new hardware or enabling specific functionalities. Maintaining and updating these patches across different kernel versions demands significant effort from experienced engineers. Large language models (LLMs) have shown remarkable progress across various domains, suggesting their potential for automating out-of-tree kernel patch migration. However, our findings reveal that LLMs, while promising, struggle with incomplete code context understanding and inaccurate migration point identification. In this work, we propose MigGPT, a framework that employs a novel code fingerprint structure to retain code snippet information and incorporates three meticulously designed modules to improve the migration accuracy and efficiency of out-of-tree kernel patches. Furthermore, we establish a robust benchmark using real-world out-of-tree kernel patch projects to evaluate LLM capabilities. Evaluations show that MigGPT significantly outperforms the direct application of vanilla LLMs, achieving an average completion rate of 74.07 for migration tasks.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 24 of its 59 references that are in the map. First posted on arXiv 13 Apr 2025.
Builds on
24 of 59 references.
References · 24
- 2023GPT-4 Technical Reportcited by 18,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023StarCoder: may the source be with you!cited by 790
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2022Few-shot training LLMs for project-specific code-summarizationcited by 128
- 2020Code Prediction by Feeding Trees to Transformerscited by 70
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
12 more
- 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 55
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 49
- 2022Bidirectional Language Models Are Also Few-shot Learnerscited by 48
- 2023Large Language Models and Simple, Stupid Bugscited by 45
- 2023Augmenting Greybox Fuzzing with Generative AIcited by 18
- 2016Learning Syntactic Program Transformations from Examplescited by 17
- 2023KernelGPT: Enhanced Kernel Fuzzing via Large Language Modelscited by 17
- 2024Unprecedented Code Change Automation: The Fusion of LLMs and Transformation by Examplecited by 15
- 2022BlockScope: Detecting and Investigating Propagated Vulnerabilities in Forked Blockchain Projectscited by 4
- 2020Automatic Android Deprecated-API Usage Update by Learning from Single Updated Examplecited by 3
- 2024Automating Zero-Shot Patch Porting for Hard Forkscited by 3
- 2025BYOS: Knowledge-driven Large Language Models Bring Your Own Operating System More Excellentcited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.