KernelGPT: Enhanced Kernel Fuzzing via Large Language Models
Not on the map. Why?
Abstract (arXiv)
Bugs in operating system kernels can affect billions of devices and users all over the world. As a result, a large body of research has been focused on kernel fuzzing, i.e., automatically generating syscall (system call) sequences to detect potential kernel bugs or vulnerabilities. Kernel fuzzing aims to generate valid syscall sequences guided by syscall specifications that define both the syntax and semantics of syscalls. While there has been existing work trying to automate syscall specification generation, this remains largely manual work, and a large number of important syscalls are still uncovered. In this paper, we propose KernelGPT, the first approach to automatically synthesizing syscall specifications via Large Language Models (LLMs) for enhanced kernel fuzzing. Our key insight is that LLMs have seen massive kernel code, documentation, and use cases during pre-training, and thus can automatically distill the necessary information for making valid syscalls. More specifically, KernelGPT leverages an iterative approach to automatically infer the specifications, and further debug and repair them based on the validation feedback. Our results demonstrate that KernelGPT can generate more new and valid specifications and achieve higher coverage than state-of-the-art techniques. So far, by using newly generated specifications, KernelGPT has already detected 24 new unique bugs in Linux kernel, with 12 fixed and 11 assigned with CVE numbers. Moreover, a number of specifications generated by KernelGPT have already been merged into the kernel fuzzer Syzkaller, following the request from its development team.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 22 of its 65 references that are in the map. First posted on arXiv 31 Dec 2023.
Builds on
22 of 65 references.
References · 22
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2023StarCoder: may the source be with you!cited by 790
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 102
10 more
- 2023No More Manual Tests? Evaluating and Improving ChatGPT for Unit Test Generationcited by 82
- 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
- 2023Large Language Models are Edge-Case Fuzzers: Testing Deep Learning Libraries via FuzzGPTcited by 36
- 2023Learning Deep Semantics for Test Completioncited by 31
- 2022Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Sourcecited by 27
- 2017Learn&Fuzz: Machine Learning for Input Fuzzingcited by 23
- 2023Augmenting Greybox Fuzzing with Generative AIcited by 18
- 2023Fuzzing Automatic Differentiation in Deep-Learning Librariescited by 16
- 2017Not all bytes are equal: Neural byte sieve for fuzzingcited by 5
- 2018Recurrent Neural Networks for Fuzz Testing Web Browserscited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 9; 2026: 6.
17 papers.
Sort:
By area:
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 46
- 2025EquiBench: Benchmarking Large Language Models' Reasoning about Program Semantics via Equivalence Checkingcited by 23
- 2025KNighter: Transforming Static Analysis with LLM-Synthesized Checkerscited by 22
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systemscited by 11
- 2025Benchmarking LLMs for Unit Test Generation from Real-World Functionscited by 8
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detectioncited by 4
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
- 2025MigGPT: Harnessing Large Language Models for Automated Migration of Out-of-Tree Linux Kernel Patches Across Versionscited by 2
- 2025deepSURF: Detecting Memory Safety Vulnerabilities in Rust Through Fuzzing LLM-Augmented Harnessescited by 1
- 2025Prompting for Performance: Exploring LLMs for Configuring Softwarecited by 1
- 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Searchcited by 1
5 more
- 2026Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM Agentscited by 1
- 2026Revelio: Cost-Efficient Agentic Memory Safety Vulnerability Detection For Repository-Scale Codebasescited by 1
- 2025On the Mistaken Assumption of Interchangeable Deep Reinforcement Learning Implementationscited by 0
- 2026VCAO: Verifier-Centered Agentic Orchestration for Strategic OS Vulnerability Discoverycited by 0
- 2026OSFoundry: Building and Evolving Operating Systems with Specification-Guided Agentscited by 0
- 2026OSFoundry: Building and Evolving Operating Systems with Specification-Guided Agents8 Aug 2026
- 2026Revelio: Cost-Efficient Agentic Memory Safety Vulnerability Detection For Repository-Scale Codebases20 Jun 2026
- 2026Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM Agents28 May 2026
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detection13 Apr 2026
- 2026VCAO: Verifier-Centered Agentic Orchestration for Strategic OS Vulnerability Discovery9 Apr 2026
- 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Search23 Mar 2026
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systems20 Dec 2025
- 2025Benchmarking LLMs for Unit Test Generation from Real-World Functions1 Aug 2025
- 2025Prompting for Performance: Exploring LLMs for Configuring Software13 Jul 2025
- 2025deepSURF: Detecting Memory Safety Vulnerabilities in Rust Through Fuzzing LLM-Augmented Harnesses18 Jun 2025
- 2025MigGPT: Harnessing Large Language Models for Automated Migration of Out-of-Tree Linux Kernel Patches Across Versions13 Apr 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
5 more
- 2025On the Mistaken Assumption of Interchangeable Deep Reinforcement Learning Implementations28 Mar 2025
- 2025KNighter: Transforming Static Analysis with LLM-Synthesized Checkers12 Mar 2025
- 2025EquiBench: Benchmarking Large Language Models' Reasoning about Program Semantics via Equivalence Checking18 Feb 2025
- 2024AutoVerus: Automated Proof Generation for Rust Code19 Sep 2024
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsification14 Apr 2024
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systemscited by 11
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detectioncited by 4
- 2026Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM Agentscited by 1
- 2026Revelio: Cost-Efficient Agentic Memory Safety Vulnerability Detection For Repository-Scale Codebasescited by 1
- 2026VCAO: Verifier-Centered Agentic Orchestration for Strategic OS Vulnerability Discoverycited by 0
- 2026OSFoundry: Building and Evolving Operating Systems with Specification-Guided Agentscited by 0
- 2026OSFoundry: Building and Evolving Operating Systems with Specification-Guided Agents8 Aug 2026
- 2026Revelio: Cost-Efficient Agentic Memory Safety Vulnerability Detection For Repository-Scale Codebases20 Jun 2026
- 2026Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM Agents28 May 2026
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detection13 Apr 2026
- 2026VCAO: Verifier-Centered Agentic Orchestration for Strategic OS Vulnerability Discovery9 Apr 2026
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systems20 Dec 2025
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 46
- 2025KNighter: Transforming Static Analysis with LLM-Synthesized Checkerscited by 22
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025Benchmarking LLMs for Unit Test Generation from Real-World Functionscited by 8
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
- 2025MigGPT: Harnessing Large Language Models for Automated Migration of Out-of-Tree Linux Kernel Patches Across Versionscited by 2
- 2025deepSURF: Detecting Memory Safety Vulnerabilities in Rust Through Fuzzing LLM-Augmented Harnessescited by 1
- 2025Prompting for Performance: Exploring LLMs for Configuring Softwarecited by 1
- 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Searchcited by 1
- 2025On the Mistaken Assumption of Interchangeable Deep Reinforcement Learning Implementationscited by 0
- 2026LLM-Based Test Case Generation in DBMS through Monte Carlo Tree Search23 Mar 2026
- 2025Benchmarking LLMs for Unit Test Generation from Real-World Functions1 Aug 2025
- 2025Prompting for Performance: Exploring LLMs for Configuring Software13 Jul 2025
- 2025deepSURF: Detecting Memory Safety Vulnerabilities in Rust Through Fuzzing LLM-Augmented Harnesses18 Jun 2025
- 2025MigGPT: Harnessing Large Language Models for Automated Migration of Out-of-Tree Linux Kernel Patches Across Versions13 Apr 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025On the Mistaken Assumption of Interchangeable Deep Reinforcement Learning Implementations28 Mar 2025
- 2025KNighter: Transforming Static Analysis with LLM-Synthesized Checkers12 Mar 2025
- 2024AutoVerus: Automated Proof Generation for Rust Code19 Sep 2024
- 2024Generative transformations and patterns in LLM-native approaches for software verification and falsification14 Apr 2024