Detailed Information

Cited 0 time in webofscience Cited 0 time in scopus
Metadata Downloads

ZOMETAG: Zone-based Memory Tagging for Fast, Deterministic Detection of Spatial Memory Violations on ARM

Authors
Seo, JiwonYou, JunseungKwon, DonghyunCho, YeongpilPaek, Yunheung
Issue Date
Jul-2023
Publisher
Institute of Electrical and Electronics Engineers Inc.
Keywords
Spatial memory violations; memory safety; Memory Tagging Extension (MTE); bounds checking (BC)
Citation
IEEE Transactions on Information Forensics and Security, v.18, pp.4915 - 4928
Indexed
SCIE
SCOPUS
Journal Title
IEEE Transactions on Information Forensics and Security
Volume
18
Start Page
4915
End Page
4928
URI
https://scholarworks.bwise.kr/hanyang/handle/2021.sw.hanyang/192966
DOI
10.1109/TIFS.2023.3299454
ISSN
1556-6013
Abstract
Against spatial memory violations threatening a vast amount of legacy software, various safety solutions have been suggested for decades. However, their practical uses have been impeded by diverse reasons, such as significant overheads and mandatory modifications of existing architectures. Accordingly, there has been a clear need for a practical safety solution that is fast enough and yet runs on commodity systems for its wide applicability in the field. As an effort to meet this need, a major processor vendor, ARM, recently announced a hardware extension, called <italic>MemoryTagging Extension</italic> (MTE), that helps engineers to implement efficient safety solutions. However, due to lack of hardware tags to isolate all data objects, MTE either resorts to a probabilistic memory safety guarantee, which is susceptible to a security loophole, or suffers from severe performance degradation to guarantee deterministic security. The aim of our work is to develop a MTE-based deterministic spatial safety solution, called ZOMETAG, with high efficiency by capitalizing on salient architectural features. Our key idea for fast, deterministic safety is to somehow assign permanently all objects unique tags throughout program execution. For this, ZOMETAG first divides the data memory into a number of small regions, called <italic>zones</italic>, and distributes data objects over the zones subject to certain constraints (to be discussed later). Then, we extend the notion of a tag in a way that each object stored with MTE tag <italic>t</italic> in zone <italic>z</italic> is uniquely assigned the zone-tag pair &#x003C;<italic>z,t</italic>&#x003E; as a new tag. To work with this new tag assignment, we devise a novel mechanism, called <italic>two-layer</italic> isolation, that is basically a combination of MTE-based tagging (for one-layer of isolation) with zone-based tagging (for the other) both of which collaborate together to ensure spatial safety for all objects by preventing a pointer currently assigned one zone-tag pair from erroneously referring to objects assigned different pairs. Our experimental results are quite encouraging. ZOMETAG enforces deterministic spatial safety with overheads of 35% in SPEC CPU2006 and merely of 6% in real world applications like nginx.
Files in This Item
Go to Link
Appears in
Collections
서울 공과대학 > 서울 컴퓨터소프트웨어학부 > 1. Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Related Researcher

Researcher Cho, Yeong pil photo

Cho, Yeong pil
COLLEGE OF ENGINEERING (SCHOOL OF COMPUTER SCIENCE)
Read more

Altmetrics

Total Views & Downloads

BROWSE