Memory bugs in software written in languages such as C are an entry point for attacks. Arm's Memory Tagging Extension (MTE) is a mechanism that detects such invalid memory accesses in hardware. On November 28, 2026, a security engineer who runs Mastodon servers published a record of applying MTE to the application layer of those servers (the operator's report). The operator calls the setup a proof of concept. This article sorts out how this mechanism for improving memory safety works and how far it could be applied.
How MTE works: detecting invalid memory accesses by comparing tags
According to the Linux kernel documentation, MTE gives each 16-byte granule of physical memory a 4-bit tag. On a memory access, a tag derived from bits 59-56 of the virtual address is compared with that tag, and on a mismatch an exception may be raised, depending on configuration (Linux kernel MTE documentation). Among the limitations of MTE, the operator notes that there are only 16 tag values, so a blind guess matches 1 time in 16, and that memory nobody tags is not checked (the operator's report, "MTE limitations").
The default behavior on a tag mismatch is to ignore it. In synchronous mode, the memory access is not performed and a SIGSEGV is raised right away. In asynchronous mode, the SIGSEGV arrives after one or more mismatches, and the faulting address is unknown. There is also an asymmetric mode that handles reads as synchronous and writes as asynchronous (same documentation).
Applying it to Mastodon servers
The operator moved the Mastodon apps onto a Radxa Orion O6. Radxa describes the board as built on "Armv9.2 Architecture" (the operator's report, Radxa's product page).
In the kernel, the operator enables KASAN in its hardware tag mode with synchronous checking and sets the kernel to panic on a mismatch (kasan=on kasan.mode=sync kasan.fault=panic). The Linux documentation describes this mode as one that works only on arm64 CPUs that support MTE and that is intended to be used as an in-field memory bug detector or as a security mitigation (Linux kernel KASAN documentation).
In user space, each service is given GLIBC_TUNABLES=glibc.mem.tagging=3. According to the glibc manual, bit 0 makes malloc allocate tagged memory and bit 1 enables precise faulting mode for tag violations. The value 3 sets both bits (glibc 2.43 manual).
In user space in this setup, however, only memory allocated by glibc's malloc is covered. In the operator's table, Puma and Sidekiq (Ruby) and the Node.js streaming server are marked "Partly." Ruby's own object storage and the JavaScript engine's heap use their own allocators and are not covered. Compiled native Ruby gems, libvips, ffmpeg, and the C implementation of Tor are covered. Redis is built from source to use glibc's malloc instead of its default jemalloc, which brings it into scope. Tor's WebTunnel, written in Go, is not covered because Go has its own allocator. PostgreSQL, Elasticsearch, and media storage sit on a separate x86-64 virtual machine without MTE.

The operator confirms, service by service, that there are tagged memory regions by counting the regions marked mt in /proc/<pid>/smaps. The operator says any number above zero means tagging is live in that process. It is not, however, a figure showing that all memory is protected.
What is not known about capacity and performance
On the operator's 64 GB board, with MTE turned on in the firmware, Linux sees about 28 GiB (MemTotal: 29544488 kB). The repository for Radxa's firmware also has a report, filed in September 2026, that enabling MTE on a 64 GB Orion O6 reduces usable memory to about 28 GiB. As of our check on November 30, 2026, the issue remains open, and its reporter asks whether this is an expected limitation or unintended behavior (issue in Radxa's firmware repository). Radxa has not explained the cause in the issue. The reporter traced it as far as the firmware reporting 64 GiB installed but only 29 GiB available with MTE enabled, and leaves open why that is. This number cannot be read as the memory cost of MTE in general. The operator says the performance impact was not measured on this server.
How its role differs from control-flow protection
Alongside MTE, the operator also uses BTI, which restricts where indirect branches may land, and PAC, which signs pointers and checks the signature. In user space, BTI and PAC are on. In the kernel, PAC is on but BTI is off. The operator explains that in current Linux source the kernel BTI option cannot be built with GCC, and this kernel is built with GCC. kCFI and the Shadow Call Stack are not enabled in this setup either. The operator reports that, for one of the Mastodon instances they run, among 229 executable objects loaded by its running services there was no unhardened local code, but this is a check of compile-time protections and does not indicate how much memory is tagged (the operator's report).
The operator divides an attack into three steps: finding a memory bug, using it to change data in memory, and hijacking control flow. MTE works at the second step, and control-flow protections such as BTI and PAC work at the third. MTE has the limitation of only 16 tag values, and BTI accepts any landing spot that is marked. Neither stops every attack.
What to check when considering MTE as a memory safety measure
We recommend that companies considering hardware memory protection check the following points.
- Is the allocator your software uses covered by MTE?
- Have you listed the parts that are not covered (custom allocators, other language runtimes, other servers)?
- Have you measured the impact on memory capacity and performance yourself, on the hardware you will use?
- Do you combine it with control-flow protection?
Hardware protection is useful only when you know the range it applies to. Writing down what is protected and what remains is the starting point.
Elith builds AI products for enterprises and conducts advanced research on a foundation of AI safety and security. We share trends in AI safety and security and insights from research and practice in Elith AI Signal. We will keep reading reports like this one against primary sources and reporting on them.

