assert "bpfilter_lookup(unit) == NULL" failed in bpf.c (2)

Status: upstream: reported on 2026/07/24 12:16
Reported-by: syzbot+b660ed9df3b3d9a70525@syzkaller.appspotmail.com
First crash: 62d, last: 28d
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd assert "bpfilter_lookup(unit) == NULL" failed in bpf.c -1 38 119d 259d 0/4 auto-obsoleted due to no activity on 2026/07/18 23:50

Sample crash report:
panic: kernel diagnostic assertion "bpfilter_lookup(unit) == NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/net/bpf.c", line 379
Stopped at      db_enter+0x25:  addq    $0x8,%rsp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
  74134  28162      0           0          0    1  syz-executor
*303210  72883      0           0  0x4000000    0  syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff834c0f3a) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff834feb33,ffffffff835094aa,17b,ffffffff83512bc4) at __assert+0x29 sys/kern/subr_prf.c:-1
bpfopen(11700,1,2000,ffff800045fe22c8) at bpfopen+0x2bd bpfilter_lookup sys/net/bpf.c:1832 [inline]
bpfopen(11700,1,2000,ffff800045fe22c8) at bpfopen+0x2bd sys/net/bpf.c:379
spec_open_clone(ffff8000377ae8a8) at spec_open_clone+0x277 sys/kern/spec_vnops.c:722
spec_open(ffff8000377ae8a8) at spec_open+0x319 sys/kern/spec_vnops.c:148
VOP_OPEN(fffff6006ce9fa58,1,fffff600097fd2d8,ffff800045fe22c8) at VOP_OPEN+0x8b sys/kern/vfs_vops.c:138
vn_open(ffff8000377aeaf8,1,0) at vn_open+0x7a5 sys/kern/vfs_vnops.c:183
doopenat(ffff800045fe22c8,ffffff9c,200000000000,0,0,0,23250db1eb14f9e9) at doopenat+0x35b sys/kern/vfs_syscalls.c:1163
sys_open(ffff800045fe22c8,ffff8000377aedb0,ffff8000377aed00) at sys_open+0x59 sys/kern/vfs_syscalls.c:1065
syscall(ffff8000377aedb0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff8000377aedb0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x532b128ae80, count: 3
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb{0}> 

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/27 17:03 openbsd eaf6a50527ed c53a1b9c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/08/26 15:54 openbsd 9c51b1274871 a2b77b9e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/08/25 06:40 openbsd c0485cf4f019 614e416a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/08/21 10:20 openbsd 073728865af4 1e72964b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/08/12 14:44 openbsd 2610791609b5 ee03bfea .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/08/09 09:41 openbsd 350de6efe927 5d63f80b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/07/24 12:16 openbsd 969775618695 dd737a83 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
* Struck through repros no longer work on HEAD.