Open southwestgit opened 12 months ago
Describe the Bug
App is not runnable on Grapheneos with memory tag protection.
To Reproduce
Enable memory tag protection on GrapheneOS and run app.
Expected Behavior
The app to function secure memory tagging turned on.
What Custom Configuration Do You Use?
GrapheneOS with memory tag protection.
Smartphone (please complete the following information):
type: crash
osVersion: google/shiba/shiba:14/UQ1A.240105.004/2024010400:user/release-keys
uid: 10149 (u:r:untrusted_app_32:s0:c149,c256,c512,c768)
cmdline: org.torproject.android
processUptime: 2062s
signal: 11 (SIGSEGV), code 9 (SEGV_MTESERR), faultAddr 100ca634ddf95d0
threadName: Thread-8
MTE: enabled
backtrace:
/data/app/<redacted>/org.torproject.android-<redacted>/base.apk (_cgo_9b39563feb7e_Cfunc_get_conn_key_val+32, pc 982bb4)
/data/app/<redacted>/org.torproject.android-<redacted>/base.apk (pc 34b168)
" /data/app/
seems to be the source of the issue?
Seems like something to run by core tor devs.
Any progress on this issue?
Looks like the root cause is the Go runtime, which is used for all Pluggable Transports:
https://gitlab.torproject.org/tpo/core/onionmasq/-/issues/105
I'm afraid, there's currently no other solution than building a version without any Go code. That would mean no bridges, only direct Tor access, which makes it useless for a lot of countries and without gotun2socks. There would be a C or JVM based tun2socks needed, then.
Describe the Bug App fails androids memory safety test.
To Reproduce Steps to reproduce the behavior: Start the app with MTE (memory tagging) turned on.
Expected Behavior The app to function secure memory tagging turned on.
What Custom Configuration Do You Use? None
Smartphone (please complete the following information):
Crash Logs (Advanced)