[tor-bugs] #25440 [Core Tor/Tor]: Broken openat syscall in Sandbox mode

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 30 12:44:25 UTC 2018


#25440: Broken openat syscall in Sandbox mode
-------------------------------------------------+-------------------------
 Reporter:  ageisp0lis                           |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.3.3-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  sandbox, 033-must, regression,       |  Actual Points:
  033-triage-20180326, 033-included-20180326     |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by intrigeri):

 I see a very similar startup failure on the development version of Tails
 based on Debian 10 (Buster); to r is 0.3.2.10-1, libc6 is 2.27-2 (both
 from Debian testing).


 {{{
 [notice] Tor 0.3.2.10 (git-0edaa32732ec8930) running on Linux with
 Libevent 2.1.8-stable, OpenSSL 1.1.0h, Zlib 1.2.8, Liblzma 5.2.2, and
 Libzstd 1.3.3.
 [notice] Tor can't help you if you use it wrong! Learn how to be safe at
 https://www.torproject.org/download/download#warning
 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-
 torrc".
 [notice] Read configuration file "/etc/tor/torrc".
 [warn] Skipping obsolete configuration option 'ControlListenAddress'
 [warn] Skipping obsolete configuration option 'TransListenAddress'
 [warn] Skipping obsolete configuration option 'WarnUnsafeSocks'
 lid
 [notice] Tor 0.3.2.10 (git-0edaa32732ec8930) running on Linux with
 Libevent 2.1.8-stable, OpenSSL 1.1.0h, Zlib 1.2.8, Liblzma 5.2.2, and
 Libzstd 1.3.3.
 [notice] Tor can't help you if you use it wrong! Learn how to be safe at
 https://www.torproject.org/download/download#warning
 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-
 torrc".
 [notice] Read configuration file "/etc/tor/torrc".
 [warn] Skipping obsolete configuration option 'ControlListenAddress'
 [warn] Skipping obsolete configuration option 'TransListenAddress'
 [warn] Skipping obsolete configuration option 'WarnUnsafeSocks'
 [notice] Scheduler type KIST has been enabled.
 [notice] Opening Socks listener on 127.0.0.1:9050
 [notice] Opening Socks listener on 127.0.0.1:9062
 [notice] Opening Socks listener on 127.0.0.1:9150
 [notice] Opening DNS listener on 127.0.0.1:5353
 [notice] Opening Transparent pf/netfilter listener on 127.0.0.1:9040
 [notice] Opening Control listener on 127.0.0.1:9052
 ============================================================ T= 1522412451
 (Sandbox) Caught a bad syscall attempt (syscall openat)
 /usr/bin/tor(+0x1a2f3a)[0x5fe2178aff3a]
 /lib/x86_64-linux-gnu/libpthread.so.0(open64+0x4b)[0x7b392350d3ab]
 /usr/bin/tor(tor_open_cloexec+0x40)[0x5fe217896260]
 /usr/bin/tor(start_writing_to_file+0x17a)[0x5fe2178a9a3a]
 /usr/bin/tor(+0x19cb1b)[0x5fe2178a9b1b]
 /usr/bin/tor(+0x19cc68)[0x5fe2178a9c68]
 /usr/bin/tor(networkstatus_set_current_consensus+0xc99)[0x5fe21776c3e9]
 /usr/bin/tor(connection_dir_reached_eof+0x14cb)[0x5fe217841ccb]
 /usr/bin/tor(+0x10c9d9)[0x5fe2178199d9]
 /usr/bin/tor(+0x52a1e)[0x5fe21775fa1e]
 /usr/lib/x86_64-linux-gnu/libevent-2.1.so.6(+0x229ba)[0x7b39249ac9ba]
 /usr/lib/x86_64-linux-
 gnu/libevent-2.1.so.6(event_base_loop+0x5a7)[0x7b39249ad537]
 /usr/bin/tor(do_main_loop+0x28d)[0x5fe21776096d]
 /usr/bin/tor(tor_main+0xe1d)[0x5fe21776378d]
 /usr/bin/tor(main+0x19)[0x5fe21775c1b9]
 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7b3922f5fa87]
 /usr/bin/tor(_start+0x2a)[0x5fe21775c20a]
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25440#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list