Bug 736346

Summary: make initgroups (setgroups) thread aware
Product: Red Hat Enterprise Linux 6 Reporter: Petr Matousek <pmatouse>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED ERRATA QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.1CC: fweimer, jakub, mfranc
Target Milestone: rc   
Target Release: 6.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.12-1.40.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 17:48:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 722583, 743047    

Description Petr Matousek 2011-09-07 13:15:15 UTC
Description of problem:

When calling set*id after creating threads recent glibc does cross thread
signalling so that *id are set in all threads. When using raw syscalls or not
glibc, *id is set for the calling thread only.

initgroups (setgroups) in rhel glibc is not working that way. we are
missing upstream commit 70181fddf1467996bea393d13294ffe76b8a0853.

This blocks RHEL6 fix for CVE-2011-2527 (initgroups is called after multiple thread creation).

Comment 5 errata-xmlrpc 2011-12-06 17:48:07 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.

http://rhn.redhat.com/errata/RHSA-2011-1526.html