Red Hat Bugzilla – Bug 736346
make initgroups (setgroups) thread aware
Last modified: 2017-02-07 08:13:46 EST
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).
Upstream bug/fix: http://sourceware.org/bugzilla/show_bug.cgi?id=10563 http://repo.or.cz/w/glibc.git/commitdiff/70181fddf1467996bea393d13294ffe76b8a0853
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