Bug 1717438 - glibc: __libc_freeres (under valgrind) triggers bad free in libdl if dlerror was not used
Summary: glibc: __libc_freeres (under valgrind) triggers bad free in libdl if dlerror ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: glibc
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.1
Assignee: Carlos O'Donell
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
: 1727912 (view as bug list)
Depends On:
Blocks: 1684559
TreeView+ depends on / blocked
 
Reported: 2019-06-05 13:21 UTC by Mark Wielaard
Modified: 2023-07-18 14:30 UTC (History)
8 users (show)

Fixed In Version: glibc-2.28-69.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 21:29:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3513 0 None None None 2019-11-05 21:29:23 UTC
Sourceware 24476 0 P2 RESOLVED __libc_freeres triggers bad free in libdl if dlerror was not used 2021-02-05 20:52:06 UTC

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


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