Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2025 04:03:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 291854] Update to sys/netpfil/ipfw/ip_fw_bpf.c triggers a panic when ipfw starts
Message-ID:  <bug-291854-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291854

            Bug ID: 291854
           Summary: Update to sys/netpfil/ipfw/ip_fw_bpf.c triggers a
                    panic when ipfw starts
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rkoberman@gmail.com

After 3daae1ac1d82 was committed Dec.15, my system panics while starting up
ipfw.

kernel: ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to
deny, logging disabled
kernel: panic: Assertion tap->rule == rule failed at
/usr/src/sys/netpfil/ipfw/ip_fw_bpf.c:86
kernel: cpuid = 11
kernel: time = 1766124707
kernel: KDB: stack backtrace:
kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
0xfffffe00eb3d3900
kernel: vpanic() at vpanic+0x136/frame 0xfffffe00eb3d3a30
kernel: panic() at panic+0x43/frame 0xfffffe00eb3d3a90
kernel: ipfw_tap_alloc() at ipfw_tap_alloc+0x2f7/frame 0xfffffe00eb3d3ac0
kernel: add_rules() at add_rules+0x137/frame 0xfffffe00eb3d3b30
kernel: ipfw_ctl3() at ipfw_ctl3+0x365/frame 0xfffffe00eb3d3ce0
kernel: sogetopt() at sogetopt+0x15a/frame 0xfffffe00eb3d3d40
kernel: kern_getsockopt() at kern_getsockopt+0xb5/frame 0xfffffe00eb3d3dd0
kernel: sys_getsockopt() at sys_getsockopt+0x52/frame 0xfffffe00eb3d3e00
kernel: amd64_syscall() at amd64_syscall+0x169/frame 0xfffffe00eb3d3f30
kernel: fast_syscall_common() at fast_syscall_common+0xf8/frame
0xfffffe00eb3d3f30
kernel: --- syscall (118, FreeBSD ELF64, getsockopt), rip = 0x1d91f7dd13da, rsp
= 0x1d91f513d1a8$
kernel: KDB: enter: panic

The commit was found by git bisect.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291854-227>