syzbot
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
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}>
* Struck through repros no longer work on HEAD.