Bug 1027101 - Race condition using ATOMIC_FASTBINS.
Race condition using ATOMIC_FASTBINS.
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: glibc (Show other bugs)
6.4
x86_64 Linux
urgent Severity high
: rc
: ---
Assigned To: Carlos O'Donell
Arjun Shankar
: ZStream
: 985329 1320423 (view as bug list)
Depends On:
Blocks: 994246 1023566 1056252 1070830 1091162
  Show dependency treegraph
 
Reported: 2013-11-06 02:20 EST by Divya
Modified: 2016-03-31 03:13 EDT (History)
19 users (show)

See Also:
Fixed In Version: glibc-2.12-1.137.el6
Doc Type: Bug Fix
Doc Text:
Certain code paths used by the C library's memory allocator "fastbins" feature, enabled by default (mallopt option M_MXFAST set to non-zero), were not thread-safe. When the non-safe code paths executed they could cause corruption in the allocator that would lead to a program segfault. The thread-unsafe code paths have been made thread-safe and should no longer cause application segfaults.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-10-14 00:42:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Reproducer program (1.72 KB, text/x-c++src)
2013-11-06 02:20 EST, Divya
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Sourceware 15073 None None None Never
Red Hat Knowledge Base (Solution) 360093 None None None Never
Red Hat Knowledge Base (Solution) 653643 None None None Never

  None (edit)
Description Divya 2013-11-06 02:20:23 EST
Created attachment 820228 [details]
Reproducer program

Description of problem:
Attached reproducer seem have a random issue of heap corruption.

Version-Release number of selected component (if applicable):
glibc-2.12-1.107.el6_4.4

How reproducible:
Always

Steps to Reproduce:
1. Compile and run the attached reproducer script under valgrind

Actual results:
data race condition and write conflicts

Expected results:
Should run without encountering race conditions

Additional info:
Upstream bugzilla for the same if reported at https://sourceware.org/bugzilla/show_bug.cgi?id=15073
Comment 1 RHEL Product and Program Management 2013-11-10 04:15:41 EST
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
Comment 28 Tomas Heinrich 2014-03-18 06:37:36 EDT
*** Bug 985329 has been marked as a duplicate of this bug. ***
Comment 48 errata-xmlrpc 2014-10-14 00:42:12 EDT
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.

http://rhn.redhat.com/errata/RHSA-2014-1391.html
Comment 49 Brad Hubbard 2015-08-17 17:06:23 EDT
Making this bug public.
Comment 50 Florian Weimer 2016-03-31 03:13:37 EDT
*** Bug 1320423 has been marked as a duplicate of this bug. ***

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