Subject: kern/7981: Enabling the IP Filter LKM causes kernel panel
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 07/13/1999 16:30:54
>Number:         7981
>Category:       kern
>Synopsis:       Enabling the IP Filter LKM causes kernel panel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 13 16:05:00 1999
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        1999-07-13
>Environment:
System: NetBSD lyssa.owl.de 1.4F NetBSD 1.4F (LYSSA) #2: Wed Jul 14 00:17:26 CEST 1999 tron@lyssa.owl.de:/src/sys/compile/LYSSA i386


>Description:
Enabling the IP Filter loadable kernel module on an i386 ELF system causes
an immediate kernel panic:

uvm_fault(0xf031c1a0, 0xfcf32000, 0, 1) -> 1

That's what "where" in "gdb" says:

#0  0xf02f7dd4 in db_last_command ()
#1  0x58a3000 in ?? ()
#2  0xf02606c7 in cpu_reboot ()
#3  0xf01209f2 in db_reboot_cmd ()
#4  0xf01206ec in db_command ()
#5  0xf012087e in db_command_loop ()
#6  0xf0122f22 in db_trap ()
#7  0xf025e5be in kdb_trap ()
#8  0xf026647c in trap ()
#9  0xf0100c87 in calltrap ()
#10 0xfcf29472 in ?? ()
#11 0xf01ca516 in spec_ioctl ()
#12 0xf01c7dc2 in vn_ioctl ()
#13 0xf01abef1 in sys_ioctl ()
#14 0xf0266b05 in syscall ()
#15 0xf0100d33 in syscall1 ()

>How-To-Repeat:
Load IP Filter loadable kernel module and try to enable it with "ipf -E".

>Fix:
Sorry, I don't know.

>Audit-Trail:
>Unformatted: