This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 161030 - krb5: free() invalid pointed detected by glibc
krb5: free() invalid pointed detected by glibc
Product: Fedora
Classification: Fedora
Component: krb5 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-06-19 21:52 EDT by Bojan Smojver
Modified: 2008-08-02 19:40 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 12:04:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)

  None (edit)
Description Bojan Smojver 2005-06-19 21:52:45 EDT
Description of problem:
On an attempt to join AD domain (see below), glibc caught krb5 calling free()
with an invalid pointer.

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

How reproducible:

Steps to Reproduce:
1. Attempt to join and AD domain (see below).

Additional info:
This is what happens:
[root@bspc samba]# net ads join -U the_admin_account
builde's password: 
[2005/06/20 11:34:12, 0] libads/ldap.c:ads_add_machine_acct(1512)
  Warning: ads_set_machine_sd: Unexpected information received
Using short domain name -- SOMEDOMAIN
*** glibc detected *** net: free(): invalid pointer: 0x00002aaaab2a8580 ***
======= Backtrace: =========
======= Memory map: ========
2aaaaaaab000-2aaaaaac5000 r-xp 00000000 fd:00 590055                     /lib64/
2aaaaaac5000-2aaaaaac6000 rw-p 2aaaaaac5000 00:00 0 
2aaaaaae5000-2aaaaaae6000 rw-p 2aaaaaae5000 00:00 0 
2aaaaabc4000-2aaaaabc5000 r--p 00019000 fd:00 590055                     /lib64/
2aaaaabc5000-2aaaaabc6000 rw-p 0001a000 fd:00 590055                     /lib64/
2aaaaabc6000-2aaaaabcb000 r-xp 00000000 fd:00 590074                     /lib64/
2aaaaabcb000-2aaaaacca000 ---p 00005000 fd:00 590074                     /lib64/
2aaaaacca000-2aaaaaccb000 r--p 00004000 fd:00 590074                     /lib64/
2aaaaaccb000-2aaaaaccc000 rw-p 00005000 fd:00 590074                     /lib64/
2aaaaaccc000-2aaaaacfa000 rw-p 2aaaaaccc000 00:00 0 
2aaaaacfa000-2aaaaad0e000 r-xp 00000000 fd:00 590067                     /lib64/
2aaaaad0e000-2aaaaae0d000 ---p 00014000 fd:00 590067                     /lib64/
2aaaaae0d000-2aaaaae0e000 r--p 00013000 fd:00 590067                     /lib64/
2aaaaae0e000-2aaaaae0f000 rw-p 00014000 fd:00 590067                     /lib64/
2aaaaae0f000-2aaaaae11000 rw-p 2aaaaae0f000 00:00 0 
2aaaaae11000-2aaaaae13000 r-xp 00000000 fd:00 590058                     /lib64/
2aaaaae13000-2aaaaaf13000 ---p 00002000 fd:00 590058                     /lib64/
2aaaaaf13000-2aaaaaf14000 r--p 00002000 fd:00 590058                     /lib64/
2aaaaaf14000-2aaaaaf15000 rw-p 00003000 fd:00 590058                     /lib64/
2aaaaaf15000-2aaaaaf16000 rw-p 2aaaaaf15000 00:00 0 
2aaaaaf16000-2aaaaaf1d000 r-xp 00000000 fd:00 1420588                    /usr/li
2aaaaaf1d000-2aaaab01d000 ---p 00007000 fd:00 1420588                    /usr/li
2aaaab01d000-2aaaab01e000 rw-p 00007000 fd:00 1420588                    /usr/li
2aaaab01e000-2aaaab034000 r-xp 00000000 fd:00 1425320                    /usr/li
2aaaab034000-2aaaab133000 ---p 00016000 fd:00 1425320                    /usr/li
2aaaab133000-2aaaab135000 rw-p 00015000 fd:00 1425320                    /usr/li
2aaaab135000-2aaaab1a5000 r-xp 00000000 fd:00 1425319                    /usr/li
2aaaab1a5000-2aaaab2a4000 ---p 00070000 fd:00 1425319                    /usr/li
2aaaab2a4000-2aaaab2a9000 rw-p 0006f000 fd:00 1425319                    /usr/li
2aaaab2a9000-2aaaab2aa000 rw-p 2aaaab2a9000 00:00 0 
2aaaab2aa000-2aaaab2cc000 r-xp 00000000 fd:00 1425318                    /usr/li
2aaaab2cc000-2aaaab3cb000 ---p 00022000 fd:00 1425318                    /usr/li
2aaaab3cb000-2aaaab3cd000 rw-p 00021000 fd:00 1425318                    /usr/li
2aaaab3cd000-2aaaab3cf000 r-xp 00000000 fd:00 1421931                    /usr/li

Maybe Kerberos bug 3087?
Comment 1 Bojan Smojver 2005-06-19 21:54:17 EDT
The Kerberos ticket is actually here:
Comment 2 Dan Garthwaite 2005-06-22 15:46:55 EDT
Ditto here on a x86 32bit install.
Comment 3 Christian Iseli 2007-01-22 05:43:05 EST
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Comment 4 Bojan Smojver 2007-01-22 16:53:41 EST
Hmm, the ticket was never closed upstream... I can give it a try again, but it's
going to be in a completely different environment, as I don't have access to the
computers where this occurred any more.
Comment 5 Nalin Dahyabhai 2007-11-07 12:04:37 EST
This should have been fixed by updating e2fsprogs to version 1.38, which avoided
crashes due to earlier versions of e2fsprogs libcom_err not conforming to
expectations of krb5 1.4 and later.  Closing as next-release because FC5
incorporated these versions (the e2fsprogs update was also released for FC4).

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