xTag: Mitigating Use-After-Free Vulnerabilities via Software-Based Pointer Tagging on Intel x86-64
Lukas Bernhard, Michael Rodler, Thorsten Holz, Lucas Davi

TL;DR
This paper introduces xTag, a software-based pointer tagging scheme for Intel x86-64 that mitigates use-after-free vulnerabilities with high compatibility and improved performance, addressing a gap in hardware-supported memory safety.
Contribution
The paper presents a novel software-only pointer tagging scheme for x86-64 that embeds metadata efficiently, enabling effective use-after-free mitigation without hardware support.
Findings
xTag effectively prevents use-after-free bugs in Firefox
The scheme achieves high compatibility with existing code
Performance impact is significantly reduced through optimizations
Abstract
Memory safety in complex applications implemented in unsafe programming languages such as C/C++ is still an unresolved problem in practice. Many different types of defenses have been proposed in the past to mitigate this problem. The most promising next step is a tighter integration of the hardware and software level: modern mitigation techniques are either accelerated using hardware extensions or implemented in the hardware by extensions of the ISA. In particular, memory tagging, as proposed by ARM or SPARC, promises to solve many issues for practical memory safety. Unfortunately, Intel x86-64, which represents the most important ISA for both the desktop and server domain, lacks support for hardware-accelerated memory tagging, so memory tagging is not considered practical for this platform. In this paper, we present the design and implementation of an efficient, software-only pointer…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Cloud Data Security Solutions · Advanced Malware Detection Techniques
