Subject: kern/34212: Kernel panic with IPv6 and IPF v4.1.8
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 08/16/2006 10:55:00
>Number:         34212
>Category:       kern
>Synopsis:       Kernel panic with IPv6 in IPF v4.1.8
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 16 10:55:00 +0000 2006
>Originator:     Martti Kuparinen
>Release:        NetBSD 3.0_STABLE
>Organization:
>Environment:
System: NetBSD fw 3.0_STABLE NetBSD 3.0_STABLE (FW) #0: Wed Jul 26 13:21:45 EEST 2006  root@fw:/usr/src/sys/arch/i386/compile/FW i386
Architecture: i386
Machine: i386
>Description:

Our firewall is constantly crashing with IPv6. Here's the crash dump
from the latest kernel panic:

fw:~> uname -srm
NetBSD 3.0_STABLE i386

ROOT fw:/var/crash> gunzip netbsd.6.core.gz
ROOT fw:/var/crash> cd /usr/src/sys/arch/i386/compile/FW
ROOT fw:/usr/src/sys/arch/i386/compile/FW> gdb netbsd
(gdb) target kcore /var/crash/netbsd.6.core
panic: trap
#0  0x3fec0000 in ?? ()
(gdb) bt
#0  0x3fec0000 in ?? ()
#1  0xc039fd3f in cpu_reboot ()
#2  0xc03276c0 in panic ()
#3  0xc03aa1fd in trap ()
#4  0xc0102ed3 in calltrap ()
#5  0xc01445c4 in fr_stlookup ()
#6  0xc0144ac7 in fr_checkstate ()
#7  0xc01296b9 in fr_check ()
#8  0xc012e733 in fr_check_wrapper6 ()
#9  0xc036c3ca in pfil_run_hooks ()
#10 0xc0156bd1 in ip6_output ()
#11 0xc01499ff in icmp6_reflect ()
#12 0xc0146e4c in icmp6_error ()
#13 0xc01519cd in ip6_forward ()
#14 0xc0152829 in ip6_input ()
#15 0xc0152372 in ip6intr ()
#16 0xc0102b9e in Xsoftnet ()

>How-To-Repeat:
>Fix: