login: 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 471243 70620 0 0 0 1 syz-executor *270020 98800 0 0 0x4000000 0K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8344df15) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348d70f,ffffffff8349aa24,17b,ffffffff834a4b02) at __assert+0x29 sys/kern/subr_prf.c:-1 bpfopen(11700,10001,2000,ffff80002a2434d0) at bpfopen+0x2bd bpfilter_lookup sys/net/bpf.c:1832 [inline] bpfopen(11700,10001,2000,ffff80002a2434d0) at bpfopen+0x2bd sys/net/bpf.c:379 spec_open_clone(ffff800039fbca88) at spec_open_clone+0x277 sys/kern/spec_vnops.c:722 spec_open(ffff800039fbca88) at spec_open+0x319 sys/kern/spec_vnops.c:148 VOP_OPEN(fffffd80679db538,10001,fffffd80097fd750,ffff80002a2434d0) at VOP_OPEN+0x8b sys/kern/vfs_vops.c:138 vn_open(ffff800039fbccd8,10001,0) at vn_open+0x7a5 sys/kern/vfs_vnops.c:183 doopenat(ffff80002a2434d0,ffffff9c,200000000400,10000,0,0,3ae5b74c8cbc42f0) at doopenat+0x35b sys/kern/vfs_syscalls.c:1155 sys_open(ffff80002a2434d0,ffff800039fbcf90,ffff800039fbcee0) at sys_open+0x59 sys/kern/vfs_syscalls.c:1063 syscall(ffff800039fbcf90) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039fbcf90) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1529dcf0e60, 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}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8344df15) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8348d70f,ffffffff8349aa24,17b,ffffffff834a4b02) at __assert+0x29 sys/kern/subr_prf.c:-1 bpfopen(11700,10001,2000,ffff80002a2434d0) at bpfopen+0x2bd bpfilter_lookup sys/net/bpf.c:1832 [inline] bpfopen(11700,10001,2000,ffff80002a2434d0) at bpfopen+0x2bd sys/net/bpf.c:379 spec_open_clone(ffff800039fbca88) at spec_open_clone+0x277 sys/kern/spec_vnops.c:722 spec_open(ffff800039fbca88) at spec_open+0x319 sys/kern/spec_vnops.c:148 VOP_OPEN(fffffd80679db538,10001,fffffd80097fd750,ffff80002a2434d0) at VOP_OPEN+0x8b sys/kern/vfs_vops.c:138 vn_open(ffff800039fbccd8,10001,0) at vn_open+0x7a5 sys/kern/vfs_vnops.c:183 doopenat(ffff80002a2434d0,ffffff9c,200000000400,10000,0,0,3ae5b74c8cbc42f0) at doopenat+0x35b sys/kern/vfs_syscalls.c:1155 sys_open(ffff80002a2434d0,ffff800039fbcf90,ffff800039fbcee0) at sys_open+0x59 sys/kern/vfs_syscalls.c:1063 syscall(ffff800039fbcf90) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800039fbcf90) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1529dcf0e60, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800039fbc860 rbx 0xffffffff838c1e07 cpu_info_full_primary+0x2e07 rdx 0xffff8000015cedc0 rcx 0xffff80002a2434d0 rax 0xffffffff838c0ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x8d5898c04260c88f r11 0x98e795267e019133 r12 0xffffffff838c1c08 cpu_info_full_primary+0x2c08 r13 0 r14 0 r15 0x1 rip 0xffffffff81a3d585 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff800039fbc850 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=270020 pid=98800 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003bfd8020,0xffff80002a243248 process=0xffff80003bff5830 user=0xffff800039fb8000, vmspace=0xfffffd806c5167c0 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 3053 489415 37303 0 2 0 syz-executor 70620 471243 12400 0 7 0 syz-executor 70620 219375 12400 0 3 0x4000080 fsleep syz-executor 70620 391454 12400 0 3 0x4000080 fsleep syz-executor 98800 183038 86611 0 2 0 syz-executor *98800 270020 86611 0 7 0x4000000 syz-executor 23070 302750 78738 0 2 0x82000 syz-executor 23070 242264 78738 0 3 0x4002000 suspend syz-executor 23070 395726 78738 0 4 0x4082000 syz-executor 23070 203990 78738 0 4 0x4082000 syz-executor 29350 18681 1 0 3 0x100083 ttyin getty 12400 303465 77361 0 2 0xc82 syz-executor 88053 332203 77361 0 2 0x2 syz-executor 78738 402471 77361 0 2 0xc82 syz-executor 37303 419631 77361 0 2 0xc82 syz-executor 41614 186934 77361 0 2 0xc82 syz-executor 74260 240990 77361 0 2 0x2 syz-executor 86611 342495 77361 0 2 0xc82 syz-executor 29624 291429 77361 0 2 0x2 syz-executor 77361 419414 1 0 3 0x82 kqread syz-executor 6137 306644 0 0 3 0x14200 bored smr 46816 221454 0 0 2 0x14200 zerothread 370 513017 0 0 3 0x14200 aiodoned aiodoned 13812 44089 0 0 3 0x14200 syncer update 35810 144322 0 0 3 0x14200 cleaner cleaner 68491 381853 0 0 3 0x14200 reaper reaper 87272 169427 0 0 3 0x14200 pgdaemon pagedaemon 76831 331095 0 0 3 0x14200 bored viomb 9078 169908 0 0 3 0x40014200 acpi0 acpi0 22068 365133 0 0 3 0x40014200 idle1 20269 182658 0 0 3 0x14200 bored softnet1 36012 184289 0 0 2 0x14200 softnet0 78092 281155 0 0 3 0x14200 bored systqmp 26491 134942 0 0 3 0x14200 bored systq 64003 38910 0 0 2 0x14200 softclockmp 13359 394985 0 0 3 0x40014200 tmoslp softclock 87246 116453 0 0 3 0x40014200 idle0 1 147797 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}>