Bug 621752 - kernel: USB: fix testing the wrong variable in fs_create_by_name() [mrg-1]
kernel: USB: fix testing the wrong variable in fs_create_by_name() [mrg-1]
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Real Time Maintenance
David Sommerseth
Depends On: 594630
  Show dependency treegraph
Reported: 2010-08-05 23:23 EDT by Eugene Teo (Security Response)
Modified: 2016-05-22 19:30 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 594630
Last Closed: 2012-01-06 02:49:29 EST
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-08-05 23:23:05 EDT
There is a typo here.  We should be testing "*dentry" which was just assigned instead of "dentry".  This could result in dereferencing an ERR_PTR inside either usbfs_mkdir() or usbfs_create().

Upstream commit:
Comment 1 Clark Williams 2012-01-05 18:16:41 EST
Not sure how this slipped by. We have the above commit in our current MRG 2.0 tree since v2.6.33.4-rt21. 

Ok to close with CURRENTRELEASE?
Comment 2 Eugene Teo (Security Response) 2012-01-06 02:49:29 EST

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