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 1900733 - sssd_be segfaults at be_refresh_get_values_ex() due to NULL ptrs in results of sysdb_search_with_ts_attr()
Summary: sssd_be segfaults at be_refresh_get_values_ex() due to NULL ptrs in results o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Alexey Tikhonov
QA Contact: Steeve Goveas
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-23 15:36 UTC by Alexey Tikhonov
Modified: 2021-05-18 15:04 UTC (History)
7 users (show)

Fixed In Version: sssd-2.4.0-3.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:03:59 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 5412 0 None closed sssd_be segfaults at be_refresh_get_values_ex() due to NULL ptrs in results of sysdb_search_with_ts_attr() 2020-12-18 09:38:50 UTC

Description Alexey Tikhonov 2020-11-23 15:36:55 UTC
This bug was initially created as a copy of Bug #1899593

I am copying this bug because: to track fix for RHEL8



-  Description of problem:

sssd is crashing with an error - kernel: sssd_be[ ]: segfault at 8 ip 00007fa2c9d08a8e sp 00007ffe81a822d0 error 4 in libsss_util.so[7fa2c9ce9000+8d000]


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

RHEL 7.9
sssd-1.16.5-10.el7_9.5.x86_64


-  How reproducible:

Randomly but frequently post upgrading to RHEL 7.9


-  Steps to Reproduce:

1. Configure sssd in id_provider = ldap mode. 
2. Upgrade system to RHEL 7.9 (sssd-1.16.5-10.el7_9.5.x86_64)


-  Actual results:

sssd_be crashes randomly


-  Expected results:

sssd_be shouldn't crash

Comment 1 Alexey Tikhonov 2020-11-23 15:41:26 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5414

* `master`
    * ff24d1538af88f83d0a3cc2817952cf70e7ca580 - SYSDB: merge_res_sysdb_attrs() fixed to avoid NULL ptr in msgs[]
* `sssd-1-16`
    * 9ace3a7899e6b3753ef428088303e0a646db4096 - SYSDB: merge_res_sysdb_attrs() fixed to avoid NULL ptr in msgs[]

Comment 9 errata-xmlrpc 2021-05-18 15:03:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (sssd bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1666


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