mlsanityData to 14 Oct 2026

What Do They Fix? LLM-Aided Categorization of Security Patches for Critical Memory Bugs

arXiv 2509.22796 ↗First posted 26 Sep 2025cs.CR cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Open-source software projects are foundational to modern software ecosystems, with the Linux kernel standing out as a critical exemplar due to its ubiquity and complexity. Although security patches are continuously integrated into the Linux mainline kernel, downstream maintainers often delay their adoption, creating windows of vulnerability. A key reason for this lag is the difficulty in identifying security-critical patches, particularly those addressing exploitable vulnerabilities such as out-of-bounds (OOB) accesses and use-after-free (UAF) bugs. This challenge is exacerbated by intentionally silent bug fixes, incomplete or missing CVE assignments, delays in CVE issuance, and recent changes to the CVE assignment criteria for the Linux kernel. While fine-grained patch classification approaches exist, they exhibit limitations in both coverage and accuracy. In this work, we identify previously unexplored opportunities to significantly improve fine-grained patch classification. Specifically, by leveraging cues from commit titles/messages and diffs alongside appropriate code context, we develop DUALLM, a dual-method pipeline that integrates two approaches based on a Large Language Model (LLM) and a fine-tuned small language model. DUALLM achieves 87.4% accuracy and an F1-score of 0.875, significantly outperforming prior solutions. Notably, DUALLM successfully identified 111 of 5,140 recent Linux kernel patches as addressing OOB or UAF vulnerabilities, with 90 true positives confirmed by manual verification (many do not have clear indications in patch descriptions). Moreover, we constructed proof-of-concepts for two identified bugs (one UAF and one OOB), including one developed to conduct a previously unknown control-flow hijack as further evidence of the correctness of the classification.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 22 of its 80 references that are in the map. First posted on arXiv 26 Sep 2025.

Builds on

22 of 80 references.

References · 22

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  7. 2023A Survey of Large Language Modelscited by 2,576
  8. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  9. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  10. 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 488
  11. 2021Unified Pre-training for Program Understanding and Generationcited by 366
  12. 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
10 more
  1. 2023Better patching using LLM prompting, via Self-Consistencycited by 29
  2. 2021SPI: Automated Identification of Security Patches via Commitscited by 19
  3. 2023DefectHunter: A Novel LLM-Driven Boosted-Conformer-based Code Vulnerability Detection Mechanismcited by 14
  4. 2021PatchRNN: A Deep Learning-Based System for Security Patch Identificationcited by 13
  5. 2020Learning to Catch Security Patchescited by 6
  6. 2019PatchNet: A Tool for Deep Patch Classificationcited by 5
  7. 2023Silent Vulnerable Dependency Alert Prediction with Vulnerability Key Aspect Explanationcited by 5
  8. 2024An Investigation of Patch Porting Practices of the Linux Kernel Ecosystemcited by 5
  9. 2021SyzScope: Revealing High-Risk Security Impacts of Fuzzer-Exposed Bugs in Linux kernelcited by 4
  10. 2019PTracer: A Linux Kernel Patch Trace Botcited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.