libkrb5 failed to alloc memory

Ming Zhi <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.general
Message-ID <CAAYuYkp_7oNw7+3AV8it=Mrok0qWymP4_Vh3-Kqr5j8nzSV_OA@mail.gmail.com>
Hi all,
I have encountered a very rare situation, that the libkrb5 raised an
exception with the message "malloc: invalid size (unsorted)", and the host
process quit afterwards. At the same time, sssd_kcm kept at very high CPU
usage till kinit succeeded. Does someone have some hint about this issue?
The version of libkrb5 is krb5-libs-1.18.2-22.fc32.x86_64.
The following is a stack backtrace:
#0  0x00007ffff71d79e5 in raise () from /usr/lib64/libc.so.6
#1  0x00007ffff71c0895 in abort () from /usr/lib64/libc.so.6
#2  0x00007ffff721b857 in __libc_message () from /usr/lib64/libc.so.6
#3  0x00007ffff7222d7c in malloc_printerr () from /usr/lib64/libc.so.6
#4  0x00007ffff7225e6c in _int_malloc () from /usr/lib64/libc.so.6
#5  0x00007ffff7228235 in calloc () from /usr/lib64/libc.so.6
#6  0x00007ffff566346c in decode_atype_to_ptr () from
/usr/lib64/libkrb5.so.3
#7  0x00007ffff5663b67 in k5_asn1_full_decode () from
/usr/lib64/libkrb5.so.3
#8  0x00007ffff5666a72 in decode_krb5_tgs_rep () from
/usr/lib64/libkrb5.so.3
#9  0x00007ffff5682a78 in krb5int_decode_tgs_rep () from
/usr/lib64/libkrb5.so.3
#10 0x00007ffff5685933 in krb5int_process_tgs_reply () from
/usr/lib64/libkrb5.so.3
#11 0x00007ffff5687c83 in krb5_tkt_creds_step () from
/usr/lib64/libkrb5.so.3
#12 0x00007ffff568883f in krb5_tkt_creds_get () from /usr/lib64/libkrb5.so.3
#13 0x00007ffff568892c in try_get_creds () from /usr/lib64/libkrb5.so.3
#14 0x00007ffff56889cf in krb5_get_credentials () from
/usr/lib64/libkrb5.so.3
#15 0x00007ffff57517d8 in get_credentials () from
/usr/lib64/libgssapi_krb5.so.2
#16 0x00007ffff57523fe in krb5_gss_init_sec_context_ext () from
/usr/lib64/libgssapi_krb5.so.2
#17 0x00007ffff5752e04 in krb5_gss_init_sec_context () from
/usr/lib64/libgssapi_krb5.so.2
#18 0x00007ffff573b679 in gss_init_sec_context () from
/usr/lib64/libgssapi_krb5.so.2
#19 0x00007ffff59371d7 in CK5AuthProxy::Krb5Login (this=0x7fffe8065b40,
strUserName="[email protected]", strSvcName="[email protected]") at
k5proxy.cpp:1142
#20 0x00007ffff59386a3 in CK5AuthProxy::StartLogin (this=0x7fffe8065b40,
pCallback=0x7fffe8006860) at k5proxy.cpp:1659
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.