Bug 1044747

Summary: rlm_krb5 memory corruption
Product: [Fedora] Fedora Reporter: John Dennis <jdennis>
Component: freeradiusAssignee: John Dennis <jdennis>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jdennis, lemenkov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: freeradius-3.0.1-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1044748 (view as bug list) Environment:
Last Closed: 2014-01-15 00:24:44 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:
Bug Depends On:    
Bug Blocks: 1044748    
Attachments:
Description Flags
upstream fixes for rlm_krb5 none

Description John Dennis 2013-12-18 22:05:04 UTC
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.

Comment 1 John Dennis 2013-12-18 22:07:42 UTC
Created attachment 838662 [details]
upstream fixes for rlm_krb5

Comment 2 Fedora Update System 2014-01-15 00:32:09 UTC
freeradius-3.0.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/freeradius-3.0.1-1.fc20

Comment 3 Fedora Update System 2014-01-23 17:22:02 UTC
freeradius-3.0.1-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/freeradius-3.0.1-2.fc20

Comment 4 Fedora Update System 2014-01-28 04:36:25 UTC
freeradius-3.0.1-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.