Bug 506875

Summary: kernel: ptrace: don't use REMOVE_LINKS/SET_LINKS for reparenting [rhel-4.9]
Product: Red Hat Enterprise Linux 4 Reporter: Eugene Teo (Security Response) <eteo>
Component: kernelAssignee: Oleg Nesterov <onestero>
Status: CLOSED ERRATA QA Contact: Petr Beňas <pbenas>
Severity: medium Docs Contact:
Priority: urgent    
Version: 4.9CC: jplans, jskrabal, kzhang, lwang, onestero, pbenas, pstehlik, rkhadgar, sghosh, vgoyal
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-16 15:45:38 UTC Type: ---
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: 519446    

Description Eugene Teo (Security Response) 2009-06-19 03:40:57 UTC
Description of problem:
There are places where kernel uses REMOVE_LINKS/SET_LINKS while changing process's ->parent.  Use add_parent/remove_parent instead, they don't abuse of global process list.

Upstream commit:
http://git.kernel.org/linus/9b678ece42893b53aae5ed7cb8d7cb261cacb72c

Comment 4 Vivek Goyal 2009-07-07 18:11:59 UTC
Committed in 89.5.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/

Comment 9 Petr Beňas 2010-11-15 13:00:46 UTC
Reproduced in 2.6.9-89.4.E and verified in 2.6.9-89.5.EL.

Comment 11 errata-xmlrpc 2011-02-16 15:45:38 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

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