[Bugs] [Bug 1226717] New: racy condition in nfs/auth-cache feature
bugzilla at redhat.com
bugzilla at redhat.com
Sun May 31 21:16:43 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1226717
Bug ID: 1226717
Summary: racy condition in nfs/auth-cache feature
Product: GlusterFS
Version: mainline
Component: nfs
Keywords: Triaged
Severity: high
Priority: high
Assignee: ndevos at redhat.com
Reporter: ndevos at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
The auth-cache feature contains a function called auth_cache_purge(). This
function replaces the auth_cache->cache_dict with a new dictionary that should
contain fresh caches. The placing is triggered by the
_mnt3_auth_param_refresh_thread().
There is no locking of the actual auth_cache_entry structures, and
auth_cache_purge() can cause the free'ing of these entries while other threads
are using them.
It is very rare to notice a problem, because the auth_cache_entry structures
are used only very briefly. A chance for corruption is really small. Our
regression tests seem to have hit this issue only once or twice in the last few
months.
Version-Release number of selected component (if applicable):
3.7 and mainline
How reproducible:
extremely difficult.
Additional info:
http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/11052/focus=11109
--
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=IdG0VQAWtE&a=cc_unsubscribe
More information about the Bugs
mailing list