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:


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.