Bug 594632 - kernel: security: testing the wrong variable in create_by_name() [rhel-4.8.z]
Summary: kernel: security: testing the wrong variable in create_by_name() [rhel-4.8.z]
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.8
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-21 08:19 UTC by Eugene Teo (Security Response)
Modified: 2013-01-11 03:01 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-21 08:30:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Eugene Teo (Security Response) 2010-05-21 08:19:38 UTC
Description of problem:
There is a typo here.  We should be testing "*dentry" instead of "dentry".  If
"*dentry" is an ERR_PTR, it gets dereferenced in either mkdir() or create()
which would cause an OOPs.

This bug has been in the kernel since 2.6.14-rc2 via b67dbf9d.

Upstream commit:
http://git.kernel.org/linus/b338cc8207eae46640a8d534738fda7b5e48511d


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