NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/54950: Kernel panic in NPF with empty procedure



>Number:         54950
>Category:       kern
>Synopsis:       Kernel panic in NPF with empty procedure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 10 05:05:00 +0000 2020
>Originator:     Lloyd Parkes
>Release:        NetBSD 9.0_RC1
>Organization:
Must Have Coffee
>Environment:
System: NetBSD mossdog.must-have-coffee.gen.nz 9.0_RC1 NetBSD 9.0_RC1 (SERIAL) #
0: Sun Jan 12 09:07:43 NZDT 2020 lloyd@ceph4:/vol/build/cylc/20200102T0000+13/bu
ild-netbsd-9/obj.amd64/sys/arch/amd64/compile/SERIAL amd64
Architecture: x86_64
Machine: amd64
>Description:
When loading an NPF configuration that contains an empty procedure then the kernel panics.


>How-To-Repeat:
Load the following NPF config file with "/etc/rc.d/npf onestart". Don't enable NPF in /etc/rc.conf because then you'll get into a panic loop as NetBSD panics everytime it boots.

procedure "empty" {
}

group default {
        pass all
}

>Fix:
I don't have a code fix, nor a stack trace just yet. The obvious work around is to not put an empty procedure in your npf.conf file.

I should be able to get a core dump on -current.



Home | Main Index | Thread Index | Old Index