{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,13]],"date-time":"2026-11-13T17:36:45Z","timestamp":1794591405411,"version":"4.9.1"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2023,6,6]],"date-time":"2023-06-06T00:00:00Z","timestamp":1686009600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2023,6,6]]},"abstract":"<jats:p>CUDA, OpenCL, and OpenACC are the primary means of writing general-purpose software for NVIDIA GPUs, all of which are subject to the same well-documented memory safety vulnerabilities currently plaguing software written in C and C++. One can argue that the GPU execution environment makes software development more error prone. Unlike C and C++, CUDA features multiple, distinct memory spaces to map to the GPU\u2019s unique memory hierarchy, and a typical CUDA program has thousands of concurrently executing threads. Furthermore, the CUDA platform has fewer guardrails than CPU platforms that have been forced to incrementally adjust to a barrage of security attacks. Unfortunately, the peculiarities of the GPU make it difficult to directly port memory safety solutions from the CPU space.<\/jats:p>\n          <jats:p>This paper presents cuCatch, a new memory safety error detection tool designed specifically for the CUDA programming model. cuCatch combines optimized compiler instrumentation with driver support to implement a novel algorithm for catching spatial and temporal memory safety errors with low performance overheads. Our experimental results on a wide set of GPU applications show that cuCatch incurs a 19% runtime slowdown on average, which is orders of magnitude faster than state-of-the-art debugging tools on GPUs. Moreover, our quantitative evaluation demonstrates cuCatch\u2019s higher error detection coverage compared to prior memory safety tools. The combination of high error detection coverage and low runtime overheads makes cuCatch an ideal candidate for accelerating memory safety debugging for GPU applications.<\/jats:p>","DOI":"10.1145\/3591225","type":"journal-article","created":{"date-parts":[[2023,6,6]],"date-time":"2023-06-06T20:06:24Z","timestamp":1686081984000},"page":"124-147","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":23,"title":["cuCatch: A Debugging Tool for Efficiently Catching Memory Safety Violations in CUDA Applications"],"prefix":"10.1145","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6971-6996","authenticated-orcid":false,"given":"Mohamed","family":"Tarek Ibn Ziad","sequence":"first","affiliation":[{"name":"NVIDIA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6976-9000","authenticated-orcid":false,"given":"Sana","family":"Damani","sequence":"additional","affiliation":[{"name":"NVIDIA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5709-2992","authenticated-orcid":false,"given":"Aamer","family":"Jaleel","sequence":"additional","affiliation":[{"name":"NVIDIA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6701-6099","authenticated-orcid":false,"given":"Stephen W.","family":"Keckler","sequence":"additional","affiliation":[{"name":"NVIDIA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1350-0165","authenticated-orcid":false,"given":"Mark","family":"Stephenson","sequence":"additional","affiliation":[{"name":"NVIDIA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,6,6]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Alfred V Aho Ravi Sethi and Jeffrey D Ullman. 2007. Compilers: principles techniques and tools. 2 Addison-wesley Reading. \t\t\t\t  Alfred V Aho Ravi Sethi and Jeffrey D Ullman. 2007. Compilers: principles techniques and tools. 2 Addison-wesley Reading."},{"key":"e_1_2_1_2_1","unstructured":"ARM. 2019. Memory Tagging Extension: Enhancing memory safety through architecture. https:\/\/community.arm.com\/developer\/ip-products\/processors\/b\/processors-ip-blog\/posts\/enhancing-memory-safety [Online] \t\t\t\t  ARM. 2019. Memory Tagging Extension: Enhancing memory safety through architecture. https:\/\/community.arm.com\/developer\/ip-products\/processors\/b\/processors-ip-blog\/posts\/enhancing-memory-safety [Online]"},{"key":"e_1_2_1_3_1","unstructured":"Joe Bialek Ken Johnson Matt Miller and Tony Chen. 2020. Security analysis of memory tagging. https:\/\/github.com\/microsoft\/MSRC-Security-Research\/blob\/master\/papers\/2020\/Security%20analysis%20of%20memory%20tagging.pdf \t\t\t\t  Joe Bialek Ken Johnson Matt Miller and Tony Chen. 2020. Security analysis of memory tagging. https:\/\/github.com\/microsoft\/MSRC-Security-Research\/blob\/master\/papers\/2020\/Security%20analysis%20of%20memory%20tagging.pdf"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-47099-3_9"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2020.3042965"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3243176.3243194"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2017.7863729"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/3204919.3204934"},{"key":"e_1_2_1_9_1","unstructured":"Google. 2019. 0day In the Wild. https:\/\/googleprojectzero.blogspot.com\/p\/0day.html \t\t\t\t  Google. 2019. 0day In the Wild. https:\/\/googleprojectzero.blogspot.com\/p\/0day.html"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1109\/InPar.2012.6339595"},{"key":"e_1_2_1_11_1","unstructured":"Mark Harris. 2013. Using shared memory in CUDA. https:\/\/developer.nvidia.com\/blog\/using-shared-memory-cuda-cc \t\t\t\t  Mark Harris. 2013. Using shared memory in CUDA. https:\/\/developer.nvidia.com\/blog\/using-shared-memory-cuda-cc"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3477132.3483545"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/MICRO50266.2020.00095"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3470496.3527420"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11416-015-0251-1"},{"key":"e_1_2_1_16_1","unstructured":"Matt Miller. 2019. Trends challenges and strategic shifts in the software vulnerability mitigation landscape. In BlueHat. https:\/\/github.com\/microsoft\/MSRC-Security-Research\/blob\/master\/presentations\/2019_02_BlueHatIL\/2019_01%20-%20BlueHatIL%20-%20Trends%2C%20challenge%2C%20and%20shifts%20in%20software%20vulnerability%20mitigation.pdf \t\t\t\t  Matt Miller. 2019. Trends challenges and strategic shifts in the software vulnerability mitigation landscape. In BlueHat. https:\/\/github.com\/microsoft\/MSRC-Security-Research\/blob\/master\/presentations\/2019_02_BlueHatIL\/2019_01%20-%20BlueHatIL%20-%20Trends%2C%20challenge%2C%20and%20shifts%20in%20software%20vulnerability%20mitigation.pdf"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/1542476.1542504"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1250734.1250746"},{"key":"e_1_2_1_19_1","unstructured":"NVIDIA. 2022. Compute Sanitizer v2022.2.1. https:\/\/docs.nvidia.com\/cuda\/sanitizer-docs\/pdf\/ComputeSanitizer.pdf \t\t\t\t  NVIDIA. 2022. Compute Sanitizer v2022.2.1. https:\/\/docs.nvidia.com\/cuda\/sanitizer-docs\/pdf\/ComputeSanitizer.pdf"},{"key":"e_1_2_1_20_1","volume-title":"CUB: Cooperative primitives for CUDA C++. https:\/\/github.com\/NVIDIA\/cub","author":"NVIDIA.","year":"2022","unstructured":"NVIDIA. 2022 . CUB: Cooperative primitives for CUDA C++. https:\/\/github.com\/NVIDIA\/cub NVIDIA. 2022. CUB: Cooperative primitives for CUDA C++. https:\/\/github.com\/NVIDIA\/cub"},{"key":"e_1_2_1_21_1","unstructured":"NVIDIA. 2022. CUDA-MEMCHECK v11.8.0. https:\/\/docs.nvidia.com\/cuda\/pdf\/CUDA_Memcheck.pdf \t\t\t\t  NVIDIA. 2022. CUDA-MEMCHECK v11.8.0. https:\/\/docs.nvidia.com\/cuda\/pdf\/CUDA_Memcheck.pdf"},{"key":"e_1_2_1_22_1","unstructured":"NVIDIA. 2022. CUDA Samples. https:\/\/github.com\/NVIDIA\/cuda-samples \t\t\t\t  NVIDIA. 2022. CUDA Samples. https:\/\/github.com\/NVIDIA\/cuda-samples"},{"key":"e_1_2_1_23_1","unstructured":"NVIDIA. 2022. Parallel Thread Execution ISA v11.8.0. https:\/\/docs.nvidia.com\/cuda\/pdf\/ptx_isa_7.8.pdf \t\t\t\t  NVIDIA. 2022. Parallel Thread Execution ISA v11.8.0. https:\/\/docs.nvidia.com\/cuda\/pdf\/ptx_isa_7.8.pdf"},{"key":"e_1_2_1_24_1","volume-title":"RMM: RAPIDS Memory Manager. https:\/\/github.com\/rapidsai\/rmm","author":"NVIDIA.","year":"2022","unstructured":"NVIDIA. 2022 . RMM: RAPIDS Memory Manager. https:\/\/github.com\/rapidsai\/rmm NVIDIA. 2022. RMM: RAPIDS Memory Manager. https:\/\/github.com\/rapidsai\/rmm"},{"key":"e_1_2_1_25_1","volume-title":"Thrust: The C++ Parallel Algorithms Library. https:\/\/github.com\/NVIDIA\/thrust","author":"NVIDIA.","year":"2022","unstructured":"NVIDIA. 2022 . Thrust: The C++ Parallel Algorithms Library. https:\/\/github.com\/NVIDIA\/thrust NVIDIA. 2022. Thrust: The C++ Parallel Algorithms Library. https:\/\/github.com\/NVIDIA\/thrust"},{"key":"e_1_2_1_26_1","unstructured":"NVIDIA. 2023. CUDA C Programming Guide Section 10.34: Dynamic Global Memory Allocation and Operations. NVIDIA Developer Zone. https:\/\/docs.nvidia.com\/cuda\/pdf\/CUDA_C_Programming_Guide.pdf Release 12.0 \t\t\t\t  NVIDIA. 2023. CUDA C Programming Guide Section 10.34: Dynamic Global Memory Allocation and Operations. NVIDIA Developer Zone. https:\/\/docs.nvidia.com\/cuda\/pdf\/CUDA_C_Programming_Guide.pdf Release 12.0"},{"key":"e_1_2_1_27_1","unstructured":"NVIDIA. 2023. Nsight Compute. https:\/\/docs.nvidia.com\/nsight-compute\/NsightCompute\/index.html \t\t\t\t  NVIDIA. 2023. Nsight Compute. https:\/\/docs.nvidia.com\/nsight-compute\/NsightCompute\/index.html"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3224423"},{"key":"e_1_2_1_29_1","unstructured":"Oracle. 2015. Hardware-assisted checking using Silicon Secured Memory (SSM). https:\/\/docs.oracle.com\/cd\/E37069_01\/html\/E37085\/gphwb.html \t\t\t\t  Oracle. 2015. Hardware-assisted checking using Silicon Secured Memory (SSM). https:\/\/docs.oracle.com\/cd\/E37069_01\/html\/E37085\/gphwb.html"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.cose.2020.102115"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/1778765.1778803"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/3192366.3192368"},{"key":"e_1_2_1_33_1","volume-title":"GPU Technology Conference","author":"Sakharnykh Nikolay","year":"2019","unstructured":"Nikolay Sakharnykh . 2019 . Memory management on modern GPU architectures. In GTC \u201919: the 10th annual GPU Technology Conference . San Jose, CA, USA. Nikolay Sakharnykh. 2019. Memory management on modern GPU architectures. In GTC \u201919: the 10th annual GPU Technology Conference. San Jose, CA, USA."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3352460.3358299"},{"key":"e_1_2_1_35_1","volume-title":"Proceedings of the 2012 USENIX Annual Technical Conference","author":"Serebryany Konstantin","year":"2012","unstructured":"Konstantin Serebryany , Derek Bruening , Alexander Potapenko , and Dmitry Vyukov . 2012 . AddressSanitizer: a fast address sanity checker. In ATC \u201912 : Proceedings of the 2012 USENIX Annual Technical Conference . Boston, MA, USA. Konstantin Serebryany, Derek Bruening, Alexander Potapenko, and Dmitry Vyukov. 2012. AddressSanitizer: a fast address sanity checker. In ATC \u201912: Proceedings of the 2012 USENIX Annual Technical Conference. Boston, MA, USA."},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/ISCA45697.2020.00068"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1109\/ISCA.2018.00056"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2019.00010"},{"key":"e_1_2_1_39_1","unstructured":"Arthy Sundaram Jaydeep Marathe Mike Murphy Nikhil Gupta Xiaohua Zhang and Thibaut Lutz. 2021. Programming Efficiently with the NVIDIA CUDA 11.3 Compiler Toolchain: Preview support for alloca. https:\/\/developer.nvidia.com\/blog\/programming-efficiently-with-the-cuda-11-3-compiler-toolchain\/ \t\t\t\t  Arthy Sundaram Jaydeep Marathe Mike Murphy Nikhil Gupta Xiaohua Zhang and Thibaut Lutz. 2021. Programming Efficiently with the NVIDIA CUDA 11.3 Compiler Toolchain: Preview support for alloca. https:\/\/developer.nvidia.com\/blog\/programming-efficiently-with-the-cuda-11-3-compiler-toolchain\/"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2013.13"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1109\/ISCA52012.2021.00076"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-33338-5_5"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3352460.3358307"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2015.9"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380358"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/3352460.3358288"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3591225","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3591225","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T16:47:46Z","timestamp":1750178866000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3591225"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,6]]},"references-count":46,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2023,6,6]]}},"alternative-id":["10.1145\/3591225"],"URL":"https:\/\/doi.org\/10.1145\/3591225","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,6,6]]},"assertion":[{"value":"2023-06-06","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}