Bug 1044748

Summary: rlm_krb5 memory corruption
Product: Red Hat Enterprise Linux 7 Reporter: John Dennis <jdennis>
Component: freeradiusAssignee: John Dennis <jdennis>
Status: CLOSED CURRENTRELEASE QA Contact: David Spurek <dspurek>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: dpal, dspurek, ebenes, jdennis, ksrot, lemenkov
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: freeradius-3.0.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1044747 Environment:
Last Closed: 2014-06-13 11:59:50 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:
Bug Depends On: 1044739, 1044747    
Bug Blocks:    

Description John Dennis 2013-12-18 22:08:34 UTC
+++ This bug was initially created as a clone of Bug #1044747 +++

rlm_krb5 will corrupt memory or seg fault due to improperly passed pointer to memcpy.

rlm_krb5 will also seg fault due a bug in the krb5 function krb5_copy_context(), this problem and it's solution is described in Bug #1044735.

A discussion concerning the problems with rlm_krb5 can be found here:

http://freeradius.1045715.n5.nabble.com/received-signal-SIGSEGV-Segmentation-fault-malloc-consolidate-av-0x7ffff5e2de80-at-malloc-c-5196-td5723967.html

Attached is a patch which brings all the rlm_krb5 files up to date with the current version of these files in the upstream FreeRADIUS git repo (branch v3.0.x), this will become the basis for the next FreeRADIUS 3.x release.

--- Additional comment from John Dennis on 2013-12-18 17:07:42 EST ---

Comment 5 Ludek Smid 2014-06-13 11:59:50 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.