From nobody@FreeBSD.org  Sat Oct 11 00:37:01 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 84F1B1065686
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Oct 2008 00:37:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 71F9D8FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Oct 2008 00:37:01 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m9B0b05F043354
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 11 Oct 2008 00:37:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id m9B0b0SV043353;
	Sat, 11 Oct 2008 00:37:00 GMT
	(envelope-from nobody)
Message-Id: <200810110037.m9B0b0SV043353@www.freebsd.org>
Date: Sat, 11 Oct 2008 00:37:00 GMT
From: alan <alancyang@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /sbin/setkey coredump freebsd7 on sha1_result line 263 page fault
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         128009
>Category:       kern
>Synopsis:       setkey(8) coredumps freebsd7 on sha1_result line 263 page fault
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    vwe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 11 00:40:01 UTC 2008
>Closed-Date:    Sat Aug 21 21:14:16 UTC 2010
>Last-Modified:  Sat Aug 21 21:14:16 UTC 2010
>Originator:     alan
>Release:        FreeBSD7
>Organization:
>Environment:
FreeBSD Fujitsu 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Mon Oct  6 15:00:27 PDT 2008     root@Fujitsu:/usr/src/sys/i386/compile/MYKERNEL  i386

>Description:
/sbin/setkey with following single line specified in setkey.conf coredump
freebsd7 with page fault at ~/crypto/sha1.c:263 within sha1_result() function 
 digest[0] = ctxt->h.b8[3]; digest[1] = ctxt->h.b8[2];

 add 192.168.0.101 192.168.0.110 esp-old 0x10001 -m any -E des-cbc
"12345678" -A keyed-sha1 "12345678123456781234"

/sbin/setkey -f setkey.conf

/usr/local/sbin/setkey seems to behave differently that it failed on parse
but without indicating where / reason

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: vwe 
State-Changed-When: Mon Oct 13 08:28:00 UTC 2008 
State-Changed-Why:  

Alan, 
does setkey panic your box or does setkey core dump? 
Please give us the actual panic message (if panicing your box) and the 
backtraces. 
Please don't hesitate to also post your kernel config and a dmesg for 
your network configuration and crypto messages. 


Responsible-Changed-From-To: freebsd-bugs->vwe 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Mon Oct 13 08:28:00 UTC 2008 
Responsible-Changed-Why:  

track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128009 
State-Changed-From-To: feedback->closed 
State-Changed-By: vwe 
State-Changed-When: Sat Aug 21 21:13:51 UTC 2010 
State-Changed-Why:  
no feedback received, 7.0 isn't supported anymore 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128009 
>Unformatted:
