[tor-bugs] #26387 [Core Tor/Tor]: sandbox incompatible with glibc 2.27

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 15 21:54:42 UTC 2018


#26387: sandbox incompatible with glibc 2.27
------------------------------+--------------------------
     Reporter:  cypherpunks   |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: 0.3.3.7
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------
 Similar to #24315.  If I enable the sandbox on my system, I get killed
 with:

 {{{
 (Sandbox) Caught a bad syscall attempt (syscall openat)
 tor(+0x1a439a)[0x55d0af97d39a]
 /lib64/libpthread.so.0(open64+0x4b)[0x7f74ed0951cb]
 /lib64/libpthread.so.0(open64+0x4b)[0x7f74ed0951cb]
 tor(tor_open_cloexec+0x40)[0x55d0af963440]
 tor(start_writing_to_file+0x17a)[0x55d0af976e7a]
 tor(+0x19df5b)[0x55d0af976f5b]
 tor(+0x19e0a8)[0x55d0af9770a8]
 tor(or_state_save+0x15b)[0x55d0af8954cb]
 tor(+0x52e3b)[0x55d0af82be3b]
 /usr/lib64/libevent-2.1.so.6(+0x236fa)[0x7f74eddf06fa]
 /usr/lib64/libevent-2.1.so.6(event_base_loop+0x57f)[0x7f74eddf164f]
 tor(do_main_loop+0x254)[0x55d0af82cb54]
 tor(tor_run_main+0x1025)[0x55d0af82ef15]
 tor(tor_main+0x3a)[0x55d0af8276ba]
 tor(main+0x19)[0x55d0af827449]
 /lib64/libc.so.6(__libc_start_main+0xe7)[0x7f74eccdb9f7]
 tor(_start+0x2a)[0x55d0af82749a]
 }}}

 strace:

 {{{
 write(1, "(Sandbox) Caught a bad syscall a"..., 48(Sandbox) Caught a bad
 syscall attempt (syscall ) = 48
 write(1, "openat", 6openat)                   = 6
 }}}

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


More information about the tor-bugs mailing list