[Bugs] [Bug 1471870] cthon04 can cause segfault in gNFS/NLM

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 11 10:52:02 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1471870



--- Comment #12 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17792 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit 6c2077618d336edea299d946084ebb4edbbfd47e
Author: Niels de Vos <ndevos at redhat.com>
Date:   Mon Jul 17 16:43:30 2017 +0200

    nfs: make nfs3_call_state_t refcounted

    There is no refcounting done of the nfs3_call_state_t structure, which
    seems to result in use-after-free problems in the NLM part of
    Gluster/NFS. The structure is initialized with two different functions,
    it is easier to have a single place to do this.

    The Gluster/NFS part will not use the refcounting, for now. This is
    being added to make the NLM code more stable. nfs3_call_state_wipe()
    will behave as before for Gluster/NFS, but cleanup is triggered through
    the refcounting now. This prevents major changes to the stable part of
    the NFS-server, and makes it possible to improve the NLM component
    separately.

    Cherry picked from commit daed52b8ebcac7ef36f11e944f83826f46593867:
    > Change-Id: I2e15bcf12af74e8a46c2727e4a160e9444d29ece
    > BUG: 1467313
    > Signed-off-by: Niels de Vos <ndevos at redhat.com>
    > Reviewed-on: https://review.gluster.org/17696
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Amar Tumballi <amarts at redhat.com>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    > Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>

    Change-Id: I2e15bcf12af74e8a46c2727e4a160e9444d29ece
    BUG: 1471870
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: https://review.gluster.org/17792
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=o3D7AXlFBi&a=cc_unsubscribe


More information about the Bugs mailing list