{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T18:23:05Z","timestamp":1795198985504,"version":"4.10.3"},"reference-count":83,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2023,9,14]],"date-time":"2023-09-14T00:00:00Z","timestamp":1694649600000},"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":["ACM Comput. Surv."],"published-print":{"date-parts":[[2024,2,29]]},"abstract":"<jats:p>With embedded devices becoming more pervasive and entrenched in society, it is paramount to keep these systems secure. A threat plaguing these systems consists of software vulnerabilities that cause memory corruption, potentially allowing an attacker to breach the device. Software-based countermeasures exist, but suffer from high overhead. In this survey, we investigate whether this could be mitigated using dedicated hardware. Driven by the advancements of open hardware, we focus on implementations for RISC-V, a novel and open architecture tailored for customization. We distinguish between methods validating memory accesses beforehand, obfuscating information necessary for an attack, and detecting memory values corrupted earlier. We compare on qualitative metrics, such as the security coverage and level of transparency, and performance in both software and hardware. Although current implementations do not easily allow for a fair comparison as their evaluation methodologies vary widely, we show that current implementations are suitable to minimize the runtime overhead with a relatively small area overhead. Nevertheless, we identified that further research is still required to mitigate more fine-grained attacks such as intra-object overflows, to integrate into more sophisticated protected execution environments towards resilient systems that are automatically recoverable, and to move towards more harmonized evaluation.<\/jats:p>","DOI":"10.1145\/3604906","type":"journal-article","created":{"date-parts":[[2023,6,17]],"date-time":"2023-06-17T09:27:18Z","timestamp":1686994038000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":16,"title":["A Survey on Thwarting Memory Corruption in RISC-V"],"prefix":"10.1145","volume":"56","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0860-9107","authenticated-orcid":false,"given":"Marco","family":"Brohet","sequence":"first","affiliation":[{"name":"University of Amsterdam, The Netherlands"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6385-0780","authenticated-orcid":false,"given":"Francesco","family":"Regazzoni","sequence":"additional","affiliation":[{"name":"University of Amsterdam, The Netherlands and Universit\u00e0 della Svizzera italiana, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,9,14]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","DOI":"10.1145\/1102120.1102165"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","DOI":"10.5555\/3241189.3241275"},{"key":"e_1_3_1_4_2","volume-title":"Armv8.5-A Memory Tagging Extensions","author":"Limited Arm","year":"2019","unstructured":"Arm Limited. 2019. Armv8.5-A Memory Tagging Extensions. Arm Limited, Technical Report. Retrieved from https:\/\/developer.arm.com\/-\/media\/ArmDeveloperCommunity\/PDF\/Arm_Memory_Tagging_Extension_Whitepaper.pdf"},{"key":"e_1_3_1_5_2","volume-title":"Instruction Sets Should Be Free: The Case for RISC-V","author":"Asanovi\u0107 Krste","year":"2014","unstructured":"Krste Asanovi\u0107 and David A. Patterson. 2014. Instruction Sets Should Be Free: The Case for RISC-V. Technical Report UCB\/EECS-2014-146. EECS Department, University of California, Berkeley. Retrieved from https:\/\/www2.eecs.berkeley.edu\/Pubs\/TechRpts\/2014\/EECS-2014-146.html"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.13154\/tosc.v2017.i1.4-44"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/3316781.3323480"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-00470-5_16"},{"key":"e_1_3_1_9_2","volume-title":"Detection of Intrusions and Malware, and Vulnerability Assessment","author":"Bhatkar Sandeep","year":"2008","unstructured":"Sandeep Bhatkar and R. Sekar. 2008. Data space randomization. In Detection of Intrusions and Malware, and Vulnerability Assessment, Diego Zamboni (Ed.). Springer, Berlin."},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-34961-4_14"},{"key":"e_1_3_1_11_2","unstructured":"Mary Branscombe. 2020. Windows 10 security: How the shadow stack will help to keep the hackers at bay. Retrieved May 30 2020 from https:\/\/www.techrepublic.com\/article\/windows-10-security-how-the-shadow-stack-will-help-to-keep-the-hackers-at-bay"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","unstructured":"Cyril Bresch David H\u00e9ly Roman Lysecky St\u00e9phanie Chollet and Ioannis Parissis. 2020. TrustFlow-X: A practical framework for fine-grained control-flow integrity in critical systems. ACM Transactions on Embedded Computing Systems 19 5 (2020) 1\u201326. DOI:10.1145\/3398327","DOI":"10.1145\/3398327"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.5555\/3361338.3361356"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1109\/MTV48867.2019.00018"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.1109\/SecDev.2019.00022"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1109\/DSD.2018.00093"},{"key":"e_1_3_1_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3316482.3326356"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1109\/PATMOS.2017.8106976"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.23919\/DATE.2019.8714980"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2020.2984407"},{"key":"e_1_3_1_21_2","unstructured":"Ruan de Clercq and Ingrid Verbauwhede. 2017. A survey of Hardware-based Control Flow Integrity (CFI). arxiv:1706.07257. Retrieved from https:\/\/arxiv.org\/abs\/1706.07257"},{"key":"e_1_3_1_22_2","unstructured":"Leila Delshadtehrani Sadullah Canakci Boyou Zhou Schuyler Eldridge Ajay Joshi and Manuel Egele. 2020. PHMon. Retrieved April 25 2023 from https:\/\/github.com\/bu-icsg\/PHMon"},{"key":"e_1_3_1_23_2","volume-title":"Proceedings of the 29th USENIX Security Symposium","author":"Delshadtehrani Leila","year":"2020","unstructured":"Leila Delshadtehrani, Sadullah Canakci, Boyou Zhou, Schuyler Eldridge, Ajay Joshi, and Manuel Egele. 2020. PHMon: A programmable hardware monitor and its security use cases. In Proceedings of the 29th USENIX Security Symposium."},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3240765.3240821"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/3061639.3062276"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3457388.3458657"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/361011.361070"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.compeleceng.2013.11.011"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3297858.3304037"},{"key":"e_1_3_1_30_2","volume-title":"Proceedings of the 3rd Workshop on Computer Architecture Research with RISC-V","author":"Gonzalez Abraham","year":"2019","unstructured":"Abraham Gonzalez, Ben Korpan, Jerry Zhao, Ed Younis, and Krste Asanovi\u0107. 2019. Replicating and mitigating spectre attacks on a open source RISC-V microarchitecture. In Proceedings of the 3rd Workshop on Computer Architecture Research with RISC-V."},{"key":"e_1_3_1_31_2","unstructured":"Andy Greenberg. 2017. Hackers Remotely Kill a Jeep on the Highway\u2014With Me in It. Retrieved May 27 2020 from https:\/\/www.wired.com\/2015\/07\/hackers-remotely-kill-jeep-highway"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3386377"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.1109\/TC.2018.2807818"},{"key":"e_1_3_1_34_2","unstructured":"Heartbleed 2013. CVE-2014-0160. Available from MITRE CVE-ID CVE-2014-0160. Retrieved April 25 2023 from https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2014-0160"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1109\/MM.2019.2897677"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1109\/ANCS.2011.32"},{"key":"e_1_3_1_37_2","unstructured":"Intel Corporation 2013. Intel\u00ae Memory Protection Extensions (Intel\u00ae MPX) Support in the GNU Toolchain. Retrieved May 30 2020 from https:\/\/software.intel.com\/content\/www\/us\/en\/develop\/blogs\/intel-memory-protection-extensions-intel-mpx-support-in-the-gnu-toolchain.html"},{"key":"e_1_3_1_38_2","unstructured":"Intel Corporation 2019. Control-Flow Enforcement Technology Specification . Technical Report 334525-003. Intel Corporation. Retrieved from https:\/\/software.intel.com\/sites\/default\/files\/managed\/4d\/2a\/control-flow-enforcement-technology-preview.pdf"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.3390\/electronics10172068"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSP.2011.67"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2014.25"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","unstructured":"Dayeol Lee David Kohlbrenner Shweta Shinde Krste Asanovi\u0107 and Dawn Song. 2020. Keystone: An open framework for architecting trusted execution environments. In Proceedings of the 15th European Conference on Computer Systems . DOI:10.1145\/3342195.3387532","DOI":"10.1145\/3342195.3387532"},{"key":"e_1_3_1_43_2","unstructured":"Jinfeng Li Liwei Chen Qizhen Xu Linan Tian Gang Shi Kai Chen and Dan Meng. 2019. Zipper Stack: Shadow Stacks Without Shadow. arxiv:1902.00888. Retrieved from https:\/\/arxiv.org\/abs\/1902.00888."},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1109\/IAEAC.2018.8577547"},{"key":"e_1_3_1_45_2","volume-title":"Proceedings of the 28th USENIX Conference on Security Symposium","author":"Liljestrand Hans","year":"2019","unstructured":"Hans Liljestrand, Thomas Nyman, Kui Wang, Carlos Chinea Perez, Jan-Erik Ekberg, and N. Asokan. 2019. PAC It up: Towards pointer integrity using ARM pointer authentication. In Proceedings of the 28th USENIX Conference on Security Symposium. USENIX Association."},{"key":"e_1_3_1_46_2","unstructured":"Tong Liu Gang Shi Liwei Chen Fei Zhang Yaxuan Yang and Jihu Zhang. 2017. TMDFI. Retrieved April 25 2023 from https:\/\/github.com\/KevinLiuTong\/TMDFI"},{"key":"e_1_3_1_47_2","doi-asserted-by":"publisher","DOI":"10.1109\/TrustCom\/BigDataSE.2018.00083"},{"key":"e_1_3_1_48_2","unstructured":"Tao Lu. 2021. A Survey on RISC-V Security: Hardware and Architecture. arxiv:2107.04175. Retrieved from https:\/\/arxiv.org\/abs\/2107.04175"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.1109\/APSEC48747.2019.00036"},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","DOI":"10.1145\/3092627.3092629"},{"key":"e_1_3_1_51_2","unstructured":"Thomas Nyman Ghada Dessouky Shaza Zeitouni Aaro Lehikoinen Andrew Paverd N. Asokan and Ahmad-Reza Sadeghi. 2017. HardScope: Thwarting DOP with hardware-assisted run-time scope enforcement. arxiv:1705.10295. Retrieved from https:\/\/arxiv.org\/abs\/1705.10295"},{"key":"e_1_3_1_52_2","unstructured":"Thomas Nyman Ghada Dessouky Shaza Zeitouni Aaro Lehikoinen Andrew Paverd N. Asokan and Ahmad-Reza Sadeghi. 2018. Runtime Scope Enforcement. Retrieved April 25 2023 from https:\/\/github.com\/runtime-scope-enforcement"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1145\/3316781.3317836"},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","unstructured":"Oleksii Oleksenko Dmitrii Kuvaiskii Pramod Bhatotia Pascal Felber and Christof Fetzer. 2018. Intel MPX explained: A cross-layer analysis of the Intel MPX system stack. Proceedings of the ACM on Measurement and Analysis of Computing Systems 2 2 Article 28 (June2018) 1\u201330. DOI:10.1145\/3224423 28","DOI":"10.1145\/3224423"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1109\/HPEC.2018.8547578"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2018.2857321"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","DOI":"10.1145\/1015047.1015049"},{"key":"e_1_3_1_58_2","volume-title":"RISC-V Market Analysis: The New Kid on the Block","author":"Corp. Semico Research","year":"2019","unstructured":"Semico Research Corp.2019. RISC-V Market Analysis: The New Kid on the Block. Semico Research Corp, Technical Report CC315-19. Retrieved from https:\/\/semico.com\/content\/risc-v-market-analysis-new-kid-block"},{"key":"e_1_3_1_59_2","volume-title":"Presented as Part of the 2012 USENIX Annual Technical Conference","author":"Serebryany Konstantin","year":"2012","unstructured":"Konstantin Serebryany, Derek Bruening, Alexander Potapenko, and Dmitriy Vyukov. 2012. AddressSanitizer: A fast address sanity checker. In Presented as Part of the 2012 USENIX Annual Technical Conference."},{"key":"e_1_3_1_60_2","unstructured":"Kostya Serebryany Evgenii Stepanov Aleksey Shlyapnikov Vlad Tsyrklevich and Dmitry Vyukov. 2018. Memory Tagging and how it improves C\/C++ memory safety. arxiv:1802.09517. Retrieved from https:\/\/arxiv.org\/abs\/1802.09517"},{"key":"e_1_3_1_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/1519065.1519073"},{"key":"e_1_3_1_62_2","doi-asserted-by":"publisher","DOI":"10.1145\/1842733.1842748"},{"key":"e_1_3_1_63_2","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2016.9"},{"key":"e_1_3_1_64_2","unstructured":"Chengyu Song Hyungon Moon Monjur Alam Insu Yun Byoungyoung Lee Taesoo Kim Wenke Lee and Yunheung Paek. 2018. TMDFI. Retrieved April 25 2023 from https:\/\/github.com\/sslab-gatech\/hdfi"},{"key":"e_1_3_1_65_2","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2019.00010"},{"key":"e_1_3_1_66_2","doi-asserted-by":"publisher","DOI":"10.1145\/1024393.1024404"},{"key":"e_1_3_1_67_2","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2013.13"},{"key":"e_1_3_1_68_2","unstructured":"TESO 2001. Exploiting Format String Vulnerabilities. Retrieved June 15 2020 from https:\/\/crypto.stanford.edu\/cs155old\/cs155-spring08\/papers\/formatstring-1.2.pdf"},{"key":"e_1_3_1_69_2","doi-asserted-by":"publisher","DOI":"10.1145\/3319535.3363206"},{"key":"e_1_3_1_70_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371307.3371311"},{"key":"e_1_3_1_71_2","doi-asserted-by":"publisher","DOI":"10.1109\/access.2019.2920176"},{"key":"e_1_3_1_72_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jnca.2020.102534"},{"key":"e_1_3_1_73_2","volume-title":"Design of the RISC-V Instruction Set Architecture","author":"Waterman Andrew","year":"2016","unstructured":"Andrew Waterman. 2016. Design of the RISC-V Instruction Set Architecture. Ph.D. Dissertation. EECS Department, University of California, Berkeley. Retrieved from https:\/\/www2.eecs.berkeley.edu\/Pubs\/TechRpts\/2016\/EECS-2016-1.html"},{"key":"e_1_3_1_74_2","volume-title":"Capability Hardware Enhanced RISC Instructions: CHERI Instruction-Set Architecture (Version 8)","author":"Watson Robert N. M.","year":"2020","unstructured":"Robert N. M. Watson, Peter G. Neumann, Jonathan Woodruff, Michael Roe, Hesham Almatary, Jonathan Anderson, John Baldwin, David Chisnall, Brooks Davis, Nathaniel Wesley Filardo, Alexandre Joannou, Ben Laurie, A. Theodore Markettos, Simon W. Moore, Steven J. Murdoch, Kyndylan Nienhuis, Robert Norton, Alexander Richardson, Peter Rugg, Peter Sewell, Stacey Son, and Hongyan Xia. 2020. Capability Hardware Enhanced RISC Instructions: CHERI Instruction-Set Architecture (Version 8). Technical Report UCAM-CL-TR-951. University of Cambridge, Computer Laboratory. Retrieved from https:\/\/www.cl.cam.ac.uk\/techreports\/UCAM-CL-TR-951.pdf"},{"key":"e_1_3_1_75_2","doi-asserted-by":"publisher","DOI":"10.1109\/EuroSP.2018.00023"},{"key":"e_1_3_1_76_2","volume-title":"Proceedings of the 10th Network & Distributed System Security Symposium 2003","author":"Wilander John","year":"2003","unstructured":"John Wilander and Mariam Kamkar. 2003. A comparison of publicly available tools for dynamic buffer overflow prevention. In Proceedings of the 10th Network & Distributed System Security Symposium 2003. Internet Society."},{"key":"e_1_3_1_77_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISCA.2014.6853201"},{"key":"e_1_3_1_78_2","doi-asserted-by":"publisher","DOI":"10.1145\/3352460.3358288"},{"key":"e_1_3_1_79_2","doi-asserted-by":"publisher","DOI":"10.1109\/JPROC.2019.2918437"},{"key":"e_1_3_1_80_2","doi-asserted-by":"publisher","DOI":"10.1145\/2948618.2948621"},{"key":"e_1_3_1_81_2","volume-title":"Proceedings of the 4th Workshop on Computer Architecture Research with RISC-V","author":"Zhao Jerry","year":"2020","unstructured":"Jerry Zhao, Ben Korpan, Abraham Gonzalez, and Krste Asanovi\u0107. 2020. SonicBOOM: The 3rd generation Berkeley out-of-order machine. In Proceedings of the 4th Workshop on Computer Architecture Research with RISC-V."},{"key":"e_1_3_1_82_2","unstructured":"Lianying Zhao He Shuang Shengjie Xu Wei Huang Rongzhen Cui Pushkar Bettadpur and David Lie. 2019. SoK: Hardware security support for trustworthy execution. arxiv:1910.04957. Retrieved from https:\/\/arxiv.org\/abs\/1910.04957"},{"key":"e_1_3_1_83_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11390-020-9703-2"},{"key":"e_1_3_1_84_2","doi-asserted-by":"publisher","DOI":"10.1145\/1029894.1029911"}],"container-title":["ACM Computing Surveys"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3604906","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3604906","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T16:46:05Z","timestamp":1750178765000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3604906"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,9,14]]},"references-count":83,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2024,2,29]]}},"alternative-id":["10.1145\/3604906"],"URL":"https:\/\/doi.org\/10.1145\/3604906","relation":{},"ISSN":["0360-0300","1557-7341"],"issn-type":[{"value":"0360-0300","type":"print"},{"value":"1557-7341","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,9,14]]},"assertion":[{"value":"2020-08-24","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-05-31","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-09-14","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}