Memory Integrity Enforcement Changes the Game on iOS

For journalists, lawyers, activists, politicians, executives, and other high-profile figures, the most relevant new feature from Apple's latest product launch wasn't highly advertised at all. Rather, it was announced in a September 9th post on the Apple Security Research blog.

Memory Integrity Enforcement (MIE) is a security enhancement present in the the A19 System-on-Chip (SoC) series (iPhone 17, iPhone Air) which combines existing memory safety defenses in iOS with ARM's Memory Tagging Extension (MTE).
What is MTE?
MTE is an SoC hardware feature originally built by ARM as a debugging tool for app developers. Apps need to store data in your phone or computer's memory (RAM), and they reserve this space in RAM through a process called memory allocation. Unfortunately, these allocations are often not validated, and apps can inadvertently (or maliciously) access memory outside of what they've been allocated, through a variety of methods.
MTE is essentially a system which informs the developer and the operating system when this happens. When MTE is in use, every memory allocation is tagged with a secret. Then, the hardware ensures that every future request from an app to access that memory allocation is only granted if the request contains that same secret.