Bug 509628 - kernel: fd leak if pipe() is called with an invalid address [rhel-3]
Summary: kernel: fd leak if pipe() is called with an invalid address [rhel-3]
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel
Version: 3.9
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Kernel Manager
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On: 509625
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-04 08:05 UTC by Eugene Teo (Security Response)
Modified: 2009-07-10 18:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 509625
Environment:
Last Closed: 2009-07-10 18:33:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eugene Teo (Security Response) 2009-07-04 08:05:34 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:55 UTC
http://www.chineselinuxuniversity.net/patches/43722.shtml


Note You need to log in before you can comment on or make changes to this bug.