RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2020786 - sssd_be 1.16.5-10.el7_9.10 crash in libc with null dom_name value in find_domain
Summary: sssd_be 1.16.5-10.el7_9.10 crash in libc with null dom_name value in find_do...
Keywords:
Status: CLOSED DUPLICATE of bug 2006866
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: sssd-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-05 22:02 UTC by Marc Sauton
Modified: 2023-09-15 01:17 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-02 14:27:09 UTC
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-101893 0 None None None 2021-11-05 22:07:50 UTC

Comment 3 Marc Sauton 2021-11-05 22:04:06 UTC
Description of problem:

RHEL-7.9 sssd_be crash / segfault error 4 in libc, with null value dom_name in find_domain()

time stamp 2021-10-22 11:00:41

AD 2 way trust, with 62 DCs, 6 primary
AD ID and access provider
ad_gpo_acceldap_schema = rfc2307bis
use_fully_qualified_names = True
ss_control = disabled
ad_access_filter = xxeditedxx

nothing special for the timestamp except the crash report itself and shutdown, in the log files
sssd_edited.domain.log
ldap_child.log
sssd.log
sssd_nss.log
sssd_pam.log


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

RHEL-7.9 on Amazon EC2 / t3.2xlarge
redhat-release-server-7.9-6.el7_9.x86_64
sssd-1.16.5-10.el7_9.10.x86_64


How reproducible:
N/A

Steps to Reproduce:
1. N/A
2.
3.


Actual results:

2021-10-22T11:00:41.771358+00:00 redacted.hostname kernel: sssd_be[7836]: segfault at 0 ip 00007fa6d7d6d3b5 sp 00007ffe0ab2d468 error 4 in libc-2.17.so[7fa6d7c26000+1c4000]


Expected results:
yes


Additional info:

Core was generated by `/usr/libexec/sssd/sssd_be --domain redacted.domain --uid 0 --gid 0 --logger=fi'.
Program terminated with signal 11, Segmentation fault.
#0  __strcasecmp_l_avx () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:165
165             movdqu  (%rsi), %xmm2

Thread 1 (Thread 0x7f917a353880 (LWP 11171)):
#0  __strcasecmp_l_avx () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:165
No locals.
#1  0x00007f916a148343 in find_domain (count=1, reply=<optimized out>, dom_name=0x0) at src/providers/ad/ad_subdomains.c:1403
        c = 0
        name = 0x55ff3de27bf0 "REDACTED.DOMAIN"
        ret = <optimized out>
        __FUNCTION__ = "find_domain"
#2  0x00007f916a14cf21 in ad_get_root_domain_done (subreq=0x0) at src/providers/ad/ad_subdomains.c:1431
...snip...


sssd.log
(2021-10-22 11:00:41): [sssd] [svc_child_info] (0x0040): Child [7836] ('edited.domain':'%BE_edited.domain') terminated with signal [11]


/var/log/sssd/sssd_edited.domain.log
...
(2021-10-22 11:00:41): [be[edited.domain]] [fo_discover_srv_done] (0x0400): Got 62 servers
(2021-10-22 11:00:41): [be[edited.domain]] [ad_srv_plugin_servers_done] (0x0400): Got 6 primary and 62 backup servers
...
(2021-10-22 11:00:41): [be[edited.domain]] [ad_domain_info_next_done] (0x0400): Found SID [S-1-5-21-2706447373-3929271640-2302363577].
...
(2021-10-22 11:00:41): [be[edited.domain]] [ad_get_root_domain_send] (0x0400): Looking up the forest root domain.
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_search_bases_ex_next_base] (0x0400): Issuing LDAP lookup with base [DC=edited,DC=edited,DC=edited]
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_print_server] (0x2000): Searching xx.xx.xx.xx:389
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_get_generic_ext_step] (0x0400): calling ldap_search_ext with [(&(objectclass=trustedDomain)(trustType=2)(!(msDS-TrustForestTrustInfo=*)))][DC=edited,DC=edited,DC=edited].
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_process_result] (0x2000): Trace: sh[0x55eb19fdb040], connected[1], ops[0x55eb1a04a780], ldap[0x55eb1a033960]
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_process_message] (0x4000): Message type: [LDAP_RES_SEARCH_REFERENCE]
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_get_generic_ext_add_references] (0x1000): Additional References: ldap://edited.hostname/CN=Configuration,DC=edited,DC=edited,DC=edited
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_process_result] (0x2000): Trace: sh[0x55eb19fdb040], connected[1], ops[0x55eb1a04a780], ldap[0x55eb1a033960]
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_process_message] (0x4000): Message type: [LDAP_RES_SEARCH_RESULT]
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_get_generic_op_finished] (0x0400): Search result: Success(0), no errmsg set
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_op_destructor] (0x2000): Operation 8 finished
(2021-10-22 11:00:41): [be[edited.domain]] [generic_ext_search_handler] (0x4000): Request included referrals which were ignored.
(2021-10-22 11:00:41): [be[edited.domain]] [generic_ext_search_handler] (0x4000):     Ref: ldap://edited.hostname/CN=Configuration,DC=edited,DC=edited,DC=edited
(2021-10-22 11:00:41): [be[edited.domain]] [sdap_search_bases_ex_done] (0x0400): Receiving data from base [DC=edited,DC=edited,DC=edited]
(END)

Comment 13 Andre Boscatto 2021-12-02 14:27:09 UTC

*** This bug has been marked as a duplicate of bug 2006866 ***

Comment 14 Red Hat Bugzilla 2023-09-15 01:17:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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