TikTag: Breaking ARM's Memory Tagging Extension with Speculative Execution
<|reference_start|>TikTag: Breaking ARM's Memory Tagging Extension with Speculative Execution: ARM Memory Tagging Extension (MTE) is a new hardware feature introduced in ARMv8.5-A architecture, aiming to detect memory corruption vulnerabilities. The low overhead of MTE makes it an attractive solution to mitigate memory corruption attacks in modern software systems and is considered the most promising path forward for improving C/C++ software security. This paper explores the potential security risks posed by speculative execution attacks against MTE. Specifically, this paper identifies new TikTag gadgets capable of leaking the MTE tags from arbitrary memory addresses through speculative execution. With TikTag gadgets, attackers can bypass the probabilistic defense of MTE, increasing the attack success rate by close to 100%. We demonstrate that TikTag gadgets can be used to bypass MTE-based mitigations in real-world systems, Google Chrome and the Linux kernel. Experimental results show that TikTag gadgets can successfully leak an MTE tag with a success rate higher than 95% in less than 4 seconds. We further propose new defense mechanisms to mitigate the security risks posed by TikTag gadgets.<|reference_end|>
@article{kim2024tiktag:,
    title={TikTag: Breaking ARM's Memory Tagging Extension with Speculative
  Execution},
    author={Juhee Kim and Jinbum Park and Sihyeon Roh and Jaeyoung Chung and
  Youngjoo Lee and Taesoo Kim and Byoungyoung Lee},
    journal={arXiv preprint arXiv:2406.08719},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.08719},
    primaryClass={cs.CR}
}