Bug 1196794

Summary: rpc.gssd segfaults in /lib64/libgssapi_krb5.so
Product: [Fedora] Fedora Reporter: Benjamin Coddington <bcodding>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: bfields, jlayton, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-26 22:30:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Backtrace of rpc.gssd none

Description Benjamin Coddington 2015-02-26 18:49:36 UTC
Created attachment 995731 [details]
Backtrace of rpc.gssd

Description of problem:

The following segfault happens in rpc.gssd when mounting Red Hat Storage server (aka the ganesha server)

#0  gss_delete_sec_context (minor_status=minor_status@entry=0x7fff684c8724,
    context_handle=context_handle@entry=0x7fab5a981768, output_token=output_token@entry=0x0)
    at g_delete_sec_context.c:87
#1  0x00007fab56c9f681 in gssi_delete_sec_context (minor_status=0x7fff684c87a4, context_handle=<optimized out>,
    output_token=0x0) at src/mechglue/gpp_context.c:368
#2  0x00007fab58ed83f3 in gss_delete_sec_context (minor_status=minor_status@entry=0x7fff684c87a4,
    context_handle=context_handle@entry=0x7fab5a911168, output_token=output_token@entry=0x0)
    at g_delete_sec_context.c:90
#3  0x00007fab5859e884 in authgss_destroy_context (auth=auth@entry=0x7fab5a9091e0) at auth_gss.c:605
#4  0x00007fab5859e991 in authgss_destroy (auth=auth@entry=0x7fab5a9091e0) at auth_gss.c:627
#5  0x00007fab5859f236 in authgss_refresh (auth=0x7fab5a9091e0, dummy=<optimized out>) at auth_gss.c:547 
...

Full back trace is attached.


Version-Release number of selected component (if applicable):
krb5-libs-1.12.2-9.fc21.x86_64
nfs-utils-1.3.1-6.1.fc21.x86_64
libtirpc-0.2.5-2.0.fc21.x86_64

How reproducible:
100%

Steps to Reproduce:
1. start rpc.gssd with a valid keytab
2. mount the Red Hat storage server

Additional info:
The problem occurs because the fedora 21 client is trying to
set up a GSS context with the server. Security is not
enabled on the server so the request is failed with 
an AUTH_ERROR error.

Comment 1 Benjamin Coddington 2015-02-26 22:30:09 UTC

*** This bug has been marked as a duplicate of bug 1196371 ***