9-11 September 2019
Europe/Lisbon timezone

ARM v8.5 Memory Tagging Extension

10 Sep 2019, 18:45
15m
Opala/room-I&II (Corinthia Hotel Lisbon)

Opala/room-I&II

Corinthia Hotel Lisbon

126

Speaker

Vincenzo Frascino (ARM)

Description

What is MTE and why we do need to add the support for the Linux Userspace? Memory Tagging is an ARMv8.5 extension and provides architectural support for run-time detection of various classes of memory errors. It can be used to aid with software debugging to eliminate vulnerabilities before they can be exploited (i.e. bounds violations, use-after-free,use-after-return, use-out-of-scope and use-before-initialisation).

What does MTE support for a Linux Userspace application mean? We can divide this topic in two main parts: userspace awareness (initialization, relaxation of the ABI, paging support for the tags, swapping) and userspace debugging (enable tagging in the userspace memory allocator).

The presentation will briefly introduce the MTE concepts trying to put them in the context of what is required for the Linux OS support. It will focus then on the enablement of the ARMv8.5 extension in the userspace trying to analyze the challenges that we faced during the endeavor: memory alignment, tags management, memory impact, etc.

Primary author

Presentation Materials