| Summary: | Segmentation fault in SSL_renegotiate | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Hung <hpham> |
| Component: | httpd | Assignee: | Luboš Uhliarik <luhliari> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Houska <jhouska> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | cww, isenfeld, jorton, luhliari, mfrodl |
| Target Milestone: | rc | Keywords: | OtherQA |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | httpd-2.4.6-49.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-01 21:36: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: | 1298243 | ||
*** Bug 1324519 has been marked as a duplicate of this bug. *** 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://access.redhat.com/errata/RHBA-2017:2175 |
Description of problem: httpd is segfaulting on mod_ssl (gdb) t a a bt Thread 1 (Thread 0x7fb3f7515840 (LWP 8026)): #0 0x00007fb3f92b4c60 in ?? () #1 0x00007fb3eaeb90d3 in ssl_hook_Access (r=0x7fb3f92a1c98) at ssl_engine_kernel.c:782 #2 0x00007fb3f7569b40 in ap_run_access_checker (r=r@entry=0x7fb3f92a1c98) at request.c:87 #3 0x00007fb3f756c5c6 in ap_process_request_internal (r=r@entry=0x7fb3f92a1c98) at request.c:265 #4 0x00007fb3f7587680 in ap_internal_redirect (new_uri=<optimized out>, r=<optimized out>) at http_request.c:646 #5 0x00007fb3f7587b14 in ap_process_async_request (r=r@entry=0x7fb3f92b1920) at http_request.c:350 #6 0x00007fb3f7587ea4 in ap_process_request (r=r@entry=0x7fb3f92b1920) at http_request.c:363 #7 0x00007fb3f75847f2 in ap_process_http_sync_connection (c=0x7fb3f9292220) at http_core.c:190 #8 ap_process_http_connection (c=0x7fb3f9292220) at http_core.c:231 #9 0x00007fb3f757c890 in ap_run_process_connection (c=c@entry=0x7fb3f9292220) at connection.c:41 #10 0x00007fb3f757cc78 in ap_process_connection (c=c@entry=0x7fb3f9292220, csd=<optimized out>) at connection.c:202 #11 0x00007fb3ecf4d80f in child_main (child_num_arg=child_num_arg@entry=0) at prefork.c:707 #12 0x00007fb3ecf4da55 in make_child (s=0x7fb3f8f57340, slot=0) at prefork.c:810 #13 0x00007fb3ecf4e6ee in perform_idle_server_maintenance (p=<optimized out>) at prefork.c:912 #14 prefork_run (_pconf=<optimized out>, plog=<optimized out>, s=<optimized out>) at prefork.c:1100 #15 0x00007fb3f75595be in ap_run_mpm (pconf=pconf@entry=0x7fb3f8f2e158, plog=0x7fb3f8f5b378, s=0x7fb3f8f57340) at mpm_common.c:96 #16 0x00007fb3f7552b46 in main (argc=2, argv=0x7ffdb10315f8) at main.c:777 ~~~~~~~~~~/usr/src/debug/httpd-2.4.6/modules/ssl/ssl_engine_kernel.c ~~~~~ /* Toggle the renegotiation state to allow the new * handshake to proceed. */ sslconn->reneg_state = RENEG_ALLOW; SSL_renegotiate(ssl); <---------------line 782 SSL_do_handshake(ssl); if (SSL_get_state(ssl) != SSL_ST_OK) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(02225) "Re-negotiation request failed"); ssl_log_ssl_error(SSLLOG_MARK, APLOG_ERR, r->server); r->connection->keepalive = AP_CONN_CLOSE; return HTTP_FORBIDDEN; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Version-Release number of selected component (if applicable): mod_ssl-2.4.6-40.el7_2.4.x86_64 How reproducible: Sometimes Steps to Reproduce: Unsure Additional info: Look like this upstream bug is a match and will need to be backported: https://bz.apache.org/bugzilla/show_bug.cgi?id=57334