상세 보기
Bastag: Byte-level Access Control on Shared Memory using ARM Memory Tagging Extension
- You, Junseung;
- Seo, Jiwon;
- Lee, Kyeongryong;
- Cho, Yeongpil;
- Paek, Yunheung
WEB OF SCIENCE
1SCOPUS
2초록
As software grows in size and complexity, modular designs are increasingly adopted, leading to frequent interactions via shared memory between components. This design however increases the risk of vulnerabilities from uncontrolled memory access to shared memory. Enforcing byte-level access control can mitigate these risks by enabling byte-level permissions on complex shared objects and their sub-elements. However, existing approaches face performance limitations as they increase the granularity of control to byte level. In this paper, we present Bastag, a novel system that leverages ARM's Memory Tagging Extension (MTE) to tack this challenge. Although MTE enforces tag-matching between pointers and memory, its hardware-defined granularity is too coarse to support byte-level control on its own. To address the inherent limitations of applying MTE for nuanced access control, Bastag incorporates a technique known as shadow memory tagging that places separate, but associated MTE tags for the actual memory targets, allowing for more flexible and finer access control with efficiency. We implemented a Bastag prototype on AArch64 hardware with MTE support and evaluated it on three real-world use cases. Our results demonstrate that Bastag significantly outperforms existing byte-level access control mechanisms.
키워드
- 제목
- Bastag: Byte-level Access Control on Shared Memory using ARM Memory Tagging Extension
- 저자
- You, Junseung; Seo, Jiwon; Lee, Kyeongryong; Cho, Yeongpil; Paek, Yunheung
- 발행일
- 2025-11
- 유형
- Proceedings Paper
- 저널명
- PROCEEDINGS OF THE 2025 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, CCS 2025
- 페이지
- 1514 ~ 1528