Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
1–10 of 61 posts
Re: Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
#2Re: Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
#3(site seems dead)
Re: Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
#4Re: Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
#5Multicultural Toronto English? Something else? (site seems dead)
This allows to assign tag to each memory allocation. And subsequent accesses to the same memory area must be made with a pointer having a correct tag.
Re: Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
#6Multicultural Toronto English? Something else? (site seems dead)
Re: Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
#7Re: Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
#8Re: Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
#9Why isn't it enabled by default?
I would definitely advice anyone against enabling "Developer options" on your phone without having a good understanding what those options do. They are hidden and hard to access for a reason.
Re: Enable ARMv9 Memory Tagging Extension (MTE) on Pixel 8
#10> Stock Pixel OS has it as a developer option which isn't usable in practice since it breaks far too much. The implementation is also much less powerful than hardened_malloc.
> We integrated it into hardened_malloc where it's able to provide stronger security properties than the experimental stock OS implementation.
> When fully integrated into the compiler and each heap allocator, MTE enforces a form of memory safety. It detects memory corruption as it happens. 4 bit tags limit it to probabilistic detection for the general case, but deterministic guarantees are possible via reserving tags. In hardened_malloc, we deterministically prevent sequential overflows by excluding adjacent tags.
Also, currently it's not clear if it makes sense to enable kernel MTE:
> MTE support for protecting the Linux kernel isn't enabled yet, but we can likely enable that by default too. However, it's currently part of kasan and is more oriented towards debugging than hardening. It's not entirely clear that enabling it in the current state is a good idea.