{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,8,2]],"date-time":"2025-08-02T14:33:26Z","timestamp":1754145206950,"version":"3.41.2"},"reference-count":42,"publisher":"Association for Computing Machinery (ACM)","issue":"ISSTA","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,22]]},"abstract":"<jats:p>Stable patch classification plays a crucial role in vulnerability management for the Linux kernel, significantly contributing to the stability and security of Long-term support(LTS) versions. Although existing tools have effectively assisted in assessing whether patches should be merged into stable versions, they cannot determine which stable patches should be merged into which LTS versions. This process still requires the maintainers of the distribution community to manually screen based on the requirements of their respective versions.To address this issue, we propose PatchScope, which is designed to predict the specific merge status of patches.Patchscope consists of two components: patch analysis and patch classification.Patch analysis leverages Large Language Models(LLMs) to generate detailed patch descriptions from the commit message and code changes, thereby deepening the model's semantic understanding of patches. Patch classification utilizes a pre-trained language model to extract semantic features of the patches and employs a two-stage classifier to predict the merge status of the patches.The model is optimized using the dynamic weighted loss function to handle data imbalance and improve overall performance.Given that the primary focus is maintaining Linux kernel versions 5.10 and 6.6, we have conducted comparative experiments based on these two versions. Experimental results demonstrate that Patchscope can effectively predict the merge status of patches.<\/jats:p>","DOI":"10.1145\/3728944","type":"journal-article","created":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T10:52:56Z","timestamp":1750589576000},"page":"1513-1535","source":"Crossref","is-referenced-by-count":0,"title":["PatchScope: LLM-Enhanced Fine-Grained Stable Patch Classification for Linux Kernel"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7881-6091","authenticated-orcid":false,"given":"Rongkai","family":"Liu","sequence":"first","affiliation":[{"name":"Central South University, Changsha, China"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9040-7247","authenticated-orcid":false,"given":"Heyuan","family":"Shi","sequence":"additional","affiliation":[{"name":"Central South University, Changsha, China"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-2865-810X","authenticated-orcid":false,"given":"Shuning","family":"Liu","sequence":"additional","affiliation":[{"name":"Central South University, Changsha, China"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3606-2900","authenticated-orcid":false,"given":"Chao","family":"Hu","sequence":"additional","affiliation":[{"name":"Central South University, Changsha, China"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-9238-6036","authenticated-orcid":false,"given":"Sisheng","family":"Li","sequence":"additional","affiliation":[{"name":"Central South University, Changsha, China"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2667-5431","authenticated-orcid":false,"given":"Yuheng","family":"Shen","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1227-8475","authenticated-orcid":false,"given":"Runzhe","family":"Wang","sequence":"additional","affiliation":[{"name":"Alibaba Cloud Computing, Beijing, China"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7281-5837","authenticated-orcid":false,"given":"Xiaohai","family":"Shi","sequence":"additional","affiliation":[{"name":"Alibaba Cloud Computing, Beijing, China"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0955-503X","authenticated-orcid":false,"given":"Yu","family":"Jiang","sequence":"additional","affiliation":[{"name":"Tsinghua University, Beijing, China"}]}],"member":"320","published-online":{"date-parts":[[2025,6,22]]},"reference":[{"doi-asserted-by":"publisher","key":"e_1_2_1_1_1","DOI":"10.2478\/ACSS-2024-0013"},{"unstructured":"Yuanliang Chen Fuchen Ma Yuanhang Zhou Ming Gu Qing Liao and Yu Jiang. [n. d.]. Chronos: Finding Timeout Bugs in Practical Distributed Systems by Deep-Priority Fuzzing with Transient Delay.","key":"e_1_2_1_2_1"},{"doi-asserted-by":"publisher","key":"e_1_2_1_3_1","DOI":"10.18653\/V1\/N19-1423"},{"key":"e_1_2_1_4_1","volume-title":"Pairing Security Advisories with Vulnerable Functions Using Open-Source LLMs. In International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment. 350\u2013369","author":"Dunlap Trevor","year":"2024","unstructured":"Trevor Dunlap, John Speed Meyers, Bradley Reaves, and William Enck. 2024. Pairing Security Advisories with Vulnerable Functions Using Open-Source LLMs. In International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment. 350\u2013369."},{"doi-asserted-by":"publisher","key":"e_1_2_1_5_1","DOI":"10.1109\/TSE.2024.3428972"},{"doi-asserted-by":"publisher","key":"e_1_2_1_6_1","DOI":"10.18653\/V1\/2021.NAACL-MAIN.161"},{"doi-asserted-by":"publisher","key":"e_1_2_1_7_1","DOI":"10.1109\/ICSE-COMPANION.2019.00044"},{"doi-asserted-by":"publisher","key":"e_1_2_1_8_1","DOI":"10.1109\/TSE.2019.2952614"},{"key":"e_1_2_1_9_1","volume-title":"LoRA: Low-Rank Adaptation of Large Language Models. In The Tenth International Conference on Learning Representations, ICLR 2022","author":"Hu Edward J.","year":"2022","unstructured":"Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2022. LoRA: Low-Rank Adaptation of Large Language Models. In The Tenth International Conference on Learning Representations, ICLR 2022, Virtual Event, April 25-29, 2022. OpenReview.net. https:\/\/openreview.net\/forum?id=nZeVKeeFYf9"},{"doi-asserted-by":"publisher","key":"e_1_2_1_10_1","DOI":"10.18653\/V1\/2024.ACL-LONG.651"},{"key":"e_1_2_1_11_1","volume-title":"Kingma and Jimmy Ba","author":"Diederik","year":"2015","unstructured":"Diederik P. Kingma and Jimmy Ba. 2015. Adam: A Method for Stochastic Optimization. In 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, Yoshua Bengio and Yann LeCun (Eds.). arxiv:1412.6980"},{"key":"e_1_2_1_12_1","volume-title":"ALBERT: A Lite BERT for Self-supervised Learning of Language Representations. In 8th International Conference on Learning Representations, ICLR 2020","author":"Lan Zhenzhong","year":"2020","unstructured":"Zhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel, Piyush Sharma, and Radu Soricut. 2020. ALBERT: A Lite BERT for Self-supervised Learning of Language Representations. In 8th International Conference on Learning Representations, ICLR 2020, Addis Ababa, Ethiopia, April 26-30, 2020. OpenReview.net. https:\/\/openreview.net\/forum?id=H1eA7AEtvS"},{"doi-asserted-by":"publisher","key":"e_1_2_1_13_1","DOI":"10.1007\/3-540-40992-0_6"},{"key":"e_1_2_1_14_1","volume-title":"Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020","author":"Lewis Patrick S. H.","year":"2020","unstructured":"Patrick S. H. Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich K\u00fcttler, Mike Lewis, Wen-tau Yih, Tim Rockt\u00e4schel, Sebastian Riedel, and Douwe Kiela. 2020. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. In Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, Hugo Larochelle, Marc\u2019Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin (Eds.). https:\/\/proceedings.neurips.cc\/paper\/2020\/hash\/6b493230205f780e1bc26945df7481e5-Abstract.html"},{"doi-asserted-by":"publisher","key":"e_1_2_1_15_1","DOI":"10.1109\/ICSE48619.2023.00076"},{"doi-asserted-by":"publisher","key":"e_1_2_1_16_1","DOI":"10.1145\/3643760"},{"doi-asserted-by":"publisher","key":"e_1_2_1_17_1","DOI":"10.1145\/3643991.3644902"},{"doi-asserted-by":"publisher","key":"e_1_2_1_18_1","DOI":"10.1109\/ICCV.2017.324"},{"key":"e_1_2_1_19_1","first-page":"1","article-title":"Horus: Accelerating Kernel Fuzzing through Efficient Host-VM Memory Access Procedures","volume":"33","author":"Liu Jianzhong","year":"2023","unstructured":"Jianzhong Liu, Yuheng Shen, Yiru Xu, Hao Sun, and Yu Jiang. 2023. Horus: Accelerating Kernel Fuzzing through Efficient Host-VM Memory Access Procedures. ACM Transactions on Software Engineering and Methodology, 33, 1 (2023), 1\u201325.","journal-title":"ACM Transactions on Software Engineering and Methodology"},{"key":"e_1_2_1_20_1","volume-title":"Exploring ChatGPT\u2019s Capabilities on Vulnerability Management. In 33rd USENIX Security Symposium, USENIX Security 2024","author":"Liu Peiyu","year":"2024","unstructured":"Peiyu Liu, Junming Liu, Lirong Fu, Kangjie Lu, Yifan Xia, Xuhong Zhang, Wenzhi Chen, Haiqin Weng, Shouling Ji, and Wenhai Wang. 2024. Exploring ChatGPT\u2019s Capabilities on Vulnerability Management. In 33rd USENIX Security Symposium, USENIX Security 2024, Philadelphia, PA, USA, August 14-16, 2024, Davide Balzarotti and Wenyuan Xu (Eds.). USENIX Association. https:\/\/www.usenix.org\/conference\/usenixsecurity24\/presentation\/liu-peiyu"},{"doi-asserted-by":"publisher","key":"e_1_2_1_21_1","DOI":"10.1109\/SANER60148.2024.00042"},{"key":"e_1_2_1_22_1","volume-title":"RoBERTa: A Robustly Optimized BERT Pretraining Approach. CoRR, abs\/1907.11692","author":"Liu Yinhan","year":"2019","unstructured":"Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. RoBERTa: A Robustly Optimized BERT Pretraining Approach. CoRR, abs\/1907.11692 (2019), arXiv:1907.11692. arxiv:1907.11692"},{"doi-asserted-by":"publisher","key":"e_1_2_1_23_1","DOI":"10.1109\/SSE62657.2024.00049"},{"doi-asserted-by":"publisher","key":"e_1_2_1_24_1","DOI":"10.1016\/J.NEUCOM.2021.05.039"},{"doi-asserted-by":"publisher","key":"e_1_2_1_25_1","DOI":"10.1109\/SP46215.2023.10179420"},{"key":"e_1_2_1_26_1","volume-title":"a distilled version of BERT: smaller, faster, cheaper and lighter. CoRR, abs\/1910.01108","author":"Sanh Victor","year":"2019","unstructured":"Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. 2019. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter. CoRR, abs\/1910.01108 (2019), arXiv:1910.01108. arxiv:1910.01108"},{"doi-asserted-by":"publisher","key":"e_1_2_1_27_1","DOI":"10.1109\/ICSE.2012.6227141"},{"doi-asserted-by":"publisher","key":"e_1_2_1_28_1","DOI":"10.1145\/3460319.3464821"},{"doi-asserted-by":"publisher","key":"e_1_2_1_29_1","DOI":"10.1109\/TCAD.2022.3198910"},{"key":"e_1_2_1_30_1","volume-title":"KSG: Augmenting Kernel Fuzzing with System Call Specification Generation. In USENIX Annual Technical Conference. USENIX Association, 351\u2013366","author":"Sun Hao","year":"2022","unstructured":"Hao Sun, Yuheng Shen, Jianzhong Liu, Yiru Xu, and Yu Jiang. 2022. KSG: Augmenting Kernel Fuzzing with System Call Specification Generation. In USENIX Annual Technical Conference. USENIX Association, 351\u2013366."},{"doi-asserted-by":"publisher","key":"e_1_2_1_31_1","DOI":"10.1109\/ICSE.2012.6227176"},{"doi-asserted-by":"publisher","key":"e_1_2_1_32_1","DOI":"10.1145\/3510003.3510205"},{"doi-asserted-by":"publisher","key":"e_1_2_1_33_1","DOI":"10.1016\/J.JSS.2022.111541"},{"key":"e_1_2_1_34_1","volume-title":"Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. In Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022","author":"Wei Jason","year":"2022","unstructured":"Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed H. Chi, Quoc V. Le, and Denny Zhou. 2022. Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. In Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 - December 9, 2022, Sanmi Koyejo, S. Mohamed, A. Agarwal, Danielle Belgrave, K. Cho, and A. Oh (Eds.). http:\/\/papers.nips.cc\/paper_files\/paper\/2022\/hash\/9d5609613524ecf4f15af0f7b31abca4-Abstract-Conference.html"},{"doi-asserted-by":"publisher","key":"e_1_2_1_35_1","DOI":"10.1109\/ASE.2019.00140"},{"unstructured":"An Yang Baosong Yang Binyuan Hui Bo Zheng Bowen Yu Chang Zhou Chengpeng Li Chengyuan Li Dayiheng Liu Fei Huang Guanting Dong Haoran Wei Huan Lin Jialong Tang Jialin Wang Jian Yang Jianhong Tu Jianwei Zhang Jianxin Ma Jianxin Yang Jin Xu Jingren Zhou Jinze Bai Jinzheng He Junyang Lin Kai Dang Keming Lu Keqin Chen Kexin Yang Mei Li Mingfeng Xue Na Ni Pei Zhang Peng Wang Ru Peng Rui Men Ruize Gao Runji Lin Shijie Wang Shuai Bai Sinan Tan Tianhang Zhu Tianhao Li Tianyu Liu Wenbin Ge Xiaodong Deng Xiaohuan Zhou Xingzhang Ren Xinyu Zhang Xipin Wei Xuancheng Ren Xuejing Liu Yang Fan Yang Yao Yichang Zhang Yu Wan Yunfei Chu Yuqiong Liu Zeyu Cui Zhenru Zhang Zhifang Guo and Zhihao Fan. 2024. Qwen2 Technical Report. CoRR abs\/2407.10671 (2024) https:\/\/doi.org\/10.48550\/ARXIV.2407.10671 arXiv:2407.10671. 10.48550\/ARXIV.2407.10671","key":"e_1_2_1_36_1"},{"doi-asserted-by":"publisher","key":"e_1_2_1_37_1","DOI":"10.1145\/3576915.3623188"},{"key":"e_1_2_1_38_1","volume-title":"ReAct: Synergizing Reasoning and Acting in Language Models. In The Eleventh International Conference on Learning Representations, ICLR 2023","author":"Yao Shunyu","year":"2023","unstructured":"Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R. Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing Reasoning and Acting in Language Models. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023. OpenReview.net. https:\/\/openreview.net\/forum?id=WE_vluYUL-X"},{"doi-asserted-by":"publisher","key":"e_1_2_1_39_1","DOI":"10.18653\/V1\/2024.FINDINGS-ACL.549"},{"doi-asserted-by":"publisher","key":"e_1_2_1_40_1","DOI":"10.18653\/V1\/2024.NAACL-LONG.132"},{"doi-asserted-by":"publisher","key":"e_1_2_1_41_1","DOI":"10.1007\/S13042-010-0001-0"},{"doi-asserted-by":"publisher","key":"e_1_2_1_42_1","DOI":"10.1609\/AAAI.V35I16.17718"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3728944","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,7,16]],"date-time":"2025-07-16T16:50:23Z","timestamp":1752684623000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3728944"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,22]]},"references-count":42,"journal-issue":{"issue":"ISSTA","published-print":{"date-parts":[[2025,6,22]]}},"alternative-id":["10.1145\/3728944"],"URL":"https:\/\/doi.org\/10.1145\/3728944","relation":{},"ISSN":["2994-970X"],"issn-type":[{"type":"electronic","value":"2994-970X"}],"subject":[],"published":{"date-parts":[[2025,6,22]]}}}