Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 509629

Summary: kernel: fd leak if pipe() is called with an invalid address [mrg-1]
Product: Red Hat Enterprise MRG Reporter: Eugene Teo (Security Response) <eteo>
Component: realtime-kernelAssignee: Red Hat Real Time Maintenance <rt-maint>
Status: CLOSED ERRATA QA Contact: David Sommerseth <davids>
Severity: high Docs Contact:
Priority: high    
Version: 1.1CC: amwang, bhu, jcm, lgoncalv, ovasik, williams
Target Milestone: 1.1.5   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 509625 Environment:
Last Closed: 2009-07-14 19:11:46 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: 509625    
Bug Blocks:    

Description Eugene Teo (Security Response) 2009-07-04 08:11:14 UTC
+++ This bug was initially created as a clone of Bug #509625 +++

Description of problem:
fd leak if pipe() is called with an invalid address.

Though -EFAULT is returned, the file descriptors opened by pipe() call are left open.

Reference:
http://patchwork.kernel.org/patch/33640/

Comment 2 Eugene Teo (Security Response) 2009-07-04 08:20:56 UTC
http://www.chineselinuxuniversity.net/patches/43722.shtml

Comment 3 Luis Claudio R. Goncalves 2009-07-06 15:12:13 UTC
Applied to kernel -124

Comment 7 errata-xmlrpc 2009-07-14 19:11:46 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-2009-1157.html