** Summary changed:

- Apparmor profile prevents Tor Browser from loading libstdc++.so.6 since Tor 
Browser 10.0 was released
+ [SRU] Apparmor profile prevents Tor Browser from loading libstdc++.so.6 since 
Tor Browser 10.0 was released

** Description changed:

+ [Impact] 
+ The AppArmor profile for Tor Browser prevents access to libstdc libraries.  
This prevents Tor Browser from starting.
+ 
+ [Test Case]
+ (1) Install torbrowser-launcher.
+ (2) Let it download/update.
+ (3) Program will fail to start when launched with error in attempting to 
mem-map libstdc libraries.
+ 
+ [Regression Potential]
+ The regression potential for the fix for this is near-zero.  It simply alters 
the apparmor profile to permit mem-mapping of libstdc.
+ 
+ 
+ [Original Bug Description]
+ 
  The AppArmor profile torbrowser.Browser.firefox prevents Tor Browser
  from loading libstdc++.so.6 on Ubuntu 20.04. This results in Tor Browser
  failing to start since 10.0 release with the following error being
  printed on stdout:
  
  ./firefox.real: error while loading shared libraries: libstdc++.so.6:
  failed to map segment from shared object
  
  And the following message in the audit logs:
  
  AVC apparmor="DENIED" operation="file_mmap" profile="torbrowser_firefox"
  name="/home/<user>/.local/share/torbrowser/tbb/x86_64/tor-browser_en-
  US/Browser/TorBrowser/Tor/libstdc++/libstdc++.so.6" pid=3883
  comm="firefox.real" requested_mask="m" denied_mask="m" fsuid=1000
  ouid=1000
  
  This patch from Debian fixes the issue: https://salsa.debian.org/pkg-
  privacy-team/torbrowser-
  launcher/-/commit/87859bce5779f89b37c4e4be334f7e1670b0a9f3
  
  It is already fixed in Groovy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1897302

Title:
  [SRU] Apparmor profile prevents Tor Browser from loading
  libstdc++.so.6 since Tor Browser 10.0 was released

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/torbrowser-launcher/+bug/1897302/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to