Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 594634 - kernel: security: testing the wrong variable in create_by_name() [rhel-5.5.z]
Summary: kernel: security: testing the wrong variable in create_by_name() [rhel-5.5.z]
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.5
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Red Hat Kernel QE team
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-21 08:20 UTC by Eugene Teo (Security Response)
Modified: 2013-01-11 03:01 UTC (History)
5 users (show)

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

Attachments (Terms of Use)

Description Eugene Teo (Security Response) 2010-05-21 08:20:10 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:

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