Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1189394 - radiusd segfaults after update
radiusd segfaults after update
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: freeradius (Show other bugs)
6.7
Unspecified Unspecified
urgent Severity urgent
: rc
: ---
Assigned To: Nikolai Kondrashov
Jaroslav Aster
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-05 03:21 EST by David Spurek
Modified: 2015-07-22 02:17 EDT (History)
4 users (show)

See Also:
Fixed In Version: freeradius-2.2.6-4.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-22 02:17:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
core dump file (2.54 MB, application/x-core)
2015-02-05 03:22 EST, David Spurek
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1287 normal SHIPPED_LIVE Moderate: freeradius security, bug fix, and enhancement update 2015-07-20 13:48:53 EDT

  None (edit)
Description David Spurek 2015-02-05 03:21:59 EST
Description of problem:
radiusd segfaults. freeradius-mysql has to be installed

Version-Release number of selected component (if applicable):
freeradius-2.2.6-3.el6
freeradius-mysql-2.2.6-3.el6

How reproducible:
always

Steps to Reproduce:
1.install freeradius and freeradius-mysql
2.
3.

Actual results:
segfault

Expected results:
radiusd is started

Additional info:
radiusd -X
...
 Module: Instantiating eap-tls
   tls {
   	rsa_key_exchange = no
   	dh_key_exchange = yes
   	rsa_key_length = 512
   	dh_key_length = 512
   	verify_depth = 0
   	CA_path = "/etc/raddb/certs"
   	pem_file_type = yes
   	private_key_file = "/etc/raddb/certs/server.pem"
   	certificate_file = "/etc/raddb/certs/server.pem"
   	CA_file = "/etc/raddb/certs/ca.pem"
   	private_key_password = "whatever"
   	dh_file = "/etc/raddb/certs/dh"
   	fragment_size = 1024
   	include_length = yes
   	check_crl = no
   	cipher_list = "DEFAULT"
   	ecdh_curve = "prime256v1"
    cache {
    	enable = no
    	lifetime = 24
    	max_entries = 255
    }
    verify {
    }
    ocsp {
    	enable = no
    	override_cert_url = yes
    	url = "http://127.0.0.1/ocsp/"
    	use_nonce = yes
    	timeout = 0
    	softfail = no
    }
   }
Segmentation fault
Comment 1 David Spurek 2015-02-05 03:22:34 EST
Created attachment 988438 [details]
core dump file
Comment 2 Nikolai Kondrashov 2015-02-05 08:18:55 EST
It seems SSL context creation fails, returning NULL context, FreeRADIUS doesn't verify that and tries to use it.
Comment 3 Nikolai Kondrashov 2015-02-11 08:49:41 EST
This happens because SSL_library_init is not called due to my fix to OpenSSL version checking and a confusing function name.
Comment 4 Nikolai Kondrashov 2015-02-11 11:14:25 EST
Fix accepted upstream: https://github.com/FreeRADIUS/freeradius-server/pull/906
Comment 8 Nikolai Kondrashov 2015-04-17 08:27:59 EDT
This is an inter-release packaging-related issue, doc text is not necessary.
Comment 10 errata-xmlrpc 2015-07-22 02:17:07 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1287.html

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