Bug 79417

Summary: sshd fails in mmap() with old kernels
Product: [Retired] Red Hat Linux Reporter: mikpe
Component: opensshAssignee: Tomas Mraz <tmraz>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 8.0CC: michael
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-04 10:45:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
hard-coded MAP_ANON assumption in openssh none

Description mikpe 2002-12-11 15:47:15 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (X11; U; SunOS 5.7 sun4u)

Description of problem:
The machine has a RH8.0 installation, but since it's
used for driver development, it boots various custom
2.2/2.4/2.5 kernels.

If I boot the 2.2.23 kernel (compiled with gcc-2.95.3), then
sshd (openssh-server-3.4p1-2) rejects connections and prints

sshd[pid]: Server listening on 0.0.0.0 port 22
sshd[pid]: fatal: mmap(65536): Invalid argument

in /var/log/secure.

This problem did not occur when the machine ran RH7.x.
This problem does not occur with recent 2.4/2.5 kernels.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Boot RH8.0 with a 2.2.23 kernel.
2. ssh to the machine from the outside.
3.
	

Actual Results:  The ssh connection is closed immediately.


Expected Results:  The ssh connection should have succeeded.


Additional info:

Comment 1 Michael Lee Yohe 2002-12-11 19:42:26 UTC
This is NOTABUG.

Reason is this - Red Hat Linux 8.0 contains packages that are targeted
specifically for the release of the kernel that is provided by Red Hat.  If you
revert to an older kernel, you cannot necessarily to expect everything to work
because you have eliminated a "known" in the system.

It is up to you, as the user, to recompile/install supplementary packages to
your system (openssh) if you change a "known" about the system.

Comment 2 mikpe 2002-12-11 22:07:48 UTC
Created attachment 88485 [details]
hard-coded MAP_ANON assumption in openssh

Comment 3 Tomas Mraz 2005-02-04 10:45:56 UTC
See comment #1.