Version 0.5.0 crashes when being run with ARMv8.5 MTE (memory tagging)
When running Tor VPN with ARMv8.5 memory tagging enabled, after tapping on the Connect button the app will crash within 3 seconds, and will produce the attached error. Error_in_Tor_VPN_d259276bb201.txt
You will currently only be able to reproduce this in production on a Google Pixel 8 or Google Pixel 8 Pro device, running GrapheneOS with memory tagging enabled for the Tor VPN Android app.
Please note that this is not a bug with GrapheneOS, it is a memory corruption bug which is exposed by GrapheneOS. Android will be eventually deploying memory tagging by default, so this will need to be resolved before that point, to avoid the app being broken for users with an MTE-capable device.
Steps to reproduce:
- Install Tor VPN version 0.5.0 from the Gitlab package archive
- Open Tor VPN and dismiss the dialog shown upon first run
- Tap on Connect
Not being experienced in debugging native code, I do not know if this is a memory corruption within little-t tor or within the Tor VPN app itself.
version 0.5.0
org.torproject.vpn
versionCode 5
Installed from the Gitlab package archive