Bug 1717438

Summary: glibc: __libc_freeres (under valgrind) triggers bad free in libdl if dlerror was not used
Product: Red Hat Enterprise Linux 8 Reporter: Mark Wielaard <mjw>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED ERRATA QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: ashankar, codonell, dj, fweimer, mnewsome, pfrankli, skolosov, tmraz
Target Milestone: rc   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.28-69.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 21:29:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1684559    

Description Mark Wielaard 2019-06-05 13:21:23 UTC
Under some circumstances valgrind might crash at program exit when cleaning up using __libc_freeres. See the upstream bug reproducer:
https://sourceware.org/bugzilla/attachment.cgi?id=11750

This has been fixed upstream:
https://sourceware.org/ml/libc-stable/2019-05/msg00010.html

Comment 1 Mark Wielaard 2019-07-08 14:12:44 UTC
*** Bug 1727912 has been marked as a duplicate of this bug. ***

Comment 4 Sergey Kolosov 2019-08-19 10:20:47 UTC
Verified, the bug has been fixed in glibc-2.28-69.el8

Comment 6 errata-xmlrpc 2019-11-05 21:29:05 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://access.redhat.com/errata/RHSA-2019:3513