Bug 1238149 - FSAL_GLUSTER : avoid possible memory corruption for inherit acl
Summary: FSAL_GLUSTER : avoid possible memory corruption for inherit acl
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nfs-ganesha
Version: rhgs-3.1
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: RHGS 3.1.0
Assignee: Jiffin
QA Contact: Saurabh
URL:
Whiteboard:
Depends On: 1238145
Blocks: 1202842
TreeView+ depends on / blocked
 
Reported: 2015-07-01 09:47 UTC by Jiffin
Modified: 2016-01-19 06:14 UTC (History)
11 users (show)

Fixed In Version: nfs-ganesha-2.2.0-4
Doc Type: Bug Fix
Doc Text:
Clone Of: 1238145
Environment:
Last Closed: 2015-07-29 05:08:58 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description Jiffin 2015-07-01 09:47:20 UTC
+++ This bug was initially created as a clone of Bug #1238145 +++

Description of problem:

fsal_acl_t entries which represents inherit acl may not contains all the required entries, but fsal_acl_2_posix_acl() api include accordingly.For that we may need to allocate acl_t structure with more than the required entries.

Comment 4 Jiffin 2015-07-02 08:31:09 UTC
This is fixed in https://review.gerrithub.io/#/c/237728/

Comment 6 Saurabh 2015-07-14 10:56:21 UTC
As per discussion with developer, the memory corruption could have happened in case of inherit acl setfacl and getfacl, but post fix I can see that setting and getting acls with inherit flags works fine.

Comment 7 errata-xmlrpc 2015-07-29 05:08:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1495.html


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