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 1404340 - Use-after free in resolver in case the fd is writeable and readable at the same time
Summary: Use-after free in resolver in case the fd is writeable and readable at the sa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.3
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: Steeve Goveas
Marc Muehlfeld
URL:
Whiteboard:
Depends On: 1400422
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 15:57 UTC by Marcel Kolaja
Modified: 2020-05-04 10:59 UTC (History)
11 users (show)

Fixed In Version: sssd-1.14.0-43.el7_3.11
Doc Type: Bug Fix
Doc Text:
Previously, if the socket that the System Security Services Daemon (SSSD) uses to communicate with the DNS server was writable and readable, and additionally an error occurred while processing the first event, SSSD accessed freed memory and the service terminated unexpectedly. A patch has been applied and SSSD now processes both events using the same resolver callback call. As a result, SSSD no longer fails in the described scenario.
Clone Of: 1400422
Environment:
Last Closed: 2017-01-17 18:10:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 4283 0 None closed Use-after free in resolver in case the fd is writeable and readable at the same time 2021-02-19 09:21:20 UTC
Red Hat Product Errata RHBA-2017:0078 0 normal SHIPPED_LIVE sssd bug fix update 2017-01-17 22:51:58 UTC

Description Marcel Kolaja 2016-12-13 15:57:34 UTC
This bug has been copied from bug #1400422 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 4 Amith 2017-01-08 21:32:30 UTC
Verified Sanity only on SSSD Version: sssd-1.14.0-43.el7_3.11 

The automated regression round for the FAILOVER suite which covers the resolver code as well, was executed successfully on the upgraded sssd package: sssd-1.14.0-43.el7_3.11 

See beaker job : https://beaker.engineering.redhat.com/jobs/1662438

Comment 6 errata-xmlrpc 2017-01-17 18:10:26 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, 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://rhn.redhat.com/errata/RHBA-2017-0078.html


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