torbrowser-launcher icon indicating copy to clipboard operation
torbrowser-launcher copied to clipboard

AppArmor denial: /sys/bus/pci/devices/, also causes crashes on start since TBB 11.0 FF 91

Open pabs3 opened this issue 4 years ago • 3 comments

Recent versions of Tor Browser (as installed/ran by torbrowser-launcher) give this AppArmor denial on start:

Aug 11 09:45:46 audit[1272502]: AVC apparmor="DENIED" operation="open" profile="torbrowser_firefox" name="/sys/bus/pci/devices/" pid=1272502 comm="firefox.real" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

pabs3 avatar Aug 11 '21 01:08 pabs3

Since Tor Browser version 11.0 (Firefox ESR 91), this is now causing SIGSEGV crashes during start. Tor Browser still starts but if a core dump handler is installed then every start of Tor Browser via torbrowser-launcher crashes and dumps memory to a core file. This behavior appears to be a Firefox/libpci interaction bug and is filed upstream here:

https://bugzilla.mozilla.org/show_bug.cgi?id=1700601

pabs3 avatar Nov 12 '21 03:11 pabs3

Here is the Tor Browser bug report for this:

https://bugs.torproject.org/tpo/applications/tor-browser/40708

-- bye, pabs

https://bonedaddy.net/pabs3/

pabs3 avatar Nov 12 '21 04:11 pabs3

Looks like the crash was fixed in this commit by allowing Firefox to access GPUs:

https://github.com/micahflee/torbrowser-launcher/commit/7af35f4475d1dab28f84f76146a5f743b60402ac

This probably opens up a new privacy issue though, so I am not sure that this bug should be closed yet.

pabs3 avatar Jan 12 '22 05:01 pabs3