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 523103 65899 0 0 0x4000000 0 syz-executor *316429 83309 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8344a8b8) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348d1ef,ffffffff8349d8f7,17b,ffffffff834a776c) at __assert+0x29 sys/kern/subr_prf.c:-1 bpfopen(11700,8001,2000,ffff80003c3d9778) at bpfopen+0x2bd bpfilter_lookup sys/net/bpf.c:1832 [inline] bpfopen(11700,8001,2000,ffff80003c3d9778) at bpfopen+0x2bd sys/net/bpf.c:379 spec_open_clone(ffff80003c3df078) at spec_open_clone+0x277 sys/kern/spec_vnops.c:722 spec_open(ffff80003c3df078) at spec_open+0x319 sys/kern/spec_vnops.c:148 VOP_OPEN(fffffd806f42fcb0,8001,fffffd80097fd750,ffff80003c3d9778) at VOP_OPEN+0x8b sys/kern/vfs_vops.c:138 vn_open(ffff80003c3df2c8,8001,0) at vn_open+0x7a5 sys/kern/vfs_vnops.c:183 doopenat(ffff80003c3d9778,ffffff9c,200000000000,8000,0,0,33ace8da0711e819) at doopenat+0x35b sys/kern/vfs_syscalls.c:1155 sys_open(ffff80003c3d9778,ffff80003c3df580,ffff80003c3df4d0) at sys_open+0x59 sys/kern/vfs_syscalls.c:1063 syscall(ffff80003c3df580) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3df580) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1030f7f4e0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: kernel diagnostic assertion "bpfilter_lookup(unit) == NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/net/bpf.c", line 379 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8344a8b8) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348d1ef,ffffffff8349d8f7,17b,ffffffff834a776c) at __assert+0x29 sys/kern/subr_prf.c:-1 bpfopen(11700,8001,2000,ffff80003c3d9778) at bpfopen+0x2bd bpfilter_lookup sys/net/bpf.c:1832 [inline] bpfopen(11700,8001,2000,ffff80003c3d9778) at bpfopen+0x2bd sys/net/bpf.c:379 spec_open_clone(ffff80003c3df078) at spec_open_clone+0x277 sys/kern/spec_vnops.c:722 spec_open(ffff80003c3df078) at spec_open+0x319 sys/kern/spec_vnops.c:148 VOP_OPEN(fffffd806f42fcb0,8001,fffffd80097fd750,ffff80003c3d9778) at VOP_OPEN+0x8b sys/kern/vfs_vops.c:138 vn_open(ffff80003c3df2c8,8001,0) at vn_open+0x7a5 sys/kern/vfs_vnops.c:183 doopenat(ffff80003c3d9778,ffffff9c,200000000000,8000,0,0,33ace8da0711e819) at doopenat+0x35b sys/kern/vfs_syscalls.c:1155 sys_open(ffff80003c3d9778,ffff80003c3df580,ffff80003c3df4d0) at sys_open+0x59 sys/kern/vfs_syscalls.c:1063 syscall(ffff80003c3df580) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3df580) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1030f7f4e0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c3dee50 rbx 0xffff8000299bee07 rdx 0 rcx 0xffff80003c3d9778 rax 0xffff8000299bdff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x9b1c5a563b1a0056 r11 0xe831304c9bb98dad r12 0xffff8000299bec08 r13 0 r14 0 r15 0x1 rip 0xffffffff825dcfa5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c3dee40 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=316429 pid=83309 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=77, usrpri=77, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c3d8020,0xffff80003c3d94f0 process=0xffff80003c3f79e0 user=0xffff80003c3da000, vmspace=0xfffffd800b063988 estcpu=27, cpticks=14, pctcpu=0.0, user=0, sys=14, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65899 159721 56773 0 2 0 syz-executor 65899 523103 56773 0 7 0x4000000 syz-executor 6550 250155 63242 0 2 0 syz-executor 6550 97506 63242 0 3 0x4000080 fsleep syz-executor 13818 200301 88737 0 2 0 syz-executor 13818 415269 88737 0 3 0x4000080 fsleep syz-executor 67606 500576 11451 0 2 0 syz-executor 67606 52669 11451 0 3 0x4000080 fsleep syz-executor 32101 314331 94202 0 2 0 syz-executor 32101 57460 94202 0 3 0x4000080 fsleep syz-executor 59854 436525 31422 0 2 0 syz-executor 83309 129875 90217 0 2 0 syz-executor *83309 316429 90217 0 7 0x4000000 syz-executor 83309 118114 90217 0 2 0x4000000 syz-executor 83309 266882 90217 0 3 0x4000080 fsleep syz-executor 943 329072 1 0 3 0x82 nanoslp getty 40572 503206 57553 0 3 0x82 wait syz-executor 90217 406254 57553 0 3 0x82 nanoslp syz-executor 56773 152671 57553 0 3 0x82 nanoslp syz-executor 11451 365938 57553 0 3 0x82 nanoslp syz-executor 63242 36773 57553 0 3 0x82 nanoslp syz-executor 31422 183313 57553 0 3 0x82 nanoslp syz-executor 94202 170793 57553 0 3 0x82 nanoslp syz-executor 88737 147030 57553 0 3 0x82 nanoslp syz-executor 57553 158937 1 0 3 0x82 kqread syz-executor 3396 37497 0 0 3 0x14200 bored smr 19609 182066 0 0 2 0x14200 zerothread 59649 414568 0 0 3 0x14200 aiodoned aiodoned 40873 413984 0 0 3 0x14200 syncer update 8443 318535 0 0 3 0x14200 cleaner cleaner 75065 509622 0 0 3 0x14200 reaper reaper 13750 210770 0 0 3 0x14200 pgdaemon pagedaemon 42527 501803 0 0 3 0x14200 bored viomb 64105 217394 0 0 3 0x40014200 acpi0 acpi0 74493 355739 0 0 3 0x40014200 idle1 66870 33277 0 0 3 0x14200 bored softnet1 79962 246177 0 0 3 0x14200 bored softnet0 16885 510215 0 0 3 0x14200 bored systqmp 51158 86029 0 0 3 0x14200 bored systq 61109 295184 0 0 3 0x14200 tmoslp softclockmp 73115 477250 0 0 3 0x40014200 tmoslp softclock 49716 506442 0 0 3 0x40014200 idle0 1 57250 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}>