KNighter: Transforming Static Analysis with LLM-Synthesized Checkers
Not on the map. Why?
Abstract (arXiv)
Static analysis is a powerful technique for bug detection in critical systems like operating system kernels. However, designing and implementing static analyzers is challenging, time-consuming, and typically limited to predefined bug patterns. While large language models (LLMs) have shown promise for static analysis, directly applying them to scan large systems remains impractical due to computational constraints and contextual limitations. We present KNighter, the first approach that unlocks scalable LLM-based static analysis by automatically synthesizing static analyzers from historical bug patterns. Rather than using LLMs to directly analyze massive systems, our key insight is leveraging LLMs to generate specialized static analyzers guided by historical patch knowledge. KNighter implements this vision through a multi-stage synthesis pipeline that validates checker correctness against original patches and employs an automated refinement process to iteratively reduce false positives. Our evaluation on the Linux kernel demonstrates that KNighter generates high-precision checkers capable of detecting diverse bug patterns overlooked by existing human-written analyzers. To date, KNighter-synthesized checkers have discovered 92 new, critical, long-latent bugs (average 4.3 years) in the Linux kernel; 77 are confirmed, 57 fixed, and 30 have been assigned CVE numbers. This work establishes an entirely new paradigm for scalable, reliable, and traceable LLM-based static analysis for real-world systems via checker synthesis.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 20 of its 61 references that are in the map. First posted on arXiv 12 Mar 2025.
Builds on
20 of 61 references.
References · 20
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 102
- 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 100
- 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 67
- 2023Prompt-Enhanced Software Vulnerability Detection Using ChatGPTcited by 51
- 2023Verus: Verifying Rust Programs using Linear Ghost Types (extended version)cited by 50
- 2024AutoVerus: Automated Proof Generation for Rust Codecited by 46
8 more
- 2024Large Language Model for Vulnerability Detection: Emerging Results and Future Directionscited by 44
- 2024Finetuning Large Language Models for Vulnerability Detectioncited by 39
- 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
- 2023KernelGPT: Enhanced Kernel Fuzzing via Large Language Modelscited by 17
- 2023Fuzzing Automatic Differentiation in Deep-Learning Librariescited by 16
- 2024KGym: A Platform and Dataset to Benchmark Large Language Models on Linux Kernel Crash Resolutioncited by 12
- 2024Beyond Static Pattern Matching? Rethinking Automatic Cryptographic API Misuse Detection in the Era of LLMscited by 6
- 2025Artemis: Toward Accurate Detection of Server-Side Request Forgeries through LLM-Assisted Inter-Procedural Path-Sensitive Taint Analysiscited by 5
Built on by
Citing papers per year: 2025: 7; 2026: 15.
22 papers.
Sort:
By area:
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systemscited by 11
- 2025Locus: Agentic Predicate Synthesis for Directed Fuzzingcited by 8
- 2025RFCAudit: An LLM Agent for Functional Bug Detection in Network Protocolscited by 7
- 2025PBFuzz: Agentic Directed Fuzzing for PoV Generationcited by 4
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detectioncited by 4
- 2026scicode-lint: Detecting Methodology Bugs in Scientific Python Code with LLM-Generated Patternscited by 3
- 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generationcited by 1
- 2026PromptAudit: Auditing Prompt Sensitivity in LLM-Based Vulnerability Detectioncited by 1
- 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
- 2025Search-Based Software Engineering and AI Foundation Models: Current Landscape and Future Roadmapcited by 0
10 more
- 2025Orion: Fuzzing Workflow Automationcited by 0
- 2026Can LLMs Reason Like Automated Theorem Provers for Rust Verification? VCoT-Bench: Evaluating via Verification Chain of Thoughtcited by 0
- 2026Learning From Developers: Towards Reliable Patch Validation at Scale for Linuxcited by 0
- 2026Analyzing Healthcare Interoperability Vulnerabilities: Formal Modeling and Graph-Theoretic Approachcited by 0
- 2026Agentic Vulnerability Reasoning on COTS Binariescited by 0
- 2026Can Open-Source LLM Agents Replace Static Application Security Testing Tools? An Empirical Assessmentcited by 0
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reusecited by 0
- 2026ARQ: Agentic CodeQL Query Refinement for C/C++ Vulnerability Detectioncited by 0
- 2026Simthesizer: An Agent-Driven Simulation Framework for LLM Serving Systemscited by 0
- 2026TyPatch: Transforming Patches into Typestate Rules for Kernel Bug Detectioncited by 0
- 2026TyPatch: Transforming Patches into Typestate Rules for Kernel Bug Detection12 Sep 2026
- 2026Simthesizer: An Agent-Driven Simulation Framework for LLM Serving Systems25 Aug 2026
- 2026ARQ: Agentic CodeQL Query Refinement for C/C++ Vulnerability Detection21 Aug 2026
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reuse13 Jul 2026
- 2026Revelio: Cost-Efficient Agentic Memory Safety Vulnerability Detection For Repository-Scale Codebases20 Jun 2026
- 2026Can Open-Source LLM Agents Replace Static Application Security Testing Tools? An Empirical Assessment10 Jun 2026
- 2026Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM Agents28 May 2026
- 2026PromptAudit: Auditing Prompt Sensitivity in LLM-Based Vulnerability Detection22 May 2026
- 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generation8 May 2026
- 2026Agentic Vulnerability Reasoning on COTS Binaries6 May 2026
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detection13 Apr 2026
- 2026Analyzing Healthcare Interoperability Vulnerabilities: Formal Modeling and Graph-Theoretic Approach3 Apr 2026
10 more
- 2026Learning From Developers: Towards Reliable Patch Validation at Scale for Linux25 Mar 2026
- 2026Can LLMs Reason Like Automated Theorem Provers for Rust Verification? VCoT-Bench: Evaluating via Verification Chain of Thought18 Mar 2026
- 2026scicode-lint: Detecting Methodology Bugs in Scientific Python Code with LLM-Generated Patterns18 Mar 2026
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systems20 Dec 2025
- 2025PBFuzz: Agentic Directed Fuzzing for PoV Generation4 Dec 2025
- 2025A Survey on Agentic Security: Applications, Threats and Defenses7 Oct 2025
- 2025Orion: Fuzzing Workflow Automation18 Sep 2025
- 2025Locus: Agentic Predicate Synthesis for Directed Fuzzing29 Aug 2025
- 2025RFCAudit: An LLM Agent for Functional Bug Detection in Network Protocols31 May 2025
- 2025Search-Based Software Engineering and AI Foundation Models: Current Landscape and Future Roadmap26 May 2025
- 2025A Survey on Agentic Security: Applications, Threats and Defensescited by 17
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systemscited by 11
- 2025Locus: Agentic Predicate Synthesis for Directed Fuzzingcited by 8
- 2025RFCAudit: An LLM Agent for Functional Bug Detection in Network Protocolscited by 7
- 2025PBFuzz: Agentic Directed Fuzzing for PoV Generationcited by 4
- 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
- 2026Agentic Vulnerability Reasoning on COTS Binariescited by 0
- 2026Can Open-Source LLM Agents Replace Static Application Security Testing Tools? An Empirical Assessmentcited by 0
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reusecited by 0
- 2026ARQ: Agentic CodeQL Query Refinement for C/C++ Vulnerability Detectioncited by 0
12 most cited of 13 All 13 (JSON)
- 2026Simthesizer: An Agent-Driven Simulation Framework for LLM Serving Systems25 Aug 2026
- 2026ARQ: Agentic CodeQL Query Refinement for C/C++ Vulnerability Detection21 Aug 2026
- 2026FlowArk: Boosting Agentic Data-flow Analysis for Android Apps via Context-Aware Knowledge Reuse13 Jul 2026
- 2026Revelio: Cost-Efficient Agentic Memory Safety Vulnerability Detection For Repository-Scale Codebases20 Jun 2026
- 2026Can Open-Source LLM Agents Replace Static Application Security Testing Tools? An Empirical Assessment10 Jun 2026
- 2026Agora: Toward Autonomous Bug Detection in Production-Level Consensus Protocols with LLM Agents28 May 2026
- 2026Agentic Vulnerability Reasoning on COTS Binaries6 May 2026
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detection13 Apr 2026
- 2025VeruSAGE: A Study of Agent-Based Verification for Rust Systems20 Dec 2025
- 2025PBFuzz: Agentic Directed Fuzzing for PoV Generation4 Dec 2025
- 2025A Survey on Agentic Security: Applications, Threats and Defenses7 Oct 2025
- 2025Locus: Agentic Predicate Synthesis for Directed Fuzzing29 Aug 2025
12 newest of 13 All 13 (JSON)
- 2026scicode-lint: Detecting Methodology Bugs in Scientific Python Code with LLM-Generated Patternscited by 3
- 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generationcited by 1
- 2026PromptAudit: Auditing Prompt Sensitivity in LLM-Based Vulnerability Detectioncited by 1
- 2025Search-Based Software Engineering and AI Foundation Models: Current Landscape and Future Roadmapcited by 0
- 2025Orion: Fuzzing Workflow Automationcited by 0
- 2026Learning From Developers: Towards Reliable Patch Validation at Scale for Linuxcited by 0
- 2026Analyzing Healthcare Interoperability Vulnerabilities: Formal Modeling and Graph-Theoretic Approachcited by 0
- 2026TyPatch: Transforming Patches into Typestate Rules for Kernel Bug Detectioncited by 0
- 2026TyPatch: Transforming Patches into Typestate Rules for Kernel Bug Detection12 Sep 2026
- 2026PromptAudit: Auditing Prompt Sensitivity in LLM-Based Vulnerability Detection22 May 2026
- 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generation8 May 2026
- 2026Analyzing Healthcare Interoperability Vulnerabilities: Formal Modeling and Graph-Theoretic Approach3 Apr 2026
- 2026Learning From Developers: Towards Reliable Patch Validation at Scale for Linux25 Mar 2026
- 2026scicode-lint: Detecting Methodology Bugs in Scientific Python Code with LLM-Generated Patterns18 Mar 2026
- 2025Orion: Fuzzing Workflow Automation18 Sep 2025
- 2025Search-Based Software Engineering and AI Foundation Models: Current Landscape and Future Roadmap26 May 2025