Bug 1146100

Summary: Pluto crashes after start when some AH algorithms are used
Product: Red Hat Enterprise Linux 6 Reporter: Jaroslav Aster <jaster>
Component: openswanAssignee: Paul Wouters <pwouters>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.6CC: omoris
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1146106 (view as bug list) Environment:
Last Closed: 2016-04-07 20:50:18 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:    
Bug Blocks: 1146106    

Description Jaroslav Aster 2014-09-24 13:00:12 UTC
Description of problem:

Pluto crashes after start when some aha algorithms are used. I found two id3 and null. It does not matter which ike is used.


Version-Release number of selected component (if applicable):

openswan-2.6.32-37.el6

How reproducible:

Always.

Steps to Reproduce:
1. Configure openswan with phase2=ah, phase2alg=id3 or phase2alg=null.
2. Start openswan.
3. After start you can see that pluto crashed.

Actual results:

Crash.

ABORT at /builddir/build/BUILD/openswan-2.6.32/lib/libopenswan/alg_info.c:98
ABORT at /builddir/build/BUILD/openswan-2.6.32/lib/libopenswan/alg_info.c:98


Expected results:

No crash.

Additional info:

config setup
    protostack=netkey
    plutodebug=all
    plutorestartoncrash=false
    plutostderrlog=/tmp/pluto.log

conn test
    left=<INITIATOR>
    right=<RESPONDER>
    authby=secret
    ikev2=no
    phase2=ah
    phase2alg=<ALG>
    auto=add

Comment 4 Paul Wouters 2016-04-07 20:50:18 UTC
came in via revised patch for #1114683, marked and closed as duplicate

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