Bug 446899 - glibc detects invalid pointer when using sudo
glibc detects invalid pointer when using sudo
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: sudo (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Peter Vrabec
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-16 11:54 EDT by Kjartan Maraas
Modified: 2008-05-20 07:50 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-20 07:50:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Kjartan Maraas 2008-05-16 11:54:30 EDT
Description of problem:

[kmaraas@localhost ~]$ sudo yum check-update
[sudo] password for kmaraas: 
*** glibc detected *** sudo: munmap_chunk(): invalid pointer: 0xbfa84b03 ***
======= Backtrace: =========
/lib/libc.so.6[0x2117d4]
/lib/libc.so.6(freeaddrinfo+0x30)[0x267d40]
/lib/libaudit.so.0[0x31602e]
/lib/libaudit.so.0(audit_log_acct_message+0x99)[0x316749]
/lib/libpam.so.0[0x157fc2]
/lib/libpam.so.0[0x158165]
/lib/libpam.so.0(pam_setcred+0x5f)[0x1529ff]
sudo[0xb7f7951a]
sudo[0xb7f72239]
sudo(main+0x115b)[0xb7f748fb]
/lib/libc.so.6(__libc_start_main+0xe6)[0x1ba5e6]
sudo[0xb7f6cd31]
======= Memory map: ========
00110000-0012e000 r-xp 00000000 08:03 2474450    /lib/ld-2.8.90.so
0012e000-0012f000 r--p 0001d000 08:03 2474450    /lib/ld-2.8.90.so
0012f000-00130000 rw-p 0001e000 08:03 2474450    /lib/ld-2.8.90.so
00130000-00131000 r-xp 00130000 00:00 0          [vdso]
00131000-0014b000 r-xp 00000000 08:03 3457094    /lib/libselinux.so.1
0014b000-0014c000 r--p 00019000 08:03 3457094    /lib/libselinux.so.1
0014c000-0014d000 rw-p 0001a000 08:03 3457094    /lib/libselinux.so.1
0014d000-00150000 r-xp 00000000 08:03 319763     /lib/libcap.so.2.06
00150000-00151000 rw-p 00003000 08:03 319763     /lib/libcap.so.2.06
00151000-0015c000 r-xp 00000000 08:03 6602873    /lib/libpam.so.0.81.12
0015c000-0015d000 rw-p 0000a000 08:03 6602873    /lib/libpam.so.0.81.12
0015d000-00160000 r-xp 00000000 08:03 6603399    /lib/libdl-2.8.90.so
00160000-00161000 r--p 00002000 08:03 6603399    /lib/libdl-2.8.90.so
00161000-00162000 rw-p 00003000 08:03 6603399    /lib/libdl-2.8.90.so
00162000-001a2000 r-xp 00000000 08:03 378726     /usr/lib/libldap-2.4.so.2.0.5
001a2000-001a4000 rw-p 0003f000 08:03 378726     /usr/lib/libldap-2.4.so.2.0.5
001a4000-0030a000 r-xp 00000000 08:03 6603089    /lib/libc-2.8.90.so
0030a000-0030c000 r--p 00166000 08:03 6603089    /lib/libc-2.8.90.so
0030c000-0030d000 rw-p 00168000 08:03 6603089    /lib/libc-2.8.90.so
0030d000-00310000 rw-p 0030d000 00:00 0 
00310000-00327000 r-xp 00000000 08:03 313873     /lib/libaudit.so.0.0.0
00327000-00328000 r--p 00016000 08:03 313873     /lib/libaudit.so.0.0.0
00328000-00329000 rw-p 00017000 08:03 313873     /lib/libaudit.so.0.0.0
00329000-00337000 r-xp 00000000 08:03 378092     /usr/lib/liblber-2.4.so.2.0.5
00337000-00338000 rw-p 0000d000 08:03 378092     /usr/lib/liblber-2.4.so.2.0.5
00338000-00349000 r-xp 00000000 08:03 6603438    /lib/libresolv-2.8.90.so
00349000-0034a000 r--p 00010000 08:03 6603438    /lib/libresolv-2.8.90.so
0034a000-0034b000 rw-p 00011000 08:03 6603438    /lib/libresolv-2.8.90.so
0034b000-0034d000 rw-p 0034b000 00:00 0 
0034d000-00365000 r-xp 00000000 08:03 377998     /usr/lib/libsasl2.so.2.0.22
00365000-00366000 rw-p 00017000 08:03 377998     /usr/lib/libsasl2.so.2.0.22
00366000-003ad000 r-xp 00000000 08:03 313214     /lib/libssl.so.0.9.8g
003ad000-003b1000 rw-p 00046000 08:03 313214     /lib/libssl.so.0.9.8g
003b1000-004e8000 r-xp 00000000 08:03 316957     /lib/libcrypto.so.0.9.8g
004e8000-004fc000 rw-p 00136000 08:03 316957     /lib/libcrypto.so.0.9.8g
004fc000-004ff000 rw-p 004fc000 00:00 0 
004ff000-00508000 r-xp 00000000 08:03 6603397    /lib/libcrypt-2.8.90.so
00508000-00509000 r--p 00009000 08:03 6603397    /lib/libcrypt-2.8.90.so
00509000-0050a000 rw-p 0000a000 08:03 6603397    /lib/libcrypt-2.8.90.so
0050a000-00531000 rw-p 0050a000 00:00 0 
00531000-0055e000 r-xp 00000000 08:03 6324924    /usr/lib/libgssapi_krb5.so.2.2
0055e000-0055f000 rw-p 0002d000 08:03 6324924    /usr/lib/libgssapi_krb5.so.2.2
0055f000-005fc000 r-xp 00000000 08:03 6325376    /usr/lib/libkrb5.so.3.3
005fc000-005ff000 rw-p 0009c000 08:03 6325376    /usr/lib/libkrb5.so.3.3
005ff000-00601000 r-xp 00000000 08:03 315370     /lib/libcom_err.so.2.1
00601000-00602000 rw-p 00001000 08:03 315370     /lib/libcom_err.so.2.1
00602000-00626000 r-xp 00000000 08:03 6325032    /usr/lib/libk5crypto.so.3.1
00626000-00627000 rw-p 00024000 08:03 6325032    /usr/lib/libk5crypto.so.3.1
00627000-0063a000 r-xp 00000000 08:03 311995     /lib/libz.so.1.2.3
0063a000-0063b000 rw-p 00012000 08:03 311995     /lib/libz.so.1.2.3
0063b000-00643000 r-xp 00000000 08:03 6325391    /usr/lib/libkrb5support.so.0.1
00643000-00644000 rw-p 00007000 08:03 6325391    /usr/lib/libkrb5support.so.0.1
00644000-00646000 r-xp 00000000 08:03 2474705    /lib/libkeyutils-1.2.so
00646000-00647000 rw-p 00001000 08:03 2474705    /lib/libkeyutils-1.2.so
00647000-00652000 r-xp 00000000 08:03 6603419    /lib/libnss_files-2.8.90.so
00652000-00653000 r--p 0000a000 08:03 6603419    /lib/libnss_files-2.8.90.so
00653000-00654000 rw-p 0000b000 08:03 6603419    /lib/libnss_files-2.8.90.so
00654000-00657000 r-xp 00000000 08:03 4866501    /lib/security/pam_env.so
00657000-00658000 rw-p 00002000 08:03 4866501    /lib/security/pam_env.so
00658000-00663000 r-xp 00000000 08:03 4866871    /lib/security/pam_unix.so
00663000-00664000 rw-p 0000b000 08:03 4866871    /lib/security/pam_unix.so
00664000-00670000 rw-p 00664000 00:00 0 
00670000-00686000 r-xp 00000000 08:03 6603405    /lib/libnsl-2.8.90.so
00686000-00687000 r--p 00015000 08:03 6603405    /lib/libnsl-2.8.90.so
00687000-00688000 rw-p 00016000 08:03 6603405    /lib/libnsl-2.8.90.so
00688000-0068a000 rw-p 00688000 00:00 0 
0068a000-0068b000 r-xp 00000000 08:03 4866497    /lib/security/pam_deny.so
0068b000-0068c000 rw-p 00000000 08:03 4866497    /lib/security/pam_deny.so
0068c000-0068f000 r-xp 00000000 08:03 4866495    /lib/security/pam_cracklib.so
0068f000-00690000 rw-p 00002000 08:03 4866495    /lib/security/pam_cracklib.so
00690000-00694000 rw-p 00690000 00:00 0 
00694000-0069b000 r-xp 00000000 08:03 386207     /usr/lib/libcrack.so.2.8.0
0069b000-0069c000 rw-p 00006000 08:03 386207     /usr/lib/libcrack.so.2.8.0
0069c000-006a0000 rw-p 0069c000 00:00 0 
006a0000-006a1000 r-xp 00000000 08:03 4866843    /lib/security/pam_keyinit.so
006a1000-006a2000 rw-p 00001000 08:03 4866843    /lib/security/pam_keyinit.so
006a2000-006a5000 r-xp 00000000 08:03 4866845    /lib/security/pam_limits.so
006a5000-006a6000 rw-p 00002000 08:03 4866845    /lib/security/pam_limits.so
006a6000-006b3000 r-xp 00000000 08:03 317282     /lib/libgcc_s-4.3.0-20080428.so.1
006b3000-006b4000 rw-p 0000c000 08:03 317282     /lib/libgcc_s-4.3.0-20080428.so.1
b7d40000-b7f40000 r--p 00000000 08:03 6406421    /usr/lib/locale/locale-archive
b7f40000-b7f46000 rw-p b7f40000 00:00 0 
b7f60000-b7f67000 r--s 00000000 08:03 52478      /usr/lib/gconv/gconv-modules.cache
b7f67000-b7f69000 r--p 00000000 08:03 4980942   
/usr/share/locale/nb/LC_MESSAGES/Linux-PAM.mo
b7f69000-b7f8d000 r-xp 00000000 08:03 6259740    /usr/bin/sudo
b7f8d000-b7f8f000 rw-p 00023000 08:03 6259740    /usr/bin/sudo
b7f8f000-b7f91000 rw-p b7f8f000 00:00 0 
b8b91000-b8bb2000 rw-p b8b91000 00:00 0          [heap]
bfa77000-bfa8c000 rw-p bffeb000 00:00 0          [stack]
Avbrutt (SIGABRT)

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Peter Vrabec 2008-05-20 05:20:40 EDT
I can't reproduce it. :(

I have tried F-9 with sudo from rawhide. What architecture do you use?

$ rpm -q sudo
sudo-1.6.9p13-6.fc9.i386
$ sudo yum check-update
Loaded plugins: refresh-packagekit
$ sudo id
uid=0(root) gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Comment 2 Kjartan Maraas 2008-05-20 05:45:01 EDT
x86 here. I can't reproduce it either so it could well have been a problem with
the first glibc push that went into rawhide
Comment 3 Peter Vrabec 2008-05-20 07:50:14 EDT
OK Kjartan, I'm closing this issue for now. If the problem occurs again, feel
free to reopen it. 

Note You need to log in before you can comment on or make changes to this bug.