https://bugzilla.novell.com/show_bug.cgi?id=723593 https://bugzilla.novell.com/show_bug.cgi?id=723593#c0 Summary: in.rshd: double free or corruption Classification: openSUSE Product: openSUSE 12.1 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: tiwai@suse.com QAContact: qa@suse.de CC: mc@suse.com, nadvornik@suse.com Found By: --- Blocker: --- After upgrading 12.1b1, rsh server crashes when invoked from xinetd, as glibc detects the double-free in libpam_misc like below: % rsh alsa2 echo foo *** glibc detected *** in.rshd: double free or corruption (out): 0x00007f2a9d6ded40 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x74bb6)[0x7f2a9cb7bbb6] /lib64/libpam_misc.so.0(pam_misc_drop_env+0x5a)[0x7f2a9ce9624a] in.rshd(+0x2ed2)[0x7f2a9d4cced2] in.rshd(+0x2037)[0x7f2a9d4cc037] /lib64/libc.so.6(__libc_start_main+0xed)[0x7f2a9cb2823d] in.rshd(+0x2061)[0x7f2a9d4cc061] ======= Memory map: ======== 7f2a9936e000-7f2a99383000 r-xp 00000000 08:11 4171234 /lib64/libgcc_s.so.1 7f2a99383000-7f2a99582000 ---p 00015000 08:11 4171234 /lib64/libgcc_s.so.1 7f2a99582000-7f2a99583000 r--p 00014000 08:11 4171234 /lib64/libgcc_s.so.1 7f2a99583000-7f2a99584000 rw-p 00015000 08:11 4171234 /lib64/libgcc_s.so.1 7f2a99584000-7f2a99585000 r-xp 00000000 08:11 4170509 /lib64/security/pam_deny.so 7f2a99585000-7f2a99784000 ---p 00001000 08:11 4170509 /lib64/security/pam_deny.so 7f2a99784000-7f2a99785000 r--p 00000000 08:11 4170509 /lib64/security/pam_deny.so 7f2a99785000-7f2a99786000 rw-p 00001000 08:11 4170509 /lib64/security/pam_deny.so 7f2a99786000-7f2a99787000 r-xp 00000000 08:11 4171037 /lib64/security/pam_warn.so 7f2a99787000-7f2a99986000 ---p 00001000 08:11 4171037 /lib64/security/pam_warn.so 7f2a99986000-7f2a99987000 r--p 00000000 08:11 4171037 /lib64/security/pam_warn.so 7f2a99987000-7f2a99988000 rw-p 00001000 08:11 4171037 /lib64/security/pam_warn.so 7f2a99988000-7f2a999a0000 r-xp 00000000 08:11 4171086 /lib64/libpthread-2.14.1.so 7f2a999a0000-7f2a99b9f000 ---p 00018000 08:11 4171086 /lib64/libpthread-2.14.1.so 7f2a99b9f000-7f2a99ba0000 r--p 00017000 08:11 4171086 /lib64/libpthread-2.14.1.so 7f2a99ba0000-7f2a99ba1000 rw-p 00018000 08:11 4171086 /lib64/libpthread-2.14.1.so 7f2a99ba1000-7f2a99ba5000 rw-p 00000000 00:00 0 7f2a99ba5000-7f2a99bac000 r-xp 00000000 08:11 4171089 /lib64/librt-2.14.1.so 7f2a99bac000-7f2a99dab000 ---p 00007000 08:11 4171089 /lib64/librt-2.14.1.so 7f2a99dab000-7f2a99dac000 r--p 00006000 08:11 4171089 /lib64/librt-2.14.1.so 7f2a99dac000-7f2a99dad000 rw-p 00007000 08:11 4171089 /lib64/librt-2.14.1.so 7f2a99dad000-7f2a99df0000 r-xp 00000000 08:11 4170683 /lib64/libdbus-1.so.3.6.3 7f2a99df0000-7f2a99fef000 ---p 00043000 08:11 4170683 /lib64/libdbus-1.so.3.6.3 7f2a99fef000-7f2a99ff0000 r--p 00042000 08:11 4170683 /lib64/libdbus-1.so.3.6.3 7f2a99ff0000-7f2a99ff1000 rw-p 00043000 08:11 4170683 /lib64/libdbus-1.so.3.6.3 7f2a99ff1000-7f2a99ff3000 r-xp 00000000 08:11 2717422 /usr/lib64/libsystemd-daemon.so.0.0.0 7f2a99ff3000-7f2a9a1f3000 ---p 00002000 08:11 2717422 /usr/lib64/libsystemd-daemon.so.0.0.0 7f2a9a1f3000-7f2a9a1f4000 r--p 00002000 08:11 2717422 /usr/lib64/libsystemd-daemon.so.0.0.0 7f2a9a1f4000-7f2a9a1f5000 rw-p 00003000 08:11 2717422 /usr/lib64/libsystemd-daemon.so.0.0.0 7f2a9a1f5000-7f2a9a1f9000 r-xp 00000000 08:11 4170829 /lib64/libcap.so.2.22 7f2a9a1f9000-7f2a9a3f8000 ---p 00004000 08:11 4170829 /lib64/libcap.so.2.22 7f2a9a3f8000-7f2a9a3f9000 r--p 00003000 08:11 4170829 /lib64/libcap.so.2.22 7f2a9a3f9000-7f2a9a3fa000 rw-p 00004000 08:11 4170829 /lib64/libcap.so.2.22 7f2a9a3fa000-7f2a9a404000 r-xp 00000000 08:11 4171252 /lib64/security/pam_systemd.so 7f2a9a404000-7f2a9a603000 ---p 0000a000 08:11 4171252 /lib64/security/pam_systemd.so 7f2a9a603000-7f2a9a604000 r--p 00009000 08:11 4171252 /lib64/security/pam_systemd.so 7f2a9a604000-7f2a9a605000 rw-p 0000a000 08:11 4171252 /lib64/security/pam_systemd.so 7f2a9a605000-7f2a9a607000 r-xp 00000000 08:11 4170032 /lib64/security/pam_umask.so 7f2a9a607000-7f2a9a806000 ---p 00002000 08:11 4170032 /lib64/security/pam_umask.so 7f2a9a806000-7f2a9a807000 r--p 00001000 08:11 4170032 /lib64/security/pam_umask.so 7f2a9a807000-7f2a9a808000 rw-p 00002000 08:11 4170032 /lib64/security/pam_umask.so 7f2a9a808000-7f2a9a80c000 r-xp 00000000 08:11 4170005 /lib64/security/pam_limits.so 7f2a9a80c000-7f2a9aa0b000 ---p 00004000 08:11 4170005 /lib64/security/pam_limits.so 7f2a9aa0b000-7f2a9aa0c000 r--p 00003000 08:11 4170005 /lib64/security/pam_limits.so 7f2a9aa0c000-7f2a9aa0d000 rw-p 00004000 08:11 4170005 /lib64/security/pam_limits.so 7f2a9aa0d000-7f2a9aa0f000 r-xp 00000000 08:11 4171025 /lib64/security/pam_loginuid.so 7f2a9aa0f000-7f2a9ac0e000 ---p 00002000 08:11 4171025 /lib64/security/pam_loginuid.so 7f2a9ac0e000-7f2a9ac0f000 r--p 00001000 08:11 4171025 /lib64/security/pam_loginuid.so 7f2a9ac0f000-7f2a9ac10000 rw-p 00002000 08:11 4171025 /lib64/security/pam_loginuid.so 7f2a9ac10000-7f2a9ac1a000 r-xp 00000000 08:11 4169863 /lib64/security/pam_gnome_keyring.so 7f2a9ac1a000-7f2a9ae19000 ---p 0000a000 08:11 4169863 /lib64/security/pam_gnome_keyring.so 7f2a9ae19000-7f2a9ae1a000 r--p 00009000 08:11 4169863 /lib64/security/pam_gnome_keyring.so 7f2a9ae1a000-7f2a9ae1b000 rw-p 0000a000 08:11 4169863 /lib64/security/pam_gnome_keyring.so 7f2a9ae1b000-7f2a9ae32000 r-xp 00000000 08:11 4170665 /lib64/libz.so.1.2.5 7f2a9ae32000-7f2a9b031000 ---p 00017000 08:11 4170665 /lib64/libz.so.1.2.5 7f2a9b031000-7f2a9b032000 r--p 00016000 08:11 4170665 /lib64/libz.so.1.2.5 7f2a9b032000-7f2a9b033000 rw-p 00017000 08:11 4170665 /lib64/libz.so.1.2.5 7f2a9b033000-7f2a9b03b000 r-xp 00000000 08:11 4438813 /usr/lib64/libcrack.so.2.8.1 7f2a9b03b000-7f2a9b23b000 ---p 00008000 08:11 4438813 /usr/lib64/libcrack.so.2.8.1 7f2a9b23b000-7f2a9b23c000 r--p 00008000 08:11 4438813 /usr/lib64/libcrack.so.2.8.1 7f2a9b23c000-7f2a9b23d000 rw-p 00009000 08:11 4438813 /usr/lib64/libcrack.so.2.8.1 7f2a9b23d000-7f2a9b240000 rw-p 00000000 00:00 0 7f2a9b240000-7f2a9b246000 r-xp 00000000 08:11 4170684 /lib64/security/pam_pwcheck.so 7f2a9b246000-7f2a9b445000 ---p 00006000 08:11 4170684 /lib64/security/pam_pwcheck.so 7f2a9b445000-7f2a9b446000 r--p 00005000 08:11 4170684 /lib64/security/pam_pwcheck.so 7f2a9b446000-7f2a9b447000 rw-p 00006000 08:11 4170684 /lib64/security/pam_pwcheck.so 7f2a9b447000-7f2a9b463000 r-xp 00000000 08:11 4170645 /lib64/libselinux.so.1 7f2a9b463000-7f2a9b662000 ---p 0001c000 08:11 4170645 /lib64/libselinux.so.1 7f2a9b662000-7f2a9b663000 r--p 0001b000 08:11 4170645 /lib64/libselinux.so.1 7f2a9b663000-7f2a9b664000 rw-p 0001c000 08:11 4170645 /lib64/libselinux.so.1 7f2a9b664000-7f2a9b665000 rw-p 00000000 00:00 0 7f2a9b665000-7f2a9b671000 r-xp 00000000 08:11 4170473 /lib64/libcrypt-2.14.1.so 7f2a9b671000-7f2a9b870000 ---p 0000c000 08:11 4170473 /lib64/libcrypt-2.14.1.so 7f2a9b870000-7f2a9b871000 r--p 0000b000 08:11 4170473 /lib64/libcrypt-2.14.1.so 7f2a9b871000-7f2a9b872000 rw-p 0000c000 08:11 4170473 /lib64/libcrypt-2.14.1.so 7f2a9b872000-7f2a9b8a0000 rw-p 00000000 00:00 0 7f2a9b8a0000-7f2a9b8ac000 r-xp 00000000 08:11 4170457 /lib64/security/pam_unix2.so 7f2a9b8ac000-7f2a9baab000 ---p 0000c000 08:11 4170457 /lib64/security/pam_unix2.so 7f2a9baab000-7f2a9baac000 r--p 0000b000 08:11 4170457 /lib64/security/pam_unix2.so 7f2a9baac000-7f2a9baad000 rw-p 0000c000 08:11 4170457 /lib64/security/pam_unix2.so 7f2a9baad000-7f2a9baae000 r-xp 00000000 08:11 4170520 /lib64/security/pam_nologin.so 7f2a9baae000-7f2a9bcae000 ---p 00001000 08:11 4170520 /lib64/security/pam_nologin.so 7f2a9bcae000-7f2a9bcaf000 r--p 00001000 08:11 4170520 /lib64/security/pam_nologin.so 7f2a9bcaf000-7f2a9bcb0000 rw-p 00002000 08:11 4170520 /lib64/security/pam_nologin.so 7f2a9bcb0000-7f2a9bcb1000 r-xp 00000000 08:11 4171033 /lib64/security/pam_rhosts.so 7f2a9bcb1000-7f2a9beb0000 ---p 00001000 08:11 4171033 /lib64/security/pam_rhosts.so 7f2a9beb0000-7f2a9beb1000 r--p 00000000 08:11 4171033 /lib64/security/pam_rhosts.so 7f2a9beb1000-7f2a9beb2000 rw-p 00001000 08:11 4171033 /lib64/security/pam_rhosts.so 7f2a9beb2000-7f2a9bebc000 r-xp 00000000 08:11 4171082 /lib64/libnss_nis-2.14.1.so 7f2a9bebc000-7f2a9c0bb000 ---p 0000a000 08:11 4171082 /lib64/libnss_nis-2.14.1.so 7f2a9c0bb000-7f2a9c0bc000 r--p 00009000 08:11 4171082 /lib64/libnss_nis-2.14.1.so 7f2a9c0bc000-7f2a9c0bd000 rw-p 0000a000 08:11 4171082 /lib64/libnss_nis-2.14.1.so 7f2a9c0bd000-7f2a9c0d2000 r-xp 00000000 08:11 4170600 /lib64/libnsl-2.14.1.so 7f2a9c0d2000-7f2a9c2d1000 ---p 00015000 08:11 4170600 /lib64/libnsl-2.14.1.so 7f2a9c2d1000-7f2a9c2d2000 r--p 00014000 08:11 4170600 /lib64/libnsl-2.14.1.so 7f2a9c2d2000-7f2a9c2d3000 rw-p 00015000 08:11 4170600 /lib64/libnsl-2.14.1.so 7f2a9c2d3000-7f2a9c2d5000 rw-p 00000000 00:00 0 7f2a9c2d5000-7f2a9c2dd000 r-xp 00000000 08:11 4170648 /lib64/libnss_compat-2.14.1.so 7f2a9c2dd000-7f2a9c4dc000 ---p 00008000 08:11 4170648 /lib64/libnss_compat-2.14.1.so 7f2a9c4dc000-7f2a9c4dd000 r--p 00007000 08:11 4170648 /lib64/libnss_compat-2.14.1.so 7f2a9c4dd000-7f2a9c4de000 rw-p 00008000 08:11 4170648 /lib64/libnss_compat-2.14.1.so 7f2a9c4de000-7f2a9c4ea000 r-xp 00000000 08:11 4170876 /lib64/libnss_files-2.14.1.so 7f2a9c4ea000-7f2a9c6e9000 ---p 0000c000 08:11 4170876 /lib64/libnss_files-2.14.1.so 7f2a9c6e9000-7f2a9c6ea000 r--p 0000b000 08:11 4170876 /lib64/libnss_files-2.14.1.so 7f2a9c6ea000-7f2a9c6eb000 rw-p 0000c000 08:11 4170876 /lib64/libnss_files-2.14.1.so 7f2a9c6eb000-7f2a9c6ed000 r-xp 00000000 08:11 4170533 /lib64/libdl-2.14.1.so 7f2a9c6ed000-7f2a9c8ed000 ---p 00002000 08:11 4170533 /lib64/libdl-2.14.1.so 7f2a9c8ed000-7f2a9c8ee000 r--p 00002000 08:11 4170533 /lib64/libdl-2.14.1.so 7f2a9c8ee000-7f2a9c8ef000 rw-p 00003000 08:11 4170533 /lib64/libdl-2.14.1.so 7f2a9c8ef000-7f2a9c906000 r-xp 00000000 08:11 4170671 /lib64/libaudit.so.1.0.0 7f2a9c906000-7f2a9cb05000 ---p 00017000 08:11 4170671 /lib64/libaudit.so.1.0.0 7f2a9cb05000-7f2a9cb06000 r--p 00016000 08:11 4170671 /lib64/libaudit.so.1.0.0 7f2a9cb06000-7f2a9cb07000 rw-p 00017000 08:11 4170671 /lib64/libaudit.so.1.0.0 7f2a9cb07000-7f2a9cc8c000 r-xp 00000000 08:11 4170453 /lib64/libc-2.14.1.so 7f2a9cc8c000-7f2a9ce8b000 ---p 00185000 08:11 4170453 /lib64/libc-2.14.1.so 7f2a9ce8b000-7f2a9ce8f000 r--p 00184000 08:11 4170453 /lib64/libc-2.14.1.so 7f2a9ce8f000-7f2a9ce90000 rw-p 00188000 08:11 4170453 /lib64/libc-2.14.1.so 7f2a9ce90000-7f2a9ce95000 rw-p 00000000 00:00 0 7f2a9ce95000-7f2a9ce97000 r-xp 00000000 08:11 4170928 /lib64/libpam_misc.so.0.82.0 7f2a9ce97000-7f2a9d097000 ---p 00002000 08:11 4170928 /lib64/libpam_misc.so.0.82.0 7f2a9d097000-7f2a9d098000 r--p 00002000 08:11 4170928 /lib64/libpam_misc.so.0.82.0 7f2a9d098000-7f2a9d099000 rw-p 00003000 08:11 4170928 /lib64/libpam_misc.so.0.82.0 7f2a9d099000-7f2a9d0a6000 r-xp 00000000 08:11 4170858 /lib64/libpam.so.0.83.1 7f2a9d0a6000-7f2a9d2a5000 ---p 0000d000 08:11 4170858 /lib64/libpam.so.0.83.1 7f2a9d2a5000-7f2a9d2a6000 r--p 0000c000 08:11 4170858 /lib64/libpam.so.0.83.1 7f2a9d2a6000-7f2a9d2a7000 rw-p 0000d000 08:11 4170858 /lib64/libpam.so.0.83.1 7f2a9d2a7000-7f2a9d2c7000 r-xp 00000000 08:11 4170411 /lib64/ld-2.14.1.so 7f2a9d494000-7f2a9d498000 rw-p 00000000 00:00 0 7f2a9d4c5000-7f2a9d4c6000 rw-p 00000000 00:00 0 7f2a9d4c6000-7f2a9d4c7000 rw-p 00000000 00:00 0 7f2a9d4c7000-7f2a9d4c8000 r--p 00020000 08:11 4170411 /lib64/ld-2.14.1.so 7f2a9d4c8000-7f2a9d4c9000 rw-p 00021000 08:11 4170411 /lib64/ld-2.14.1.so 7f2a9d4c9000-7f2a9d4ca000 rw-p 00000000 00:00 0 7f2a9d4ca000-7f2a9d4ce000 r-xp 00000000 08:11 4436083 /usr/sbin/in.rshd 7f2a9d6cd000-7f2a9d6ce000 r--p 00003000 08:11 4436083 /usr/sbin/in.rshd 7f2a9d6ce000-7f2a9d6cf000 rw-p 00004000 08:11 4436083 /usr/sbin/in.rshd 7f2a9d6cf000-7f2a9d6f0000 rw-p 00000000 00:00 0 [heap] 7fff3700c000-7fff37219000 rw-p 00000000 00:00 0 [stack] 7fff373d5000-7fff373d6000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.