paper-with-me

Papers

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

2025-09-26 · Xingyu Li, Juefei Pu, Yifan Wu, Xiaochen Zou, Shitong Zhu, Xiaochen Zou, Shitong Zhu, Qiushi Wu, Zheng Zhang, Joshua Hsu, Yue Dong, Zhiyun Qian, Kangjie Lu, Trent Jaeger, Michael De Lucia, Srikanth V. Krishnamurthy 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.

📄 PDF Abstract BibTeX arXiv:2509.22796

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Just-in-Time Detection of Silent Security Patches

2023-12-02 · Xunzhu Tang, Zhenghan Chen, Kisub Kim, Haoye Tian 외

Open-source code is pervasive. In this setting, embedded vulnerabilities are spreading to downstream software at an alarming rate. While such vulnerabilities are generally identified and addressed rapidly, inconsistent m…

Contrastive LearningData AugmentationRepresentation Learning

Class-Aware Patch Embedding Adaptation for Few-Shot Image Classification

2023-01-01 · ICCV 2023 1 · Fusheng Hao, Fengxiang He, Liu Liu, Fuxiang Wu 외

"A picture is worth a thousand words", significantly beyond mere a categorization. Accompanied by that, many patches of the image could have completely irrelevant meanings with the categorization if they were indepen…

Few-Shot Image ClassificationFew-Shot Learningimage-classificationImage Classification

Program-Aided Reasoners (better) Know What They Know

2023-11-16 · Anubha Kabra, Sanketh Rangreji, Yash Mathur, Aman Madaan 외

Prior work shows that program-aided reasoning, in which large language models (LLMs) are combined with programs written in programming languages such as Python, can significantly improve accuracy on various reasoning tas…

Diversity

Repository-Level Graph Representation Learning for Enhanced Security Patch Detection

2024-12-11 · Xin-Cheng Wen, Zirui Lin, Cuiyun Gao, Hongyu Zhang 외

Software vendors often silently release security patches without providing sufficient advisories (e.g., Common Vulnerabilities and Exposures) or delayed updates via resources (e.g., National Vulnerability Database). Ther…

graph constructionGraph Representation LearningRepresentation Learning

GPT Store Mining and Analysis

2024-05-16 · Dongxun Su, Yanjie Zhao, Xinyi Hou, ShenAo Wang 외

As a pivotal extension of the renowned ChatGPT, the GPT Store serves as a dynamic marketplace for various Generative Pre-trained Transformer (GPT) models, shaping the frontier of conversational AI. This paper presents an…