yawnbox moved Disobey Discotheque’s Mastodon application services onto an Arm board and turned on the Memory Tagging Extension (MTE). This hardware check can catch some out-of-bounds accesses and some uses of memory after it has been freed. The operator’s report shows which services had tagged memory. It describes a hardening rollout, not a breach, a Mastodon vulnerability, or an attack test.
MTE compares a small tag on a pointer, which holds a memory address, with the tag on the memory it references. In Linux’s synchronous mode, a mismatch stops the bad access immediately. A service needs both tagged memory and tag checking enabled. Flipping the firmware switch does not opt an application in.
Verify coverage in the process that actually runs
- Start with services that handle outside input. The operator prioritized the web workers and media tools that handle images and video from other servers. Ruby and Node.js were only partly covered: the setup tagged allocations made through the system C library, while the runtimes also managed memory of their own.
- Check the allocator after a rebuild or upgrade. The operator rebuilt Redis to use GNU libc’s allocator instead of its usual Linux default, jemalloc. GNU libc’s 2.44 release notes say upstream removed that library’s Arm memory-tagging option and the implementation behind it. An unchanged service setting can outlive the support it depends on. Test your new build in staging rather than freezing security updates to keep the setting.
- Use separate checks for application and kernel memory. The operator looked for the
mtflag in each service’s/proc/<pid>/smaps, which lists memory mappings. The flag identifies regions that support tags. Confirm allocation coverage and the fault mode separately. If you enable kernel hardware tagging, check its own startup logs and plan for how the host will recover if configured to panic.
PostgreSQL, search and media storage stayed on a separate x86 virtual machine outside this Arm mitigation. The operator also reported that the 64 GB Orion O6 exposed only about 28 GiB of usable memory with MTE on. A separate firmware issue report saw a similar drop on that board. Measure capacity and service latency on your own hardware before rolling it out.
Caveat: Matching tags can still let a bad access through. Tagging adds a layer to patching and isolation; it cannot substitute for either.