Project

General

Profile

Actions

Bug #1649

closed

OpenSSH upgrade makes sshd crash upon login on x86_64

Added by swildner about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The recent OpenSSH upgrade causes sshd to crash whenever I try to access
an upgraded x86_64 box from the outside via ssh:

Jan 11 00:24:21 x64 kernel: seg-fault accessing address 0x590000
rip=0x8009a7fdc pid=850 p_comm=sshd
Jan 11 00:24:21 x64 kernel: pid 850 (sshd), uid 22: exited on signal 11

I wasn't able to get a coredump out of it. My attempts to run sshd from
gdb or to attach gdb to the runnign sshd and have it catch the signal
also failed so far.

Changing from Protocol 2 to Protocol 1 in sshd_config works around the
issue (thanks to Antonio Huete Jimenez for pointing this out) so I'm
using this for now.

I don't have time to debug this myself, but I can test potential fixes.

Regards,
Sascha

Actions #1

Updated by tuxillo about 14 years ago

Hi,

I've uploaded both sshd (server part in DFBSD X86_64) and client (Linux) max.
debug output

http://leaf.dragonflybsd.org/~tuxillo/archive/temp/ssh.log
http://leaf.dragonflybsd.org/~tuxillo/archive/temp/sshd.log

A normal client output at the point where it stops for us now looks like this:
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/tuxillo/.ssh/identity (0x0)
debug2: key: /home/tuxillo/.ssh/id_rsa (0x0)
debug2: key: /home/tuxillo/.ssh/id_dsa (0x0)
debug3: Wrote 64 bytes for a total of 1130
debug1: Authentications that can continue: publickey,keyboard-interactive
debug3: start over, passed a different list publickey,keyboard-interactive

Our failing end lines:
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/antonioh/.ssh/identity ((nil))
debug2: key: /home/antonioh/.ssh/id_rsa (0x66b460)
debug2: key: /home/antonioh/.ssh/id_dsa ((nil))
Connection closed by 192.168.3.14

Cheers,
Antonio Huete

Actions #2

Updated by swildner about 14 years ago

Fixed by 7835af9a267f30042e93fc116d24bfcdde584ac9

Actions

Also available in: Atom PDF