Tag

Memory Tagging

1 views collected around this technical thread.

OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 26, 2021 · Information Security

Memory Tagging Extension (MTE): Overview, Principles, and Usage in Android and Linux Kernel

Memory Tagging Extension (MTE), introduced in ARM v8.5, tags memory with 4‑bit keys and checks them in hardware via synchronous or asynchronous modes, providing low‑overhead detection of use‑after‑free, overflow and underflow bugs in Android (since 12) and Linux kernels, complementing tools like ASan and KASAN despite a 16‑byte granularity limitation.

ARMAndroidLinux kernel
0 likes · 10 min read
Memory Tagging Extension (MTE): Overview, Principles, and Usage in Android and Linux Kernel