Bug 1212260

Summary: libldap2 crashes on ldap_sasl_bind_s
Product: [openSUSE] PUBLIC SUSE Linux Enterprise Server 15 SP5 Reporter: Jan Engelhardt <jengelh>
Component: BasesystemAssignee: William Brown <william.brown>
Status: NEW --- QA Contact:
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jan Engelhardt 2023-06-13 01:52:26 UTC
Package: libldap-2_4-2-2.4.46-150200.14.14.1.x86_64

libldap2 crashes sometimes.

(gdb) bt
#0  __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f072b827305 in __GI_abort () at abort.c:79
#2  0x00007f072b81dc6a in __assert_fail_base (fmt=0x7f072b9946f8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7f07291bd2a8 "ber->ber_buf == NULL", file=0x7f07291bd247 "io.c", line=514, function=0x7f07291bd388 "ber_get_next") at assert.c:92
#3  0x00007f072b81dcf2 in __GI___assert_fail (assertion=0x7f07291bd2a8 "ber->ber_buf == NULL", file=0x7f07291bd247 "io.c", line=514, function=0x7f07291bd388 "ber_get_next") at assert.c:101
#4  0x00007f07291b99e1 in ber_get_next () from /usr/lib64/liblber-2.4.so.2
#5  0x00007f07291d7190 in ldap_result () from /usr/lib64/libldap_r-2.4.so.2
#6  0x00007f07291e00a8 in ldap_sasl_bind_s () from /usr/lib64/libldap_r-2.4.so.2

This is https://bugs.openldap.org/show_bug.cgi?id=9803 .

Please indicate if you can backport the fix, since SLE 15 still has 2.4.46.
Comment 2 Maintenance Automation 2023-07-17 16:38:20 UTC
SUSE-RU-2023:2855-1: An update that has one recommended fix can now be installed.

Category: recommended (moderate)
Bug References: 1212260
Sources used:
openSUSE Leap Micro 5.3 (src): openldap2-2.4.46-150200.14.17.1
openSUSE Leap 15.4 (src): openldap2-2.4.46-150200.14.17.1
openSUSE Leap 15.5 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Micro 5.3 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Micro 5.4 (src): openldap2-2.4.46-150200.14.17.1
Basesystem Module 15-SP4 (src): openldap2-2.4.46-150200.14.17.1
Basesystem Module 15-SP5 (src): openldap2-2.4.46-150200.14.17.1
Development Tools Module 15-SP4 (src): openldap2-2.4.46-150200.14.17.1
Development Tools Module 15-SP5 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Real Time 15 SP3 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): openldap2-2.4.46-150200.14.17.1
SUSE Manager Proxy 4.2 (src): openldap2-2.4.46-150200.14.17.1
SUSE Manager Retail Branch Server 4.2 (src): openldap2-2.4.46-150200.14.17.1
SUSE Manager Server 4.2 (src): openldap2-2.4.46-150200.14.17.1
SUSE Enterprise Storage 7.1 (src): openldap2-2.4.46-150200.14.17.1
SUSE Enterprise Storage 7 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Micro 5.1 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Micro 5.2 (src): openldap2-2.4.46-150200.14.17.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src): openldap2-2.4.46-150200.14.17.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.