syzbot


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

Status: upstream: reported on 2026/01/08 09:03
Reported-by: syzbot+a56d771d60f11124aac0@syzkaller.appspotmail.com
First crash: 136d, last: 31d

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
  20234  75306      0           0          0    1  syz-executor
*274014  66066      0           0  0x4000000    0K syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff83453ddf) at panic+0x1e5 sys/kern/subr_prf.c:198
__assert(ffffffff8348e037,ffffffff8349fb2a,17b,ffffffff834aa1dd) at __assert+0x29 sys/kern/subr_prf.c:-1
bpfopen(11700,8001,2000,ffff80003b7e2fb8) at bpfopen+0x2bd bpfilter_lookup sys/net/bpf.c:1832 [inline]
bpfopen(11700,8001,2000,ffff80003b7e2fb8) at bpfopen+0x2bd sys/net/bpf.c:379
spec_open_clone(ffff80003c454e98) at spec_open_clone+0x277 sys/kern/spec_vnops.c:722
spec_open(ffff80003c454e98) at spec_open+0x319 sys/kern/spec_vnops.c:148
VOP_OPEN(fffffd805e8df370,8001,fffffd80097fd4e0,ffff80003b7e2fb8) at VOP_OPEN+0x8b sys/kern/vfs_vops.c:138
vn_open(ffff80003c4550e8,8001,0) at vn_open+0x7a5 sys/kern/vfs_vnops.c:183
doopenat(ffff80003b7e2fb8,ffffff9c,200000000000,8000,0,0,43348209bb7d564) at doopenat+0x35b sys/kern/vfs_syscalls.c:1155
sys_open(ffff80003b7e2fb8,ffff80003c4553a0,ffff80003c4552f0) at sys_open+0x59 sys/kern/vfs_syscalls.c:1063
syscall(ffff80003c4553a0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c4553a0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xfdf111a6570, 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}> 
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: kernel diagnostic assertion "bpfilter_lookup(unit) == NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/net/bpf.c", line 379
ddb{0}> 

Crashes (37):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/23 15:37 openbsd 7a2e62a4900c 4c3406dc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/22 05:29 openbsd 9a8e8d261fbe 0b6ab7ec .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/19 07:45 openbsd a6d33878ee16 1a086e7c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/18 20:11 openbsd a9044055e1bf 1a086e7c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/17 22:50 openbsd b932b7b57eb9 1a086e7c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/17 21:42 openbsd b932b7b57eb9 1a086e7c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/17 21:24 openbsd b932b7b57eb9 1a086e7c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/17 11:47 openbsd 2dd8b2a80c95 1a086e7c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/16 17:12 openbsd 203548908adb 1a086e7c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/14 09:01 openbsd bb890fd2477a 1a086e7c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/13 15:06 openbsd ef90b149a753 9530ccf9 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/13 04:37 openbsd 4ec71eeccea4 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/12 01:32 openbsd de62a587e27d 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/10 22:44 openbsd 411a0c209e89 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/10 22:31 openbsd 411a0c209e89 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/10 10:48 openbsd 7bdd0d20c161 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/10 04:18 openbsd 7bdd0d20c161 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/07 23:27 openbsd 7ed665c6a362 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/03 06:03 openbsd de6be2070bf6 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/03 00:40 openbsd 38cd3ff5d287 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/02 14:26 openbsd 8eafb9a57fa3 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/01 20:32 openbsd ffc378411de4 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/04/01 20:25 openbsd ffc378411de4 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/29 00:39 openbsd b39c1312a589 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/28 19:30 openbsd b39c1312a589 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/28 07:13 openbsd 9d790fdba930 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/28 07:11 openbsd 9d790fdba930 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/27 05:15 openbsd 2f434a4256f3 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/26 09:19 openbsd 84b7e477fd25 c6143aac .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/26 05:00 openbsd 84b7e477fd25 c6143aac .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/26 02:17 openbsd 84b7e477fd25 c6143aac .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/25 19:50 openbsd ee1bf64f5bae 4367a094 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/25 18:08 openbsd ee1bf64f5bae 4367a094 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/25 09:12 openbsd 87dc1fa97379 35e4ff71 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/25 03:51 openbsd 87dc1fa97379 35e4ff71 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/03/25 00:26 openbsd 87dc1fa97379 35e4ff71 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "bpfilter_lookup(unit) == NULL" failed in bpf.c
2026/01/08 09:03 openbsd d77c41cf8f5a c1f5c7d0 .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.