RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 712983 - Segmentation fault in libgssglue
Summary: Segmentation fault in libgssglue
Keywords:
Status: CLOSED DUPLICATE of bug 720479
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libgssglue
Version: 6.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-13 19:39 UTC by sadekok
Modified: 2011-10-11 16:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-11 16:48:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Stack Trace (7.71 KB, application/octet-stream)
2011-06-13 19:39 UTC, sadekok
no flags Details

Description sadekok 2011-06-13 19:39:18 UTC
Created attachment 504529 [details]
Stack Trace

Description of problem:
When trying to connect to Kerberos Secure NFS, rpc.gssd fails when libgssglue segfaults.  Kerberos Server is an Active Directory 2008 server.

Version-Release number of selected component (if applicable):
nfs-utils 1.1.2.3-7
Kerberos 1.9-9

How reproducible:
Consistent from machine to machine with our configuration.

Steps to Reproduce:
1. Setup a kerberos principal nfs/fqdn encrypted in des-cbc-md5
2. Try mount a kerberosized NFS share
3.
  
Actual results:
rpc.gssd service fails with the log messages:

rpc.gssd[1526]: creating context using fsuid 0 (save_uid 0)
kernel: rpc.gssd[1526]: segfault at 1 ip 00007fb739da17ae sp 00007ffff7035118 error 4 in libgssglue.so.1.0.0[7fb739d9e000+9000]


Expected results:
No errors and and able to browse the root directory of the NFS share

Additional info:
It worked without issue on RHEL 5.5 and earlier.

Stack Trace is Attached

Comment 2 RHEL Program Management 2011-07-06 01:32:31 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Steve Dickson 2011-09-14 19:22:59 UTC
The following patch fixes the problem:

commit 2e4a7e9b50a641dc8640a5dd911ee4a2f0b2c073
Author: Steve Dickson <steved>
Date:   Tue Apr 19 12:31:30 2011 -0400

    rpc.svcgssd: Segmentation fault on error
    
    Commit 544ed73d introduced a regression that caused
    rpc.svcgssd to seg fault on "Wrong principal in request"
    errors in gss_accept_sec_context()
    
    Signed-off-by: Steve Dickson <steved>

diff --git a/utils/gssd/gss_util.c b/utils/gssd/gss_util.c
index ca27d61..0e327b0 100644
--- a/utils/gssd/gss_util.c
+++ b/utils/gssd/gss_util.c
@@ -252,7 +252,8 @@ display_status_2(char *m, u_int32_t major, u_int32_t minor, const gss_OID mech)
 
 	if (major == GSS_S_CREDENTIALS_EXPIRED)
 		msg_verbosity = 1;
-	printerr(msg_verbosity, "ERROR: GSS-API: error in %s(): %s (%s) - %s(%s)\n",
+
+	printerr(msg_verbosity, "ERROR: GSS-API: error in %s(): %s (%s) - %s\n",
 		 m, gss_display_error(major), maj, min);
 
 	if (maj_gss_buf.length != 0)

Comment 4 Steve Dickson 2011-09-15 18:14:08 UTC
(In reply to comment #0)
> Created attachment 504529 [details]
> Stack Trace
> 
> Description of problem:
> When trying to connect to Kerberos Secure NFS, rpc.gssd fails when libgssglue
> segfaults.  Kerberos Server is an Active Directory 2008 server.
> 
> Version-Release number of selected component (if applicable):
> nfs-utils 1.1.2.3-7
> Kerberos 1.9-9
What version of libgssglue are you using?

Comment 6 sadekok 2011-10-07 19:06:32 UTC
libgssglue v 0.1 was used, but the issue was fixed with the nfs-utils 1.1.2.3-8 release in Bug 720479.

Comment 7 Steve Dickson 2011-10-11 16:48:11 UTC

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


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