Opened 3 years ago

Closed 3 years ago

#20003 closed defect (fixed)

Sandbox causing crash when setting HidServAuth

Reported by: segfault Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version: Tor: 0.2.7.6
Severity: Normal Keywords:
Cc: segfault@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I'm working on Tails Server and I'm currently implementing client authentication for it. When I use SETCONF to set the HidServAuth, or set it in the torrc and reload Tor, Tor crashes with this error message:

============================================================ T= 1472233872
(Sandbox) Caught a bad syscall attempt (syscall chmod)
/usr/bin/tor(+0x13d8bc)[0xf76a28bc]
/lib/i386-linux-gnu/libc.so.6(chmod+0x11)[0xf7141361]
/lib/i386-linux-gnu/libc.so.6(chmod+0x11)[0xf7141361]
/usr/bin/tor(+0x583bf)[0xf75bd3bf]
/usr/bin/tor(rend_service_load_all_keys+0x7f)[0xf75bf21f]
/usr/bin/tor(set_options+0xcc1)[0xf762d1f1]
/usr/bin/tor(options_trial_assign+0xc4)[0xf762e8c4]
/usr/bin/tor(+0xe7c83)[0xf764cc83]
/usr/bin/tor(connection_control_process_inbuf+0x981)[0xf76509f1]
/usr/bin/tor(+0xcecdd)[0xf7633cdd]
/usr/bin/tor(+0xd75a8)[0xf763c5a8]
/usr/bin/tor(+0x2f0a9)[0xf75940a9]
/usr/lib/i386-linux-gnu/libevent-2.0.so.5(event_base_loop+0x73d)[0xf748136d]
/usr/bin/tor(do_main_loop+0x27d)[0xf7594b0d]
/usr/bin/tor(tor_main+0x176d)[0xf7598a8d]
/usr/bin/tor(main+0x35)[0xf7591b35]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xf7092723]
/usr/bin/tor(+0x2cb94)[0xf7591b94]

Child Tickets

Change History (3)

comment:1 Changed 3 years ago by segfault

Cc: segfault@… added

comment:2 Changed 3 years ago by nickm

Does this bug also exist in 0.2.8.6 and later?

comment:3 Changed 3 years ago by segfault

Resolution: fixed
Status: newclosed

This bug does not exist in 0.2.8.6 :)
But I found a similar bug: #20007

Note: See TracTickets for help on using tickets.