Bug 594631 - kernel: security: testing the wrong variable in create_by_name() [mrg-1.3]
kernel: security: testing the wrong variable in create_by_name() [mrg-1.3]
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: John Kacur
David Sommerseth
Depends On:
  Show dependency treegraph
Reported: 2010-05-21 04:19 EDT by Eugene Teo (Security Response)
Modified: 2016-05-22 19:30 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-06 06:55:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Eugene Teo (Security Response) 2010-05-21 04:19:22 EDT
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:
Comment 1 Eugene Teo (Security Response) 2010-08-05 23:19:33 EDT
Also need this patch, fa7fe7af146a7b613e36a311eefbbfb5555325d1.
Comment 2 John Kacur 2010-08-06 06:55:42 EDT
fa7fe7af146a7b613e36a311eefbbfb5555325d1 is already present in as

b338cc8207eae46640a8d534738fda7b5e48511d is already present in

No further actions are necessary, this bz can be closed.

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