{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T19:10:24Z","timestamp":1782846624143,"version":"3.54.5"},"reference-count":53,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T00:00:00Z","timestamp":1782777600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["No. U24B20147"],"award-info":[{"award-number":["No. U24B20147"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Science Challenge Project under Grant","award":["TZ2025002"],"award-info":[{"award-number":["TZ2025002"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2026,6,30]]},"abstract":"<jats:p>In the AI-driven era, NVIDIA CUDA libraries have become indispensable for accelerating compute-intensive  \ntasks, yet their security assessment remains critically understudied due to closed-source code and unique  \nprogramming paradigms. Existing efforts primarily target CUDA compiler vulnerabilities (e.g., NVCC), but  \noverlook broader library-specific risks. This paper addresses the challenges of fuzzing CUDA libraries: (1)  \ncontext-dependent API ordering and closed-source opacity hinder the synthesis of valid, diverse API sequences;  \nand (2) implicit parameter dependencies reduce the effectiveness of mutation for LLM-generated harnesses.  \nAnewtool called CuFuzz has been proposed, aimed at uncovering potential vulnerabilities in the CUDA  \nlibraries. CuFuzz has the ability to generate testing harnesses for various CUDA library functions from scratch,  \nperform efficient parameter mutation, and adapt to the needs of multiple CUDA libraries. First, LLMs are used  \nto extract semantic relationships from CUDA documentation and sample codes, constructing a knowledge  \ngraph that prioritizes API interactions and contextual dependencies. The API coverage bitmap is proposed  \nto guide the fuzzer to explore under-tested library functions. In addition to harness generation, the API  \nknowledge graph is also combined with compiler diagnostics to repair erroneous harnesses, thereby improving  \ncompilation success rates. Subsequently, CuFuzz employs the LLMs to analyze and decouple parameter  \ndependencies, separates out the mutable parameters, and performs parameter-isolated mutation on them to  \nenhance mutation efficiency.  \nEvaluated across three CUDA releases (12.4, 12.7, and 13.0) on eight widely adopted libraries (e.g., cuBLAS,  \ncuFFT), CuFuzz achieves 2.97\u00d7 higher API coverage and 4.0\u00d7 superior API edge coverage relative to baseline  \n(Fuzz4all), on average. The experiments uncovered 6 unknown bugs, validated by NVIDIA\u2019s security team and  \nobtained 2 CVEs.<\/jats:p>","DOI":"10.1145\/3808170","type":"journal-article","created":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T17:06:14Z","timestamp":1782839174000},"page":"3699-3721","source":"Crossref","is-referenced-by-count":0,"title":["CuFuzz: An API-Knowledge-Graph Coverage-Driven Fuzzing Framework for CUDA Libraries"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0009-0005-5082-5486","authenticated-orcid":false,"given":"Ximing","family":"Fan","sequence":"first","affiliation":[{"name":"Sichuan University, Chengdu, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2736-0615","authenticated-orcid":false,"given":"Yong","family":"Fang","sequence":"additional","affiliation":[{"name":"Sichuan University, Chengdu, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0455-8779","authenticated-orcid":false,"given":"Peng","family":"Jia","sequence":"additional","affiliation":[{"name":"Sichuan University, Chengdu, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7300-9215","authenticated-orcid":false,"given":"Yang","family":"Liu","sequence":"additional","affiliation":[{"name":"Nanyang Technological University, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2843-4225","authenticated-orcid":false,"given":"Yijia","family":"Xu","sequence":"additional","affiliation":[{"name":"Sichuan University, Chengdu, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9299-5890","authenticated-orcid":false,"given":"Xi","family":"Peng","sequence":"additional","affiliation":[{"name":"Sichuan University, Chengdu, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-7752-1162","authenticated-orcid":false,"given":"Yuhao","family":"Zhou","sequence":"additional","affiliation":[{"name":"Sichuan University, Chengdu, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,30]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/2786763.2694391"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/3576915.3616610"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598067"},{"key":"e_1_2_1_4_1","unstructured":"NVIDIA Developer. 2025. cuBLAS. https:\/\/docs.nvidia.com\/cuda\/cublas\/index.html"},{"key":"e_1_2_1_5_1","unstructured":"NVIDIA Developer. 2025. CUDA Runtime API. https:\/\/docs.nvidia.com\/cuda\/cuda-runtime-api\/index.html"},{"key":"e_1_2_1_6_1","unstructured":"NVIDIA Developer. 2025. CUDA Toolkit. https:\/\/developer.nvidia.com\/cuda-toolkit"},{"key":"e_1_2_1_7_1","unstructured":"NVIDIA Developer. 2025. cuRAND. https:\/\/developer.nvidia.com\/curand"},{"key":"e_1_2_1_8_1","unstructured":"NVIDIA Developer. 2025. cuSOLVER API Reference. https:\/\/docs.nvidia.com\/cuda\/cusolver\/index.html"},{"key":"e_1_2_1_9_1","unstructured":"NVIDIA Developer. 2025. cuSPARSE. https:\/\/docs.nvidia.com\/cuda\/cusparse\/index.html"},{"key":"e_1_2_1_10_1","unstructured":"NVIDIA Developer. 2025. NIVIDIA cuFFT. https:\/\/developer.nvidia.com\/cufft"},{"key":"e_1_2_1_11_1","unstructured":"NVIDIA Developer. 2025. NVIDIA Performance Primitives. https:\/\/developer.nvidia.com\/npp"},{"key":"e_1_2_1_12_1","unstructured":"NVIDIA Developer. 2025. nvJPEG. https:\/\/docs.nvidia.com\/cuda\/nvjpeg\/index.html"},{"key":"e_1_2_1_13_1","volume-title":"14th USENIX Workshop on Offensive Technologies (WOOT 20)","author":"Fioraldi Andrea","year":"2020","unstructured":"Andrea Fioraldi, Dominik Maier, Heiko Ei\u00dffeldt, and Marc Heuse. 2020. {AFL++}: Combining incremental steps of fuzzing research. In 14th USENIX Workshop on Offensive Technologies (WOOT 20)."},{"key":"e_1_2_1_14_1","unstructured":"Google. 2025. OSS-Fuzz. https:\/\/google.github.io\/oss-fuzz\/"},{"key":"e_1_2_1_15_1","unstructured":"Google. 2025. Syzkaller -kernel fuzzer. https:\/\/github.com\/google\/syzkaller"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510228"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510092"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3543516.3456276"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3598046"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/sp46215.2023.10179394"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/COMPSAC48688.2020.0-156"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3663529.3663784"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.14722\/ndss.2025.230218"},{"key":"e_1_2_1_24_1","volume-title":"Scaling laws for neural language models. arXiv preprint arXiv:2001.08361","author":"Kaplan Jared","year":"2020","unstructured":"Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. 2020. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361 (2020)."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1109\/tdsc.2024.3521591"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/3576915.3623166"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/2813885.2737986"},{"key":"e_1_2_1_28_1","unstructured":"LLVM Project. 2024. LibFuzzer Documentation. https:\/\/llvm.org\/docs\/LibFuzzer.html"},{"key":"e_1_2_1_29_1","volume-title":"Federico Cassano, Joel Lamy-Poirier, Nouamane Tazi, Ao Tang, Dmytro Pykhtar, Jiawei Liu, Yuxiang Wei, et al.","author":"Lozhkov Anton","year":"2024","unstructured":"Anton Lozhkov, Raymond Li, Loubna Ben Allal, Federico Cassano, Joel Lamy-Poirier, Nouamane Tazi, Ao Tang, Dmytro Pykhtar, Jiawei Liu, Yuxiang Wei, et al. 2024. Starcoder 2 and the stack v2: The next generation. arXiv preprint arXiv:2402.19173 (2024)."},{"key":"e_1_2_1_30_1","volume-title":"28th USENIX security symposium (USENIX security 19). 1949-1966.","author":"Lyu Chenyang","unstructured":"Chenyang Lyu, Shouling Ji, Chao Zhang, Yuwei Li, Wei-Han Lee, Yu Song, and Raheem Beyah. 2019. {MOPT}: Optimized mutation scheduling for fuzzers. In 28th USENIX security symposium (USENIX security 19). 1949-1966."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/3658644.3670396"},{"key":"e_1_2_1_32_1","first-page":"4783","volume-title":"33rd USENIX Security Symposium (USENIX Security 24)","author":"Ma Xiaoyue","year":"2024","unstructured":"Xiaoyue Ma, Lannan Luo, and Qiang Zeng. 2024. From one thousand pages of specification to unveiling hidden bugs: Large language model assisted fuzzing of matter {IoT} devices. In 33rd USENIX Security Symposium (USENIX Security 24). 4783-4800."},{"key":"e_1_2_1_33_1","unstructured":"NVIDIA. 2025. cuda-samples. https:\/\/github.com\/NVIDIA\/cuda-samples"},{"key":"e_1_2_1_34_1","volume-title":"International conference on machine learning. PMLR, 4901-4911","author":"Odena Augustus","year":"2019","unstructured":"Augustus Odena, Catherine Olsson, David Andersen, and Ian Goodfellow. 2019. Tensorfuzz: Debugging neural networks with coverage-guided fuzzing. In International conference on machine learning. PMLR, 4901-4911."},{"key":"e_1_2_1_35_1","volume-title":"32nd USENIX Security Symposium (USENIX Security 23)","author":"Peng Hui","year":"2023","unstructured":"Hui Peng, Zhihao Yao, Ardalan Amiri Sani, Dave Jing Tian, and Mathias Payer. 2023. {GLeeFuzz}: Fuzzing {WebGL} Through Error Message Guided Mutation. In 32nd USENIX Security Symposium (USENIX Security 23). 1883-1899."},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3691620.3695266"},{"key":"e_1_2_1_37_1","first-page":"1","article-title":"Exploring the limits of transfer learning with a unified text-to-text transformer","volume":"21","author":"Raffel Colin","year":"2020","unstructured":"Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of machine learning research 21, 140 (2020), 1-67.","journal-title":"Journal of machine learning research"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/2980983.2908114"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1109\/CVPR42600"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/3352460.3358307"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510041"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510174"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639121"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/3533767.3534220"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3293882.3330579"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/icsecompanion66252.2025.00079"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/3689736"},{"key":"e_1_2_1_48_1","volume-title":"2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE). IEEE, 1174-1186","author":"Yang Chenyuan","year":"2023","unstructured":"Chenyuan Yang, Yinlin Deng, Jiayi Yao, Yuxing Tu, Hanchi Li, and Lingming Zhang. 2023. Fuzzing automatic differentiation in deep-learning libraries. In 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE). IEEE, 1174-1186. doi:\/10.1109\/icse48619.2023.00105 \/10.1109\/icse48619.2023.00105"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/1993498.1993532"},{"key":"e_1_2_1_50_1","first-page":"901","volume-title":"33rd USENIX Security Symposium (USENIX Security 24)","author":"Yang Yupeng","year":"2024","unstructured":"Yupeng Yang, Yongheng Chen, Rui Zhong, Jizhou Chen, and Wenke Lee. 2024. Towards generic database management system fuzzing. In 33rd USENIX Security Symposium (USENIX Security 24). 901-918."},{"key":"e_1_2_1_51_1","unstructured":"M. Zalewski. 2020. American Fuzzy Lop v2.52b. https:\/\/lcamtuf.coredump.cx\/afl\/"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/3372297.3417260"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.cose.2025.104754"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808170","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T18:27:52Z","timestamp":1782844072000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808170"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,30]]},"references-count":53,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2026,6,30]]}},"alternative-id":["10.1145\/3808170"],"URL":"https:\/\/doi.org\/10.1145\/3808170","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,30]]}}}