Bug 667050

Summary: COW corruption using popen(3). [rhel-5.6.z]
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: kernelAssignee: Jiri Pirko <jpirko>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: coughlan, dhoward, eguan, jburke, jlieskov, jpirko, jthomas, jwest, kzhang, lwoodman, pm-eus, rkhan, syeghiay, wmealing
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-2.6.18-238.1.1.el5 Doc Type: Bug Fix
Doc Text:
Prior to this update, a multi-threaded application, which invoked popen(3) internally, could cause a thread stall by FILE lock corruption. The application program waited for a FILE lock in glibc, but the lock seemed to be corrupted, which was caused by a race condition in the COW (Copy On Write) logic. With this update, the race condition was corrected and FILE lock corruption no longer occurs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-18 18:22:24 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: 664931    
Bug Blocks:    

Description RHEL Program Management 2011-01-04 08:28:44 UTC
This bug has been copied from bug #664931 and has been proposed
to be backported to 5.6 z-stream (EUS).

Comment 3 Jiri Pirko 2011-01-05 11:53:06 UTC
in kernel-2.6.18-238.1.1.el5

linux-2.6-mm-prevent-file-lock-corruption-using-popen-3.patch

Comment 12 Jiri Pirko 2011-01-12 18:09:13 UTC
Guan, how does it look? Anyway, Larry told me that the other test may not reveal the problem...

Comment 15 Jiri Pirko 2011-01-13 12:53:41 UTC
Flipping back to ON_QA

Comment 18 errata-xmlrpc 2011-01-18 18:22:24 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-0163.html

Comment 19 Martin Prpič 2011-07-13 20:28:55 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Prior to this update, a multi-threaded application, which invoked popen(3) internally, could cause a thread stall by FILE lock corruption. The application program waited for a FILE lock in glibc, but the lock seemed to be corrupted, which was caused by a race condition in the COW (Copy On Write) logic. With this update, the race condition was corrected and FILE lock corruption no longer occurs.