[tor-bugs] #19931 [Core Tor/Tor]: curve25519-donna runtime math errors on armhf

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 18 15:06:01 UTC 2016


#19931: curve25519-donna runtime math errors on armhf
-------------------------------------------------+-------------------------
 Reporter:  chadmiller                           |          Owner:
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.2.???
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.2.8.6
 Severity:  Normal                               |     Resolution:
 Keywords:  regression, integer-overflow,        |  Actual Points:
  029-proposed                                   |
Parent ID:                                       |         Points:  0.5
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by chadmiller):

 Aug 17 20:40:59 localhost ubuntu-core-launcher[2581]: Aug 17 20:40:59.897
 [notice] Tor v0.2.8.6 (git-4d217548e3f05569) running on Linux with
 Libevent 2.0.22-stable, OpenSSL 1.0.2g-fips and Zlib 1.2.8.
 Aug 17 20:40:59 localhost ubuntu-core-launcher[2581]: Aug 17 20:40:59.898
 [notice] Tor can't help you if you use it wrong! Learn how to be safe at
 https://www.torproject.org/download/download#warning
 Aug 17 20:40:59 localhost ubuntu-core-launcher[2581]: Aug 17 20:40:59.899
 [notice] Read configuration file "/snap/tor-middle-relay/59/torrc-
 defaults".
 Aug 17 20:40:59 localhost ubuntu-core-launcher[2581]: Aug 17 20:40:59.899
 [warn] Unable to open configuration file "/var/snap/tor-middle-
 relay/59/configuration".
 Aug 17 20:41:00 localhost ubuntu-core-launcher[2581]: Aug 17 20:41:00.105
 [notice] Your ContactInfo config option is not set. Please consider
 setting it, so we can contact you if your server is misconfigured or
 something else goes wrong.
 Aug 17 20:41:00 localhost ubuntu-core-launcher[2581]: Aug 17 20:41:00.107
 [notice] Based on detected system memory, MaxMemInQueues is set to 690 MB.
 You can override this by setting MaxMemInQueues by hand.
 Aug 17 20:41:00 localhost ubuntu-core-launcher[2581]: Aug 17 20:41:00.152
 [warn] You are running Tor as root. You don't need to, and you probably
 shouldn't.
 Aug 17 20:41:04 localhost ubuntu-core-launcher[2581]: Aug 17 20:41:04.635
 [notice] You are running a new relay. Thanks for helping the Tor network!
 If you wish to know what will happen in the upcoming weeks regarding its
 usage, have a look at https://blog.torproject.org/blog/lifecycle-of-a-new-
 relay
 Aug 17 20:41:04 localhost ubuntu-core-launcher[2581]: Aug 17 20:41:04.637
 [notice] It looks like I need to generate and sign a new medium-term
 signing key, because I don't have one. To do that, I need to load (or
 create) the permanent master identity key.
 Aug 17 20:41:09 localhost ubuntu-core-launcher[2581]: Aug 17 20:41:09.082
 [notice] Your Tor server's identity key fingerprint is 'UbuntuCore59
 D961B58542AE498E0D8584DD3BFCD49172679958'
 Aug 17 20:41:09 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:310:25: runtime error: left
 shift of negative value -54871
 Aug 17 20:41:09 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:300:23: runtime error: left
 shift of negative value -34426
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:218:27: runtime error: left
 shift of negative value -1052007405335134
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:219:27: runtime error: left
 shift of negative value -1052007405335134
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:224:27: runtime error: left
 shift of negative value -3270924659300114
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:225:27: runtime error: left
 shift of negative value -3270924659300114
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:230:27: runtime error: left
 shift of negative value -1471294915178450
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:231:27: runtime error: left
 shift of negative value -1471294915178450
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:209:27: runtime error: left
 shift of negative value -829694144934512
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:210:27: runtime error: left
 shift of negative value -829694144934512
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:212:27: runtime error: left
 shift of negative value -2269747493562282
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:213:27: runtime error: left
 shift of negative value -2269747493562282
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:215:27: runtime error: left
 shift of negative value -2894814430932928
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:216:27: runtime error: left
 shift of negative value -2894814430932928
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:221:27: runtime error: left
 shift of negative value -3930039718593350
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:222:27: runtime error: left
 shift of negative value -3930039718593350
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:227:27: runtime error: left
 shift of negative value -7442567708082396
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:228:27: runtime error: left
 shift of negative value -7442567708082396
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:233:27: runtime error: left
 shift of negative value -1428303790038902
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:234:27: runtime error: left
 shift of negative value -1428303790038902
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:314:27: runtime error: left
 shift of negative value -79097269
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:315:27: runtime error: left
 shift of negative value -79097269
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:324:23: runtime error: left
 shift of negative value -22
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:461:10: runtime error: left
 shift of negative value -21802520
 Aug 17 20:41:10 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:462:10: runtime error: left
 shift of 1352663040 by 8 places cannot be represented in type 'int'
 Aug 17 20:41:20 localhost ubuntu-core-launcher[2581]:
 src/ext/curve25519_donna/curve25519-donna.c:465:10: runtime error: left
 shift of negative value -2147483648
 Aug 17 20:41:22 localhost ubuntu-core-launcher[2581]: Aug 17 20:41:22.030
 [warn] Unable to open configuration file "/var/snap/tor-middle-
 relay/59/configuration".

 Aug 17 20:41:22 localhost Tor[2581]: Unable to open configuration file
 "/var/snap/tor-middle-relay/59/configuration".
 Aug 17 20:41:22 localhost Tor[2581]: You are running Tor as root. You
 don't need to, and you probably shouldn't.
 Aug 17 20:41:23 localhost Tor[2581]: Your Tor server's identity key
 fingerprint is 'UbuntuCore59 D961B58542AE498E0D8584DD3BFCD49172679958'
 Aug 17 20:41:23 localhost Tor[2581]: Bootstrapped 0%: Starting
 Aug 17 20:41:24 localhost Tor[2581]: Guessed our IP address as
 71.47.67.195 (source: 86.59.21.38).
 Aug 17 20:51:34 localhost Tor[2581]: Bootstrapped 80%: Connecting to the
 Tor network
 Aug 17 20:52:04 localhost Tor[2581]: Bootstrapped 85%: Finishing handshake
 with first hop
 Aug 17 20:52:23 localhost Tor[2581]: Bootstrapped 90%: Establishing a Tor
 circuit
 Aug 17 20:52:23 localhost rsyslogd-2007: action 'action 11' suspended,
 next retry is Wed Aug 17 20:53:23 2016 [v8.16.0 try
 http://www.rsyslog.com/e/2007 ]
 Aug 17 20:52:25 localhost Tor[2581]: Tor has successfully opened a
 circuit. Looks like client functionality is working.
 Aug 17 20:52:25 localhost Tor[2581]: Bootstrapped 100%: Done
 Aug 17 20:52:25 localhost Tor[2581]: Now checking whether ORPort
 71.47.67.195:34839 is reachable... (this may take up to 20 minutes -- look
 for log messages indicating success)
 Aug 17 20:52:28 localhost Tor[2581]: Our clock is 7 minutes, 35 seconds
 behind the time published in the consensus network status document
 (2016-08-17 21:00:00 UTC).  Tor needs an accurate clock to work correctly.
 Please check your time and date settings!
 Aug 17 20:52:30 localhost Tor[2581]: Self-testing indicates your ORPort is
 reachable from the outside. Excellent. Publishing server descriptor.
 Aug 17 20:52:34 localhost Tor[2581]: Performing bandwidth self-
 test...done.
 Aug 17 21:41:29 localhost Tor[2581]: Heartbeat: Tor's uptime is 0:57
 hours, with 11 circuits open. I've sent 1.35 MB and received 10.53 MB.

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


More information about the tor-bugs mailing list