Red Hat Bugzilla – Bug 79417
sshd fails in mmap() with old kernels
Last modified: 2007-04-18 12:48:58 EDT
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
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
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):
Steps to Reproduce:
1. Boot RH8.0 with a 2.2.23 kernel.
2. ssh to the machine from the outside.
Actual Results: The ssh connection is closed immediately.
Expected Results: The ssh connection should have succeeded.
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.
Created attachment 88485 [details]
hard-coded MAP_ANON assumption in openssh
See comment #1.