[tor-bugs] #29819 [Core Tor/Tor]: Seccomp: sandbox crash on rt_sigaction with libseccomp 0.2.4

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 29 19:13:02 UTC 2019


#29819: Seccomp: sandbox crash on rt_sigaction with libseccomp 0.2.4
---------------------------------------------+-----------------------------
 Reporter:  toralf                           |          Owner:  nickm
     Type:  defect                           |         Status:  assigned
 Priority:  Medium                           |      Milestone:  Tor:
                                             |  0.4.0.x-final
Component:  Core Tor/Tor                     |        Version:  Tor:
                                             |  unspecified
 Severity:  Normal                           |     Resolution:
 Keywords:  crash, linux, sandbox, 040-must  |  Actual Points:
Parent ID:                                   |         Points:  0.2
 Reviewer:                                   |        Sponsor:
---------------------------------------------+-----------------------------

Comment (by nickm):

 never mind -- I managed to reproduce the bug, and it is clear that line is
 being reached.  I suspect a bug in libseccomp.

 I used "git bisect" on libseccomp, and it says
 "cf98f79d0894221beb9f2753c092304237617c1c" is the first bad commit.  Here
 is my log:
 {{{
 git bisect start
 # bad: [7fbf639526eb37a011318736587c3a6f8206b888] all: update the
 CHANGELOG and version for v2.4.0
 git bisect bad 7fbf639526eb37a011318736587c3a6f8206b888
 # good: [74b190e1aa05f07da0c61fb9a30dbc9c18ce2c9d] build: bump the version
 to v2.3.3
 git bisect good 74b190e1aa05f07da0c61fb9a30dbc9c18ce2c9d
 # good: [bbf23ba4beae9a23148c6845a3037b1a4a8589e7] doc: update the
 CHANGELOG for the v2.3.0 release
 git bisect good bbf23ba4beae9a23148c6845a3037b1a4a8589e7
 # good: [94d92b39d17dc5546a5e947d042584dbc79decb1] man: Fix
 SCMP_FLTATR_API_TSKIP typo in seccomp_attr_set man page
 git bisect good 94d92b39d17dc5546a5e947d042584dbc79decb1
 # bad: [85cde70d0162c000dd4fc108b0ab0149c113c643] all: fixup all the file
 permissions
 git bisect bad 85cde70d0162c000dd4fc108b0ab0149c113c643
 # good: [56250ddff8fd78f6eaa3a0e0a01dfff01093212f] doc: update the
 CHANGELOG and CREDITS for v2.3.3
 git bisect good 56250ddff8fd78f6eaa3a0e0a01dfff01093212f
 # good: [a2c104da83856136547eb1e8f33b4c194a0fe945] doc: update the
 coveralls badge to use shields.io
 git bisect good a2c104da83856136547eb1e8f33b4c194a0fe945
 # bad: [cf98f79d0894221beb9f2753c092304237617c1c] db: applied pcmoore's
 gist for GH issue #112
 git bisect bad cf98f79d0894221beb9f2753c092304237617c1c
 # good: [43d78737f323e0b87d21c2a5678b46ff26b00e30] docs: add golang
 bindings pointer to README.md
 git bisect good 43d78737f323e0b87d21c2a5678b46ff26b00e30
 # good: [c14558ec0c8edcd92974adba43543d2d4f20e7f1] docs: add the supported
 ABIs to the README
 git bisect good c14558ec0c8edcd92974adba43543d2d4f20e7f1
 # first bad commit: [cf98f79d0894221beb9f2753c092304237617c1c] db: applied
 pcmoore's gist for GH issue #112
 }}}

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


More information about the tor-bugs mailing list