[Bug 708571] Re: ssh client segmentation fault
Bug Watch Updater
708571 at bugs.launchpad.net
Tue Sep 6 10:29:34 UTC 2011
Launchpad has imported 6 comments from the remote bug at
https://bugzilla.mindrot.org/show_bug.cgi?id=1851.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2011-01-27T12:09:38+00:00 Colin Watson wrote:
Created attachment 1984
more error checks in ssh_selinux_setfscreatecon
The Debian/Ubuntu OpenSSH packages are compiled with SELinux support,
but SELinux isn't necessarily available at run-time. If it's
unavailable, then ssh_selinux_setfscreatecon may crash because it does
not either (a) check ssh_selinux_enabled or (b) check the return value
of matchpathcon. I suspect it should do both, although I'm not sure
whether any error message is necessary if matchpathcon fails - does this
just mean that the configuration doesn't specify any particular context?
(I'm not an SELinux expert.)
Patch attached which at least clears up the crash.
(BTW, the indentation in ssh_selinux_setfscreatecon is non-standard.)
Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/6
------------------------------------------------------------------------
On 2011-01-27T23:26:17+00:00 Djm wrote:
Patch applied - thanks.
Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/8
------------------------------------------------------------------------
On 2011-02-04T11:39:40+00:00 Leonardo-3 wrote:
This patch* was misapplied and causes a syntax error when building 5.8p1
with SELinux enabled.
* http://hg.mindrot.org/openssh/rev/8611ccf82385
Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/9
------------------------------------------------------------------------
On 2011-02-04T11:40:41+00:00 Leonardo-3 wrote:
Created attachment 1991
openssh-5.8p1-syntex-error.diff
Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/10
------------------------------------------------------------------------
On 2011-02-06T02:25:34+00:00 Dtucker wrote:
Applied, thanks.
Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/11
------------------------------------------------------------------------
On 2011-09-06T05:32:49+00:00 Djm wrote:
close resolved bugs now that openssh-5.9 has been released
Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/12
** Changed in: openssh
Status: Unknown => Fix Released
** Changed in: openssh
Importance: Unknown => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/708571
Title:
ssh client segmentation fault
Status in Portable OpenSSH:
Fix Released
Status in “openssh” package in Ubuntu:
Fix Released
Bug description:
So this is happening in an up-to-date Natty i386 server install
running in a KVM virtual machine.
SSH connections to the server are fine; however using ssh from the
server (either to a remote host or localhost) results in an immediate
segmentation fault as soon as the connection to the target server is
made:
jamespage at natty-infrastructure-manager:~$ ssh -vvv localhost
OpenSSH_5.7p1 Debian-1ubuntu1, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
Segmentation fault (core dumped)
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: openssh-client 1:5.7p1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic-pae 2.6.37
Uname: Linux 2.6.37-12-generic-pae i686
Architecture: i386
Date: Thu Jan 27 11:11:07 2011
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Alpha i386 (20110118)
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
RelatedPackageVersions:
ssh-askpass N/A
libpam-ssh N/A
keychain N/A
ssh-askpass-gnome N/A
SSHClientVersion: OpenSSH_5.7p1 Debian-1ubuntu1, OpenSSL 0.9.8o 01 Jun 2010
SourcePackage: openssh
To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/708571/+subscriptions
More information about the foundations-bugs
mailing list